[Home]

Summary:ASTERISK-09765: asyncgoto_exec: ChannelRedirect failed for SIP/keshav
Reporter:Keshav (keshav)Labels:
Date Opened:2007-06-27 10:56:34Date Closed:2011-06-07 14:02:37
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Applications/app_channelredirect
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:The issue is that I'm using the n-way confrencing.
I'm using the Centos with the latest kernel--
[root@Test ~]# uname -a
Linux Test 2.6.9-55.ELsmp #1 SMP Wed May 2 14:28:44 EDT 2007 i686 i686 i386 GNU/Linux

I'm able to connect to my first line, then when I'm pressing *0 from , staring the second call, i m getting dial tone which is fine,and i m dialing the second number, but the thing is my first line is getting drop immediately, and my second line is connecting. So, i m unable to make the 3-way call.

sip logs are as follow:---

   -- Executing [5012127773456@default:1] Set("SIP/1001-09458580", "DYNAMIC_FEATURES=nway-start") in new stack
   -- Executing [5012127773456@default:2] Dial("SIP/1001-09458580", "SIP/0012127773456@keshav") in new stack
   -- Called 0012127773456@keshav
   -- SIP/vsnl-0945c4e8 answered SIP/1001-09458580
   -- Packet2Packet bridging SIP/1001-09458580 and SIP/keshav-0945c4e8
   --  Feature Found: nway-start exten: nway-start
   -- Executing [s@macro-nway-start:1] Set("SIP/1001-09458580", "CONFNO=210511") in new stack
   -- Executing [s@macro-nway-start:2] ChannelRedirect("SIP/1001-09458580", "SIP/vsnl-0945c4e8|dynamic-nway|210511|1") in new stack
[Jun 27 21:05:11] WARNING[4671]: app_channelredirect.c:112 asyncgoto_exec: ChannelRedirect failed for SIP/keshav-0945c4e8
 == Spawn extension (macro-nway-start, s, 2) exited non-zero on 'SIP/1001-09458580' in macro 'nway-start'
   -- Executing [s@macro-nway-start:3] Read("SIP/1001-09458580", "DEST|dial||i") in new stack
   -- User entered '1002'
   -- Executing [s@macro-nway-start:4] Set("SIP/1001-09458580", "DYNAMIC_FEATURES=nway-inv#nway-noinv") in new stack
   -- Executing [s@macro-nway-start:5] Dial("SIP/1001-09458580", "SIP/1002@dynamic-nway-dest||g") in new stack
   -- Called 1002@dynamic-nway-dest
   


here my first call wa to 2127773456 and after that i tried to call 1002. My extension is 1001.

****** ADDITIONAL INFORMATION ******

My Entries for extension.conf are as follow:

[default]
exten => _50.,1,Set(DYNAMIC_FEATURES=nway-start)
exten => _50.,n,Dial(SIP/00${EXTEN:2}@vsnl)


[dynamic-nway]
exten => _50.,1,Answer
exten => _50.,n,Set(CONFNO=${EXTEN})
exten => _50.,n,Set(MEETME_EXIT_CONTEXT=dynamic-nway-invite)
exten => _50.,n,Set(DYNAMIC_FEATURES=)
exten => _50.,n,MeetMe(${CONFNO},pdMX)
exten => _50.,n,Hangup


[dynamic-nway-invite]
exten => 0,1,Read(DEST,dial,,i)
exten => 0,n,Set(DYNAMIC_FEATURES=nway-inv#nway-noinv)
exten => 0,n,Dial(SIP/${DEST}@dynamic-nway-dest,,g)
exten => 0,n,Set(DYNAMIC_FEATURES=)
exten => 0,n,Goto(dynamic-nway,${CONFNO},1)
exten => i,1,Goto(dynamic-nway,${CONFNO},1)

[dynamic-nway-dest]
exten => _50.,1,Dial(SIP/00${EXTEN:2}@keshav)
exten => _1.,1,Dial(SIP/${EXTEN})

[macro-nway-start]
exten => s,1,Set(CONFNO=${STRFTIME(${EPOCH},GMT-5.5,%H%M%S)})
exten => s,n,ChannelRedirect(${BRIDGEPEER},dynamic-nway,${CONFNO},1)
exten => s,n,Read(DEST,dial,,i)
exten => s,n,Set(DYNAMIC_FEATURES=nway-inv#nway-noinv)
exten => s,n,Dial(SIP/${DEST}@dynamic-nway-dest,,g)
exten => s,n,Set(DYNAMIC_FEATURES=)
exten => s,n,Goto(dynamic-nway,${CONFNO},1)



[macro-nway-ok]
exten => s,1,ChannelRedirect(${BRIDGEPEER},dynamic-nway,${CONFNO},1)


[macro-nway-notok]
exten => s,1,SoftHangup(${BRIDGEPEER})
Comments:By: Tilghman Lesher (tilghman) 2007-06-27 16:54:34

That error simply means that "dynamic-nway|210511|1" does not exist, which it does not; your dialplan shown says that all extensions in context dynamic-nway MUST start with 50, which "210511" does not.

I don't see a bug here.

By: Keshav (keshav) 2007-06-28 10:55:49

Thanks buddy i made entry in extension.conf then this issue got solve....
[macro-nway-start]
exten => s,1,Set(CONFNO=${STRFTIME(${EPOCH},GMT-5.5,50%H%M%S)})
exten => s,n,ManagerRedirect(${BRIDGEPEER},dynamic-nway,${CONFNO},1)
exten => s,n,Read(DEST,dial,,i)
exten => s,n,Set(DYNAMIC_FEATURES=nway-inv#nway-noinv)
exten => s,n,Dial(SIP/${DEST}@dynamic-nway-dest,,g)
exten => s,n,Set(DYNAMIC_FEATURES=)
exten => s,n,Goto(dynamic-nway,${CONFNO},1)


But the thing is now my last call is not getting disconnect , but while pressing    ** i m not able to coming back with the old conference, while i've been made entries in feature.conf according to that...

[applicationmap]
nway-start => *0,caller,Macro,nway-start
nway-inv => **,caller,Macro,nway-ok
nway-noinv => *#,caller,Macro,nway-notok

By: Jason Parker (jparker) 2007-06-28 10:59:59

This is a configuration issue.  Closing.

Please ask your configuration questions on the asterisk-users mailing list.