How about set the caller id in vars.xml: <X-PRE-PROCESS cmd="set" data="outbound_caller_id=0000000000"/> Set it to the most common value and then you only have to do something in bridges and originates that need a CID different from what you set in vars.xml... -MC On Sat, Mar 19, 2011 at 4:27 AM, Dmitry Bely <dmitry.bely@gmail.com> wrote:
My VoIP provider requires a specific caller ID set for an outbound call otherwise the call is rejected. Currently I set it just before bridge
<action application="set" data="effective_caller_id_name=..."/> <action application="bridge" data="..."/>
But it's tedious as there is a number of bridge commands in the dialplan and I still have to explicitly specify the caller id for "originate" command in the FreeSWITCH console. Is it possible to force an outbound caller id on a gateway basis?
- Dmitry Bely
_______________________________________________ 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