[Freeswitch-users] add international prefix to gateway caller ID
Sherif Omran
sherifomran2000 at yahoo.com
Tue May 29 15:45:13 MSD 2012
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
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list