[asterisk-users] Zap inbound hangup problem

Robin robin at zoap.org
Thu Oct 29 05:49:17 CDT 2009


Hi all,

I have an Astribank connected to Asterisk 1.4. I'm setting up extensions and
I have a problem with inbound calls to zap extensions. The phone at 65 rings
once and then the line gets hung up. If I pick up the phone really fast, it
works. Any suggestions?

I have the following setup:

[from-pstn]
exten => 207582401,1,Dial(Zap/65,30)

CLI shows me this:

 -- Accepting call from '204263847' to '207582401' on channel 0/31, span 2
    -- Executing [207582401 at from-pstn:1] Dial("Zap/62-1", "Zap/65|30") in
new stack
    -- Called 65
    -- Zap/65-1 is ringing
    -- Zap/65-1 is ringing
[Oct 29 11:44:45] DEBUG[12424]: chan_dahdi.c:1797 dahdi_train_ec: No echo
training requested
[Oct 29 11:44:45] DEBUG[12424]: chan_dahdi.c:4440 dahdi_handle_event:
channel 65 answered
    -- Zap/65-1 answered Zap/62-1
[Oct 29 11:44:45] DEBUG[12424]: chan_dahdi.c:3662 dahdi_bridge: master: 62,
slave: 65, nothingok: 0
[Oct 29 11:44:45] DEBUG[12424]: chan_dahdi.c:3677 dahdi_bridge: Stopping
tones on 62/0 talking to 65/0
[Oct 29 11:44:45] DEBUG[12424]: chan_dahdi.c:3689 dahdi_bridge: Stopping
tones on 65/0 talking to 62/0
[Oct 29 11:44:45] DEBUG[12424]: chan_dahdi.c:3497 dahdi_link: Making 65
slave to master 62 at 0
[Oct 29 11:44:45] DEBUG[12424]: chan_dahdi.c:1601 conf_add: Added 77 to
conference 3848/1023
[Oct 29 11:44:45] DEBUG[12424]: chan_dahdi.c:1601 conf_add: Added 74 to
conference 3848/1023
    -- Native bridging Zap/62-1 and Zap/65-1
[Oct 29 11:44:47] DEBUG[12424]: chan_dahdi.c:3441 dahdi_unlink: Unlinking
slave 65 from 62
[Oct 29 11:44:47] DEBUG[12424]: chan_dahdi.c:1630 conf_del: Removed 77 from
conference 3848/1023
[Oct 29 11:44:47] DEBUG[12424]: chan_dahdi.c:1630 conf_del: Removed 74 from
conference 3848/1023
    -- Executing [h at from-pstn:1] DeadAGI("Zap/62-1", "agi://
127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----5-----2")
in new stack
[Oct 29 11:44:47] WARNING[12424]: res_agi.c:2203 deadagi_exec: Running
DeadAGI on a live channel will cause problems, please use AGI
    -- AGI Script agi://
127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----5-----2completed,
returning 0
    -- Hungup 'Zap/65-1'
  == Spawn extension (from-pstn, 207582401, 1) exited non-zero on 'Zap/62-1'
[Oct 29 11:44:47] DEBUG[12424]: chan_dahdi.c:3364 dahdi_setoption: Set
option AUDIO MODE, value: ON(1) on Zap/62-1
[Oct 29 11:44:47] DEBUG[12424]: chan_dahdi.c:2994 dahdi_hangup: Not yet
hungup...  Calling hangup once with icause, and clearing call
[Oct 29 11:44:47] DEBUG[12424]: chan_dahdi.c:3360 dahdi_setoption: Set
option AUDIO MODE, value: OFF(0) on Zap/62-1
    -- Hungup 'Zap/62-1'
[Oct 29 11:44:51] DEBUG[2627]: chan_dahdi.c:7338 do_monitor: Message status
for 4065 changed from -1 to 0 on 65
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091029/a43bd9ba/attachment.htm 


More information about the asterisk-users mailing list