[asterisk-dev] Again Channel problems
voip at gmx-topmail.de
voip at gmx-topmail.de
Wed Aug 16 02:29:17 MST 2006
Hi,
after or while having opened bug 7546 (http://bugs.digium.com/view.php?id=7546), I'm still having severe problems with channels, channel-zombies and things related to this.
Currently I have the following problem on 1.2.10 (also on 1.2.7.1) that I thought to have it seen work with 1.0.x:
1.) I originate a channel with asterisk manager api:
$dialcommand="Action: Login\r\nUsername: test\r\nSecret: testpassword\r\n\r\nAction: Originate\r\nChannel: Local/".
$dsrc."@dialscript\r\nContext: dialscript2\r\nExten: ".
$ddst."\r\nPriority: 1\r\nAccount: ".$sip."\r\nCallerid: ".
$sip."\r\n\r\nAction: Logoff\r\n\r\n";
2.) extensions.conf does the following:
[dialscript]
exten => _X.,1,DeadAGI,newalepo.php
exten => _X.,2,Hangup
[dialscript2]
exten => _X.,1,Answer
exten => _X.,2,playback(holdline)
exten => _X.,3,DeadAGI,newalepo.php
exten => _X.,4,Hangup
3.) What happens and what is right is:
- phone1 called with dialscript is ringing
- after phone1 is picked up "holdline" is played and the second number (phone2) is dialed
- phone1 talks to phone2 till someone ends the call
... so looks very good.
4.) what went wrong is the following:
the agi-script in "dialscript" is terminated as soon phone1 is picked up... so only a cdr with "0" billsec is stored in the db.
5.) Debug output is the following:
full:Aug 16 07:49:48 DEBUG[28520] channel.c: Planning to masquerade channel SIP/mycarrier-082a8ee8 into the structure of Lo
cal/49613152314 at dialscript-f698,1
full:Aug 16 07:49:48 DEBUG[28520] channel.c: Done planning to masquerade channel SIP/mycarrier-082a8ee8 into the structure
of Local/49613152314 at dialscript-f698,1
full:Aug 16 07:49:48 DEBUG[28520] chan_local.c: Not posting to queue since already masked on 'Local/49613152314 at dialscript-f6
98,2'
full:Aug 16 07:49:48 DEBUG[28528] channel.c: Got clone lock for masquerade on 'SIP/mycarrier-082a8ee8' at 0x83b3ab4
full:Aug 16 07:49:48 DEBUG[28528] channel.c: Putting channel SIP/mycarrier-082a8ee8 in 64/64 formats
full:Aug 16 07:49:48 DEBUG[28528] channel.c: Released clone lock on 'Local/49613152314 at dialscript-f698,1<ZOMBIE>'
full:Aug 16 07:49:48 DEBUG[28520] channel.c: Didn't get a frame from channel: Local/49613152314 at dialscript-f698,1<ZOMBIE>
full:Aug 16 07:49:48 DEBUG[28520] channel.c: Bridge stops bridging channels Local/49613152314 at dialscript-f698,2 and Local/49613152314 at dialscript-f698,1<ZOMBIE>
full:Aug 16 07:49:48 DEBUG[28520] app_dial.c: Exiting with DIALSTATUS=ANSWER.
This happens always.
6.) Other people seem also to have such problems (#asterisk):
[11:19] Winkie: ChrisDE4: i'm having horrific issues with ZOMBIE channels and agents etc
[11:19] Winkie: i don't get the whole masquerade channels etc
[11:19] Winkie: it's making me close to just giving up on asterisk and writing it off as usable software because it's frustrating as hell
[11:19] Winkie: it looks professional to start with but there's a LOT of crap going oin
[11:22] MrChimpy: you gets what you pay for winkie. there are alternatives.
[11:22] MrChimpy: or pay digium to look at your problems.
What to do?
Thanks
--
"Feel free" – 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail
More information about the asterisk-dev
mailing list