Is there a way to specify a default caller id for all outgoing connections that go through a particular gateway, so I wouldn't have to specify it in originate options?You could try setting effective_caller_id_number through the gateway's outbound variables. http://wiki.freeswitch.org/wiki/Sofia_Configuration_Files#Variables-SteveOn 12 July 2013 15:06, Rafal Gwizdala <rafal.gwizdala@gmail.com> wrote:
_________________________________________________________________________Hi,Thanks for great support so far.I have another two questions to you:1. I'm originating a call to a mobile phone where the second leg is a httapi-based IVR service.My originate command looks like this:originate {origination_caller_id_number=2234567890}sofia/gateway/ipfon/606999888 6668
The '6668' extension is an httapi script that plays an audio file and collects some digits.The problem is that my httapi ivr starts the playback even before the mobile phone is answerred.As a result, the called person doesn't hear the beginning of the recording.Can I somehow make my httapi script wait for the mobile to be answerred?2. If origination_caller_id_number is not specified in the originate call FreeSWITCH will sendIs there a way to specify a default caller id for all outgoing connections that go through a particular gateway, so I wouldn't have to specify it in originate options?ThanksRG
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
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
_________________________________________________________________________
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
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