[Freeswitch-users] How to set timeout in bgapi originate

Anthony Minessale anthony.minessale at gmail.com
Tue Apr 15 11:45:40 PDT 2008


I added to trunk a new variable you can set originate_timeout=60
if you update you get can do this:
bgapi originate
{ignore_early_media=true,originate_timeout=60}sofia/gateway/asterisk/number
&playback(message)

btw, what page did you get that example from on the wiki because the syntax
is wrong.

bgapi originate {ignore_early_media}sofia/gateway/asterisk/number
&playback(message)

should be

bgapi originate {ignore_early_media=true}sofia/gateway/asterisk/number
&playback(message)

On Tue, Apr 15, 2008 at 1:18 PM, Leonardo Alves <leoalves at teltec.com.br>
wrote:

>  How can I set the timeout in this command
>
> bgapi originate {ignore_early_media}sofia/gateway/asterisk/number
> &playback(message)
>
> My asterisk is calling but after 2 rings the freeswitch ends the call. I
> have tried in a lot of ways to set the timeout in the final of the command
> but I could not get it to work.
> If someone can help
>
>
> Thks
> Leonardo
>
> _______________________________________________
> 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
>
>


-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080415/1862f16a/attachment-0002.html 


More information about the FreeSWITCH-users mailing list