[Freeswitch-users] add international prefix to gateway caller ID

Avi Marcus avi at avimarcus.net
Tue May 29 16:55:02 MSD 2012


Best I can think of:
mod_lcr has a regex you can apply to the different gateways. You need to
set it per row, however, rather than per provider.

-Avi


On Tue, May 29, 2012 at 2:45 PM, Sherif Omran <sherifomran2000 at yahoo.com>wrote:

> Hello guys,
>
> I have a german gateway among other gateways going to the same dialling
> plan and it does not send the interational caller ID prefix so I want to
> add 0049 and strip the first 0 in the caller ID sent.
>
> But Is it possible to add a condition inside the gateway setting as
> follows (action applicaiton set ... etc)?
>
>         <gateway name="trunk_1000">
>         <param name="realm" value="bluesip.net"/>
>         <param name="username" value="xxxxxxxx"/>
>         <param name="password" value="xxxxxxxx"/>
>         <param name="register" value="true"/>
>             <action application="set"
> data="effective_caller_id_number=0${caller_id_number}"/>
>         <param name="extension" value="kgvm-1002"/>
>       </gateway
>
> I don't want to add it to the dialing plan in order not to affect the
> caller id from other gateways.
> Thank you
>
> Sherif
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> Join Us At ClueCon - Aug 7-9, 2012
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120529/c40245e2/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list