[Freeswitch-dev] originate creates a channel that can not be killed

Scott Shen sshen at oa.com.au
Tue May 5 18:52:40 PDT 2009

Tried the latest check out from svn, the "un-killable" channel is not appear after step 2 this time. However, the retries is not working as expected,

For settings like {originate_timeout=6,originate_retries=3,originate_retry_sleep_ms=5000}, I would expect FS to ring the first party 3 times, each time ring for about 6 seconds and then sleep for 5 seconds, is that correct?

However, the first party was ringed 9 times, each with 6 seconds ringing and 5 seconds gap. In the console log, every 3 attempts, there's a

"switch_ivr_originate.c:1495 switch_ivr_originate() Cannot create outgoing channel of type [user] cause: [NO_ANSWER]"

Is there anything wrong with the retry counter? Or is there any conflict on the parameters I set?

Thanks & Regards

-----Original Message-----
From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Anthony Minessale
Sent: Monday, 4 May 2009 11:12 PM
To: freeswitch-dev at lists.freeswitch.org
Subject: Re: [Freeswitch-dev] originate creates a channel that can not be killed

Please do not report bugs on the mailing list.  It is impossible to manage them from here.

The proper place to submit bug reports is


On Sun, May 3, 2009 at 11:00 PM, Scott Shen <sshen at oa.com.au<mailto:sshen at oa.com.au>> wrote:

I am using FS r13096, found following problem

1.      originate {originate_timeout=6,originate_retries=3,originate_retry_sleep_ms=60000}user/1002 &bridge(user/1007)
2.      when 1002 side ringing, quickly pickup and hangup
3.      show channels gives something like

31b614d0-999d-406e-bdba-b18ead0d26d8,outbound,2009-05-04 13:42:56,1241408576,sofia/internal/sip:1002 at;line=xStcbdok,CS_EXECUTE,FreeSWITCH,0000000000,,sip:1002 at;line=xStcbdok,bridge,user/1007,,default,PCMA,8000,PCMA,8000
4.      when use uuid_kill of above uuid, FS reports "No Such Channel"
5.      then at 60000ms interval, FS will give messages like 'Originate attempt x/3 in 60000ms'
6.      when x reaches 1, the channel will be cleaned.

On step 3 and 4, if there's "No Such Channel", isn't that the channel should not be displayed?

On step 5, although the "originate" is attempted ( which shouldn't, because the call is already hangup on step 2 ), but neither caller nor the callee is ringed.

Also, is there a way to cancel "originate" ? eg send a cancel after invite.



Freeswitch-dev mailing list
Freeswitch-dev at lists.freeswitch.org<mailto:Freeswitch-dev at lists.freeswitch.org>

Anthony Minessale II

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

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

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org<mailto:sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888<http://iax:guest@conference.freeswitch.org/888>
googletalk:conf+888 at conference.freeswitch.org<mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090506/ee37bff0/attachment.html 

More information about the Freeswitch-dev mailing list