[Freeswitch-users] originate in api_hangup_hook
cristian re
cristian.re.work at gmail.com
Mon Aug 13 15:11:59 MSD 2012
Yes, it works.
Thanks
2012/8/13 Godson Gera <godson.g at gmail.com>
> You can use sched_api to do that. There is an example here.
>
> http://wiki.freeswitch.org/wiki/Mod_commands#sched_api
>
> On Mon, Aug 13, 2012 at 2:35 PM, cristian re <cristian.re.work at gmail.com>wrote:
>
>> Hi,
>> I have a question about originate in api_hangup_hook.
>> I'm looking for call back the calling number after hang up, I made a test
>> in dialplan but if I make a call with a mobile phone the originate is so
>> fast that often goes to voicemail.
>> Is there a way to call back after some seconds?
>>
>> My dialplan for this test is:
>>
>> <context name="cb_test">
>> <extension name="cb_test">
>> <condition>
>> <action application="pre_answer"/>
>> <action application="set" data="api_hangup_hook=originate
>> sofia/external/${caller_id_number}@x.x.x.x CB000000"/>
>> <action application="sleep" data="5000"/>
>> <action application="hangup"/>
>> </condition>
>> </extension>
>> </context>
>>
>>
>> _________________________________________________________________________
>> 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
>>
>>
>
>
> --
> Thanks & Regards,
> Godson Gera
> SIP Consultant <http://godson.in>
>
> _________________________________________________________________________
> 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/20120813/5f3175f7/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list