<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2668" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Actually I have&nbsp;SER 0.8.14 up and running on 
Linux Redhat 9.0 and I´m trying to do something about&nbsp;digits 
manipulation.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I have registered on it diferent users from 
diferent regions of the country and I need to process local calls thru 
PSTN&nbsp;just with 7 digits even though all the users are registered with 10 
digits (3 for Area Code + 7 for phone number)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>For example,&nbsp;User from Region&nbsp;#1, that 
has 241 as area code, wants to make a call&nbsp;thru PSTN to a user with the 
same area code but only dialing 7 digits.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Here my question:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Can&nbsp;SER take the first 3 digits (Area 
Code)&nbsp;from the ANI (Ser user) and add them to the destination number (DNIS) 
before send to PSTN Gw ?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Example:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Ser user: <A 
href="mailto:2417790000@ser.net-uno.net">2417790000@ser.net-uno.net</A></FONT></DIV>
<DIV><FONT face=Arial size=2>Local number dialed by SER User: 
9850000</FONT></DIV>
<DIV><FONT face=Arial size=2>Number to send to PSTN: 2419850000</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I have no idea how I can do something like 
that</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Best Regards,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Daniel Mizrachi</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp;&nbsp;</FONT></DIV></BODY></HTML>