Bridge failed for two arbitrary channel
Goto page 1, 2 Next |
| Author |
Message |
julie
Joined: Apr 10, 2009
Posts: 13
Location: London
Status: Offline
|
| Posted:
Apr 10, 2009 - 02:51 PM |
|
|
hi,
when iam going to bridge two arbitrary channel got the following erro
[Apr 3 23:58:13] WARNING[30029]: features.c:3908 bridge_exec: Bridge failed because channel AsyncGoto/SIP/103-09949040<ZOMBIE> does not exists or we cannot get its lock
-- Auto fallthrough, channel 'SIP/101-09940b30' status is 'UNKNOWN'
-- Executing [h@XPhone_Unhold:1] SetMusicOnHold("SIP/101-09940b30", "none") in new stack
-- Executing [h@XPhone_Unhold:2] Bridge("SIP/101-09940b30", "AsyncGoto/SIP/103-09949040<ZOMBIE>,p") in new stack
[Apr 3 23:58:13] WARNING[30029]: features.c:3908 bridge_exec: Bridge failed because channel AsyncGoto/SIP/103-09949040<ZOMBIE> does not exists or we cannot get its lock
thnx in advance |
|
|
|
 |
ianplain
Site Admin
Joined: Jul 05, 2004
Posts: 3347
Location: Bath UK
Status: Offline
|
| Posted:
Apr 10, 2009 - 03:00 PM |
|
|
Hi
Could you post the dialplan for this call , and explain what you are doing as it looks likes the calls are failing and going to autofall through
Ian |
|
|
|
 |
julie
Joined: Apr 10, 2009
Posts: 13
Location: London
Status: Offline
|
| Posted:
Apr 10, 2009 - 03:11 PM |
|
|
Hi Ian,
i am trying to hold and unhold through dial plan in first context i set channel variable "MyCallBridge" which is bridgechannel hold is working perfectly but when i try to unhold,some times channel drop. following are the dialplan
[XPhone_Hold]
exten = _.,1,Set(MyCallBridge=${BRIDGEPEER})
exten = _.,n,MusicOnHold()
[XPhone_Unhold]
exten = _.,1,SetMusicOnHold(none)
exten = _.,n,Bridge(${MyCallBridge},p) |
|
|
|
 |
ianplain
Site Admin
Joined: Jul 05, 2004
Posts: 3347
Location: Bath UK
Status: Offline
|
| Posted:
Apr 10, 2009 - 04:08 PM |
|
|
Hi in the unhold context add a Noop(${MyCallBridge})
to see what the variable is set to . and when setting the variable add _ or even __ before the variable name
Ian |
|
|
|
 |
julie
Joined: Apr 10, 2009
Posts: 13
Location: London
Status: Offline
|
| Posted:
Apr 10, 2009 - 04:22 PM |
|
|
hi,
ok i try but will u explane me what is difference between MyCallBridge and _MyCallBridge.
thx dear |
|
|
|
 |
ianplain
Site Admin
Joined: Jul 05, 2004
Posts: 3347
Location: Bath UK
Status: Offline
|
| Posted:
Apr 10, 2009 - 04:56 PM |
|
|
Hi
When the variable name is prefixed with _, the variable will be inherited into channels created from the current channel. If the variable name is prefixed with __, the variable will be inherited into channels created from the current channel and all children channels.
Ian |
|
|
|
 |
julie
Joined: Apr 10, 2009
Posts: 13
Location: London
Status: Offline
|
| Posted:
Apr 10, 2009 - 04:58 PM |
|
|
Ian i try that it work fine for a while but after a some period i try that again and same problem occure 80% the call bridge but 20% the error occur
help me out to get rid of ......
== Spawn extension (XPhone_Unhold, 1111, 1) exited non-zero on 'SIP/101-091a2420'
-- Executing [1111@XPhone_Unhold:1] SetMusicOnHold("SIP/101-091a2420", "none") in new stack
-- Executing [1111@XPhone_Unhold:2] NoOp("SIP/101-091a2420", "AsyncGoto/SIP/103-091ac910<ZOMBIE>") in new stack
-- Executing [1111@XPhone_Unhold:3] Bridge("SIP/101-091a2420", "AsyncGoto/SIP/103-091ac910<ZOMBIE>,p") in new stack
[Apr 10 07:18:32] WARNING[18956]: features.c:3908 bridge_exec: Bridge failed because channel AsyncGoto/SIP/103-091ac910<ZOMBIE> does not exists or we cannot get its lock
-- Auto fallthrough, channel 'SIP/101-091a2420' status is 'ANSWER'
-- Executing [h@XPhone_Unhold:1] SetMusicOnHold("SIP/101-091a2420", "none") in new stack
-- Executing [h@XPhone_Unhold:2] NoOp("SIP/101-091a2420", "AsyncGoto/SIP/103-091ac910<ZOMBIE>") in new stack
-- Executing [h@XPhone_Unhold:3] Bridge("SIP/101-091a2420", "AsyncGoto/SIP/103-091ac910<ZOMBIE>,p") in new stack
[Apr 10 07:18:32] WARNING[18956]: features.c:3908 bridge_exec: Bridge failed because channel AsyncGoto/SIP/103-091ac910<ZOMBIE> does not exists or we cannot get its lock |
|
|
|
 |
ianplain
Site Admin
Joined: Jul 05, 2004
Posts: 3347
Location: Bath UK
Status: Offline
|
| Posted:
Apr 10, 2009 - 05:20 PM |
|
|
Hi What version of asterisk are you using ?
Also are these Local channels ?
Ian |
|
|
|
 |
julie
Joined: Apr 10, 2009
Posts: 13
Location: London
Status: Offline
|
| Posted:
Apr 10, 2009 - 05:44 PM |
|
|
Hi
i am using 1.6.0.8 asterisk and these are local channel. |
|
|
|
 |
ianplain
Site Admin
Joined: Jul 05, 2004
Posts: 3347
Location: Bath UK
Status: Offline
|
| Posted:
Apr 10, 2009 - 06:33 PM |
|
|
Ok have you got /n at the end of the dial string ?
Ian |
|
|
|
 |
julie
Joined: Apr 10, 2009
Posts: 13
Location: London
Status: Offline
|
| Posted:
Apr 11, 2009 - 06:56 AM |
|
|
Hi Ian how are you?
i got this stuff in dial
== Using SIP RTP CoS mark 5
-- Executing [103@XPhone_AgentCall:1] Answer("SIP/101-091a0d90", "") in new stack
-- Executing [103@XPhone_AgentCall:2] Set("SIP/101-091a0d90", "CALLERID(num) =5220") in new stack
-- Executing [103@XPhone_AgentCall:3] Dial("SIP/101-091a0d90", "SIP/103,,o") in new stack
== Using SIP RTP CoS mark 5
-- Called 103
-- SIP/103-091a5140 is ringing
-- SIP/103-091a5140 answered SIP/101-091a0d90
-- Packet2Packet bridging SIP/101-091a0d90 and SIP/103-091a5140 |
|
|
|
 |
ianplain
Site Admin
Joined: Jul 05, 2004
Posts: 3347
Location: Bath UK
Status: Offline
|
| Posted:
Apr 11, 2009 - 10:04 AM |
|
|
Hi
I mean /n at the end of the dial such as Dial(Local/103@context/n,25) for example
Hi Its very hard to help with only ever seeing half the story, Could you post the whole sections of the dialplan that is involved
Ian |
|
|
|
 |
julie
Joined: Apr 10, 2009
Posts: 13
Location: London
Status: Offline
|
| Posted:
Apr 11, 2009 - 11:13 AM |
|
|
Hi
the first context is used to originate international call
[XPhone_OutboundCall]
exten = _.,1,Answer()
exten = _.,n,Set(CALLERID(num)=${TollFreeNumber})
exten = _.,n,Dial(SIP/${EXTEN}@${OUTBOUND_CALL_IP},,o)
exten = _.,n,Hangup()
second one is used for local sip call(extension to extension)
[XPhone_AgentCall]
exten = _.,1,Answer()
exten = _.,n,Set(CALLERID(num)=${TollFreeNumber})
exten = _.,n,Dial(SIP/${EXTEN},,o)
exten = _.,n,Hangup()
[XPhone_Hold]
exten = _.,1,Set(_MyCallBridge=${BRIDGEPEER})
exten = _.,n,MusicOnHold()
[XPhone_Unhold]
exten = _.,1,SetMusicOnHold(none)
exten = _.,n,NoOp(${MyCallBridge})
exten = _.,n,Bridge(${MyCallBridge},p)
thatz the whole thing |
|
|
|
 |
julie
Joined: Apr 10, 2009
Posts: 13
Location: London
Status: Offline
|
| Posted:
Apr 11, 2009 - 12:35 PM |
|
|
Hi
Dial(Local/103@context/n,25)
will uexplane me what is the function of /n in dial cmd |
|
|
|
 |
julie
Joined: Apr 10, 2009
Posts: 13
Location: London
Status: Offline
|
| Posted:
Apr 13, 2009 - 08:48 AM |
|
|
Hi Ian
will u explain it to me |
|
|
|
 |
|
| Forum Rules and Guidelines |
About VoIP User |
Privacy Policy
|
All logos and trademarks in this site are property of their respective owner. Comments and posts are property of the poster, all the rest (c) 2003-2008 VoIP User Limited.
VoIP User Limited is incorporated in England and Wales under Company Number 6694577.
No part of this site may be reproduced without our prior consent.
|
|