add international prefix to gateway caller ID
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
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@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (2)
-
Avi Marcus
-
Sherif Omran