SearchSearch  Log in to check your private messagesLog in to check your private messages  recent posts Recent Posts
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
julieOffline



Joined: Apr 10, 2009
Posts: 13
Location: London
Status: Offline
Posted: Apr 10, 2009 - 02:51 PM Reply with quote Back to top
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
View user's profile Send private message
ianplainOffline
Site Admin


Joined: Jul 05, 2004
Posts: 3347
Location: Bath UK
Status: Offline
Posted: Apr 10, 2009 - 03:00 PM Reply with quote Back to top
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
View user's profile Send private message
julieOffline



Joined: Apr 10, 2009
Posts: 13
Location: London
Status: Offline
Posted: Apr 10, 2009 - 03:11 PM Reply with quote Back to top
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)
View user's profile Send private message
ianplainOffline
Site Admin


Joined: Jul 05, 2004
Posts: 3347
Location: Bath UK
Status: Offline
Posted: Apr 10, 2009 - 04:08 PM Reply with quote Back to top
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
View user's profile Send private message
julieOffline



Joined: Apr 10, 2009
Posts: 13
Location: London
Status: Offline
Posted: Apr 10, 2009 - 04:22 PM Reply with quote Back to top
hi,
ok i try but will u explane me what is difference between MyCallBridge and _MyCallBridge.

thx dear
View user's profile Send private message
ianplainOffline
Site Admin


Joined: Jul 05, 2004
Posts: 3347
Location: Bath UK
Status: Offline
Posted: Apr 10, 2009 - 04:56 PM Reply with quote Back to top
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
View user's profile Send private message
julieOffline



Joined: Apr 10, 2009
Posts: 13
Location: London
Status: Offline
Posted: Apr 10, 2009 - 04:58 PM Reply with quote Back to top
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
View user's profile Send private message
ianplainOffline
Site Admin


Joined: Jul 05, 2004
Posts: 3347
Location: Bath UK
Status: Offline
Posted: Apr 10, 2009 - 05:20 PM Reply with quote Back to top
Hi What version of asterisk are you using ?

Also are these Local channels ?

Ian
View user's profile Send private message
julieOffline



Joined: Apr 10, 2009
Posts: 13
Location: London
Status: Offline
Posted: Apr 10, 2009 - 05:44 PM Reply with quote Back to top
Hi

i am using 1.6.0.8 asterisk and these are local channel.
View user's profile Send private message
ianplainOffline
Site Admin


Joined: Jul 05, 2004
Posts: 3347
Location: Bath UK
Status: Offline
Posted: Apr 10, 2009 - 06:33 PM Reply with quote Back to top
Ok have you got /n at the end of the dial string ?

Ian
View user's profile Send private message
julieOffline



Joined: Apr 10, 2009
Posts: 13
Location: London
Status: Offline
Posted: Apr 11, 2009 - 06:56 AM Reply with quote Back to top
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
View user's profile Send private message
ianplainOffline
Site Admin


Joined: Jul 05, 2004
Posts: 3347
Location: Bath UK
Status: Offline
Posted: Apr 11, 2009 - 10:04 AM Reply with quote Back to top
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
View user's profile Send private message
julieOffline



Joined: Apr 10, 2009
Posts: 13
Location: London
Status: Offline
Posted: Apr 11, 2009 - 11:13 AM Reply with quote Back to top
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
View user's profile Send private message
julieOffline



Joined: Apr 10, 2009
Posts: 13
Location: London
Status: Offline
Posted: Apr 11, 2009 - 12:35 PM Reply with quote Back to top
Hi
Dial(Local/103@context/n,25)

will uexplane me what is the function of /n in dial cmd
View user's profile Send private message
julieOffline



Joined: Apr 10, 2009
Posts: 13
Location: London
Status: Offline
Posted: Apr 13, 2009 - 08:48 AM Reply with quote Back to top
Hi Ian

will u explain it to me
View user's profile Send private message


View previous topic Printable version Log in to check your private messages View next topic
Goto page 1, 2  Next

Post new topic   Reply to topic
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.