[Serusers] Adding area codes to dialed number

Weiter Leiter bp4mls at googlemail.com
Mon Aug 14 23:07:47 CEST 2006


Yes, it is possible.
If geographical user distribution is mapped to domains, using domain
attributes.
Otherwise, you would have to store this information (country code, area
code) per user, as user attributes. When the user originates a call, check
if using local number format and load his attributes and fix the uri
otherwise.


On 8/14/06, Rosa De Santis <rosadesantis at hotmail.com> wrote:
>
> Hello all.
>
> Please, I'd like to know if there is a way in SER to add the appropriates
> area codes (country and city) to a PSTN dialed number, based in the location
> of the calling user, using avpops and/or databases values, so that the user
> can dial local numbers without adding country and city codes.
>
> For example, the user has location prefixes for his country=11 and
> city=222, when he dials the PSTN number 123456 that is local based in his
> location, then the SER action adds 11 + 222 to this dialed number, to dial
> the complete number 11222123456 ?
>
> Is this possible? How can be done?
> Please, any hint is appreciated...
>
> Thanks
> _________________________________________________________________
> Descubre Live.com - tu mundo en línea reunido: noticias, deportes, el
> tiempo, y mucho más.
>
> http://www.live.com/getstarted_______________________________________________
> Serusers mailing list
> Serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20060814/1fc49d2c/attachment-0001.htm>


More information about the sr-users mailing list