Hi all,<br><br>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?<br>
<br>I have the following setup:<br><br>[from-pstn]<br>exten => 207582401,1,Dial(Zap/65,30)<br><br>CLI shows me this:<br><br> -- Accepting call from '204263847' to '207582401' on channel 0/31, span 2<br>
-- Executing [207582401@from-pstn:1] Dial("Zap/62-1", "Zap/65|30") in new stack<br> -- Called 65<br> -- Zap/65-1 is ringing<br> -- Zap/65-1 is ringing<br>[Oct 29 11:44:45] DEBUG[12424]: chan_dahdi.c:1797 dahdi_train_ec: No echo training requested<br>
[Oct 29 11:44:45] DEBUG[12424]: chan_dahdi.c:4440 dahdi_handle_event: channel 65 answered<br> -- Zap/65-1 answered Zap/62-1<br>[Oct 29 11:44:45] DEBUG[12424]: chan_dahdi.c:3662 dahdi_bridge: master: 62, slave: 65, nothingok: 0<br>
[Oct 29 11:44:45] DEBUG[12424]: chan_dahdi.c:3677 dahdi_bridge: Stopping tones on 62/0 talking to 65/0<br>[Oct 29 11:44:45] DEBUG[12424]: chan_dahdi.c:3689 dahdi_bridge: Stopping tones on 65/0 talking to 62/0<br>[Oct 29 11:44:45] DEBUG[12424]: chan_dahdi.c:3497 dahdi_link: Making 65 slave to master 62 at 0<br>
[Oct 29 11:44:45] DEBUG[12424]: chan_dahdi.c:1601 conf_add: Added 77 to conference 3848/1023<br>[Oct 29 11:44:45] DEBUG[12424]: chan_dahdi.c:1601 conf_add: Added 74 to conference 3848/1023<br> -- Native bridging Zap/62-1 and Zap/65-1<br>
[Oct 29 11:44:47] DEBUG[12424]: chan_dahdi.c:3441 dahdi_unlink: Unlinking slave 65 from 62<br>[Oct 29 11:44:47] DEBUG[12424]: chan_dahdi.c:1630 conf_del: Removed 77 from conference 3848/1023<br>[Oct 29 11:44:47] DEBUG[12424]: chan_dahdi.c:1630 conf_del: Removed 74 from conference 3848/1023<br>
-- Executing [h@from-pstn:1] DeadAGI("Zap/62-1", "agi://<a href="http://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----5-----2">127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----5-----2</a>") in new stack<br>
[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<br> -- AGI Script agi://<a href="http://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----5-----2">127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----5-----2</a> completed, returning 0<br>
-- Hungup 'Zap/65-1'<br> == Spawn extension (from-pstn, 207582401, 1) exited non-zero on 'Zap/62-1'<br>[Oct 29 11:44:47] DEBUG[12424]: chan_dahdi.c:3364 dahdi_setoption: Set option AUDIO MODE, value: ON(1) on Zap/62-1<br>
[Oct 29 11:44:47] DEBUG[12424]: chan_dahdi.c:2994 dahdi_hangup: Not yet hungup... Calling hangup once with icause, and clearing call<br>[Oct 29 11:44:47] DEBUG[12424]: chan_dahdi.c:3360 dahdi_setoption: Set option AUDIO MODE, value: OFF(0) on Zap/62-1<br>
-- Hungup 'Zap/62-1'<br>[Oct 29 11:44:51] DEBUG[2627]: chan_dahdi.c:7338 do_monitor: Message status for 4065 changed from -1 to 0 on 65<br><br>