[Freeswitch-users] Strange behaviour with leg_timeout
Anthony Minessale
anthony.minessale at gmail.com
Fri Feb 4 01:02:07 MSK 2011
We do not have anything to timeout at a 100 the only thing we can do
is 180 or 183 using [leg_progress_timeout=X] in front of each leg.
On Thu, Feb 3, 2011 at 3:54 PM, David Ponzone <david.ponzone at ipeva.fr> wrote:
> It's my time to mess with XXX_timeout variables in FreeSWITCH.
> What I need to do is to route a call to a gateway, and if I don't have an
> answer (like not even the 100) within X seconds, I try to route the call to
> a backup number.
> I tried it this way:
> <extension name="gw_then_backup">
> <condition field="destination_number" expression="^(XXXXXXXXXX)$">
> <action application="bridge"
> data="{leg_timeout=5}sofia/external/$1 at a.b.c.d|sofia/gateway/provider.out/YYYYYYYYYY"/>
> </condition>
> </extension>
> My understanding was that a.b.c.d would be tried for 5 seconds, and if no
> 100 is received, gateway provider.out would then be used.
> It works...but after the first INVITE to provider.out (which sends back
> 100/180/183), I can see some more INVITEs sent to a.b.c.d.
> I am wondering if I am doing something wrong, or if there is an issue.
> I use latest git from 5 minutes ago.
> Thanks
> David Ponzone Direction Technique
> email: david.ponzone at ipeva.fr
> tel: 01 74 03 18 97
> gsm: 06 66 98 76 34
> Service Client IPeva
> tel: 0811 46 26 26
> www.ipeva.fr - www.ipeva-studio.com
> Ce message et toutes les pièces jointes sont confidentiels et établis à
> l'intention exclusive de ses destinataires. Toute utilisation ou diffusion
> non autorisée est interdite. Tout message électronique est susceptible
> d'altération. IPeva décline toute responsabilité au titre de ce message s'il
> a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce
> message, merci de le détruire immédiatement et d'avertir l'expéditeur.
>
>
>
>
> _______________________________________________
> 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/
Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm
MSN:anthony_minessale at hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
googletalk:conf+888 at conference.freeswitch.org
pstn:+19193869900
More information about the FreeSWITCH-users
mailing list