Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] call fails when using leg_timeout


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
technical at ttnc.co.uk
Guest





PostPosted: Mon Jul 20, 2009 6:28 am    Post subject: [Freeswitch-users] call fails when using leg_timeout Reply with quote

Hi,

I seem to have come across a strange problem; Basically I'm trying to
dial 3 destinations one after another, until the destination dialled is
answered, and I only want the destination to ring for 20 seconds.

If I do this from the console what I'm trying to achieve works fine;

originate
{leg_timeout=20,ignore_early_media=true}sofia/internal/123@1.2.3.4|sofia/internal/456@1.2.3.4|sofia/internal/789@1.2.3.4
&park()

But if I do it from dialplan it doesn't; Doing this below dials the
first destination for 20 seconds, then the second destination for 5
seconds or so, then the call terminates with ORIGINATOR_CANCEL

<action application="bridge"
data="{leg_timeout=20,ignore_early_media=true}sofia/internal/123@1.2.3.4|sofia/internal/456@1.2.3.4|sofia/internal/789@1.2.3.4"
/>

Any ideas what might be causing this and any solutions would be appreciated.


Many thanks

Adnan

_______________________________________________
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
Back to top
anthony.minessale at g...
Guest





PostPosted: Mon Jul 20, 2009 10:11 am    Post subject: [Freeswitch-users] call fails when using leg_timeout Reply with quote

in a bridge situation you also have to set originate_timeout to the total time you are willing to wait for the combined leg timeouts

i.e. 60 for 20x20x20


On Mon, Jul 20, 2009 at 6:22 AM, TTNC - Adnan Barakat <technical@ttnc.co.uk (technical@ttnc.co.uk)> wrote:
Quote:
Hi,

I seem to have come across a strange problem; Basically I'm trying to
dial 3 destinations one after another, until the destination dialled is
answered, and I only want the destination to ring for 20 seconds.

If I do this from the console what I'm trying to achieve works fine;

originate
{leg_timeout=20,ignore_early_media=true}sofia/internal/123@1.2.3.4 (123@1.2.3.4)|sofia/internal/456@1.2.3.4 (456@1.2.3.4)|sofia/internal/789@1.2.3.4 (789@1.2.3.4)
&park()

But if I do it from dialplan it doesn't; Doing this below dials the
first destination for 20 seconds, then the second destination for 5
seconds or so, then the call terminates with ORIGINATOR_CANCEL

<action application="bridge"
data="{leg_timeout=20,ignore_early_media=true}sofia/internal/123@1.2.3.4 (123@1.2.3.4)|sofia/internal/456@1.2.3.4 (456@1.2.3.4)|sofia/internal/789@1.2.3.4 (789@1.2.3.4)"
/>

Any ideas what might be causing this and any solutions would be appreciated.


Many thanks

Adnan

_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (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



--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
Back to top
technical at ttnc.co.uk
Guest





PostPosted: Mon Jul 20, 2009 11:59 am    Post subject: [Freeswitch-users] call fails when using leg_timeout Reply with quote

Anthony Minessale wrote:
Quote:
in a bridge situation you also have to set originate_timeout to the
total time you are willing to wait for the combined leg timeouts

i.e. 60 for 20x20x20
I added originate_timeout=60 but now only the first destination rings
for 30 seconds, then the call is still terminated with ORIGINATOR_CANCEL

Any other ideas?

Thanks

Adnan

_______________________________________________
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
Back to top
msc at freeswitch.org
Guest





PostPosted: Mon Jul 20, 2009 5:29 pm    Post subject: [Freeswitch-users] call fails when using leg_timeout Reply with quote

On Mon, Jul 20, 2009 at 9:48 AM, TTNC - Adnan Barakat <technical@ttnc.co.uk (technical@ttnc.co.uk)> wrote:
Quote:
Anthony Minessale wrote:
Quote:
in a bridge situation you also have to set originate_timeout to the
total time you are willing to wait for the combined leg timeouts

i.e. 60 for 20x20x20

I added originate_timeout=60 but now only the first destination rings
for 30 seconds, then the call is still terminated with ORIGINATOR_CANCEL

Any other ideas?






I just did a test with this syntax and it worked for me. Please try it and report back.

<action application="bridge"
data="{ignore_early_media=true}[leg_timeout=20]sofia/internal/123@1.2.3.4 (123@1.2.3.4)|[leg_timeout=20]sofia/internal/456@1.2.3.4 (456@1.2.3.4)|[leg_timeout=20]sofia/internal/789@1.2.3.4 (789@1.2.3.4)"/>

-MC
Back to top
technical at ttnc.co.uk
Guest





PostPosted: Tue Jul 21, 2009 12:01 am    Post subject: [Freeswitch-users] call fails when using leg_timeout Reply with quote

Michael Collins wrote:
Quote:
I just did a test with this syntax and it worked for me. Please try it
and report back.

<action application="bridge"
data="{ignore_early_media=true}[leg_timeout=20]sofia/internal/123@1.2.3.4
<mailto:123@1.2.3.4>|[leg_timeout=20]sofia/internal/456@1.2.3.4
<mailto:456@1.2.3.4>|[leg_timeout=20]sofia/internal/789@1.2.3.4
<mailto:789@1.2.3.4>"/>
Thanks Michael, just tried that, but unfortunately still doesn't work.
It seems that there is a hard limit somewhere of 30 sec, I've just tried
different timeout values, and it's terminating everytime at 30 sec.

Any other ideas?


Thanks

Adnan

_______________________________________________
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
Back to top
mrene_lists at avgs.ca
Guest





PostPosted: Tue Jul 21, 2009 12:02 am    Post subject: [Freeswitch-users] call fails when using leg_timeout Reply with quote

It is possible that your inbound carrier applies some timeout rules.
Try the following before your bridge:

<action application="ring_ready" />


Mathieu Rene
Avant-Garde Solutions Inc
Office: + 1 (514) 664-1044 x100
Cell: +1 (514) 664-1044 x200
mrene@avgs.ca




Am 21-Jul-09 um 12:55 AM schrieb TTNC - Adnan Barakat:

Quote:
Michael Collins wrote:
Quote:
I just did a test with this syntax and it worked for me. Please try
it
and report back.

<action application="bridge"
data="{ignore_early_media=true}[leg_timeout=20]sofia/internal/123@1.2.3.4
<mailto:123@1.2.3.4>|[leg_timeout=20]sofia/internal/456@1.2.3.4
<mailto:456@1.2.3.4>|[leg_timeout=20]sofia/internal/789@1.2.3.4
<mailto:789@1.2.3.4>"/>
Thanks Michael, just tried that, but unfortunately still doesn't work.
It seems that there is a hard limit somewhere of 30 sec, I've just
tried
different timeout values, and it's terminating everytime at 30 sec.

Any other ideas?


Thanks

Adnan

_______________________________________________
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


_______________________________________________
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
Back to top
technical at ttnc.co.uk
Guest





PostPosted: Tue Jul 21, 2009 1:12 am    Post subject: [Freeswitch-users] call fails when using leg_timeout Reply with quote

Mathieu Rene wrote:
Quote:
It is possible that your inbound carrier applies some timeout rules.
Try the following before your bridge:

<action application="ring_ready" />
Not that I know of, I just tried with ring_ready, and it still doesn't work.


Thanks,

Adnan

_______________________________________________
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
Back to top
technical at ttnc.co.uk
Guest





PostPosted: Tue Jul 21, 2009 1:31 am    Post subject: [Freeswitch-users] call fails when using leg_timeout Reply with quote

TTNC - Adnan Barakat wrote:
Quote:
Mathieu Rene wrote:
Quote:
It is possible that your inbound carrier applies some timeout rules.
Try the following before your bridge:

<action application="ring_ready" />
Not that I know of, I just tried with ring_ready, and it still doesn't work.
Sorry guys, turns out it's a timeout on the VoIP phone I'm using.

Thanks

Adnan

_______________________________________________
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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services