Есть связка elastix с модемами через прораммный шлюз oktell sip gsm.
Для того что бы реально позвонить надо сделать минимум 5-10 попыток. Все время говорит Busy now.
Вот лог, может кто поможет?
Oct 13 18:41:16 VERBOSE [7084] pbx.c: -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/100-0000008c", "0?customtrunk") in new stack
Oct 13 18:41:16 VERBOSE [7084] pbx.c: -- Executing [s@macro-dialout-trunk:19] Dial("SIP/100-0000008c", "SIP/life/0631013345,300,") in new stack
Oct 13 18:41:16 VERBOSE [7084] netsock2.c: == Using SIP RTP TOS bits 184
Oct 13 18:41:16 VERBOSE [7084] netsock2.c: == Using SIP RTP CoS mark 5
Oct 13 18:41:16 VERBOSE [2632] chan_sip.c: -- Got SIP response 482 "Loop Detected" back from 192.168.1.195:5060
Oct 13 18:41:16 VERBOSE [7084] app_dial.c: -- Called SIP/life/0631013345
Oct 13 18:41:16 VERBOSE [7084] app_dial.c: -- SIP/life-0000008d is circuit-busy
Oct 13 18:41:16 VERBOSE [7084] app_dial.c: == Everyone is busy/congested at this time (1:0/1/0)
Oct 13 18:41:16 VERBOSE [7084] pbx.c: -- Executing [s@macro-dialout-trunk:20] NoOp("SIP/100-0000008c", "Dial failed for some reason with DIALSTATUS = CONGESTION and HANGUPCAUSE = 127") in new stack
Oct 13 18:41:16 VERBOSE [7084] pbx.c: -- Executing [s@macro-dialout-trunk:21] Goto("SIP/100-0000008c", "s-CONGESTION,1") in new stack
Oct 13 18:41:16 VERBOSE [7084] pbx.c: -- Goto (macro-dialout-trunk,s-CONGESTION,1)
Oct 13 18:41:16 VERBOSE [7084] pbx.c: -- Executing [s-CONGESTION@macro-dialout-trunk:1] Set("SIP/100-0000008c", "RC=127") in new stack
Oct 13 18:41:16 VERBOSE [7084] pbx.c: -- Executing [s-CONGESTION@macro-dialout-trunk:2] Goto("SIP/100-0000008c", "127,1") in new stack
Oct 13 18:41:16 VERBOSE [7084] pbx.c: -- Goto (macro-dialout-trunk,127,1)
Oct 13 18:41:16 VERBOSE [7084] pbx.c: -- Executing [127@macro-dialout-trunk:1] Goto("SIP/100-0000008c", "continue,1") in new stack
Oct 13 18:41:16 VERBOSE [7084] pbx.c: -- Goto (macro-dialout-trunk,continue,1)
Oct 13 18:41:16 VERBOSE [7084] pbx.c: -- Executing [continue@macro-dialout-trunk:1] GotoIf("SIP/100-0000008c", "1?noreport") in new stack
Oct 13 18:41:16 VERBOSE [7084] pbx.c: -- Goto (macro-dialout-trunk,continue,3)
Oct 13 18:41:16 VERBOSE [7084] pbx.c: -- Executing [continue@macro-dialout-trunk:3] NoOp("SIP/100-0000008c", "TRUNK Dial failed due to CONGESTION HANGUPCAUSE: 127 - failing through to other trunks") in new stack
Oct 13 18:41:16 VERBOSE [7084] pbx.c: -- Executing [continue@macro-dialout-trunk:4] Set("SIP/100-0000008c", "CALLERID(number)=100") in new stack
Oct 13 18:41:16 VERBOSE [7084] pbx.c: -- Executing [0631013345@from-internal:7] Macro("SIP/100-0000008c", "outisbusy,") in new stack
Oct 13 18:41:16 VERBOSE [7084] pbx.c: -- Executing [s@macro-outisbusy:1] Progress("SIP/100-0000008c", "") in new stack
Oct 13 18:41:16 VERBOSE [7084] pbx.c: -- Executing [s@macro-outisbusy:2] GotoIf("SIP/100-0000008c", "0?emergency,1") in new stack
Oct 13 18:41:16 VERBOSE [7084] pbx.c: -- Executing [s@macro-outisbusy:3] GotoIf("SIP/100-0000008c", "0?intracompany,1") in new stack
Oct 13 18:41:16 VERBOSE [7084] pbx.c: -- Executing [s@macro-outisbusy:4] Playback("SIP/100-0000008c", "all-circuits-busy-now&pls-try-call-later, noanswer") in new stack
Oct 13 18:41:16 VERBOSE [7084] file.c: -- <SIP/100-0000008c> Playing 'all-circuits-busy-now.gsm' (language 'en')
Oct 13 18:41:16 VERBOSE [7085] app_mixmonitor.c: == Begin MixMonitor Recording SIP/100-0000008c
Oct 13 18:41:18 VERBOSE [7084] file.c: -- <SIP/100-0000008c> Playing 'pls-try-call-later.gsm' (language 'en')
Oct 13 18:41:20 VERBOSE [7084] app_macro.c: == Spawn extension (macro-outisbusy, s, 4) exited non-zero on 'SIP/100-0000008c' in macro 'outisbusy'
Oct 13 18:41:20 VERBOSE [7084] pbx.c: == Spawn extension (from-internal, 0631013345, 7) exited non-zero on 'SIP/100-0000008c'
Oct 13 18:41:20 VERBOSE [7084] pbx.c: -- Executing [h@from-internal:1] Macro("SIP/100-0000008c", "hangupcall") in new stack
Oct 13 18:41:20 VERBOSE [7084] pbx.c: -- Executing [s@macro-hangupcall:1] GotoIf("SIP/100-0000008c", "0?endmixmoncheck") in new stack
Oct 13 18:41:20 VERBOSE [7084] pbx.c: -- Executing [s@macro-hangupcall:2] Set("SIP/100-0000008c", "MIXMON_CALLFILENAME=/var/spool/asterisk/monitor/OUT100-20131013-184116-1381678876.142.wav") in new stack
Oct 13 18:41:20 VERBOSE [7084] pbx.c: -- Executing [s@macro-hangupcall:3] GotoIf("SIP/100-0000008c", "1?defaultmixmondir") in new stack
Oct 13 18:41:20 VERBOSE [7084] pbx.c: -- Goto (macro-hangupcall,s,5)
Oct 13 18:41:20 VERBOSE [7084] pbx.c: -- Executing [s@macro-hangupcall:5] System("SIP/100-0000008c", "test -e /var/spool/asterisk/monitor/OUT100-20131013-184116-1381678876.142.wav") in new stack
Oct 13 18:41:20 VERBOSE [7084] pbx.c: -- Executing [s@macro-hangupcall:6] NoOp("SIP/100-0000008c", "SYSTEMSTATUS = SUCCESS") in new stack
Oct 13 18:41:20 VERBOSE [7084] pbx.c: -- Executing [s@macro-hangupcall:7] GotoIf("SIP/100-0000008c", "1?endmixmoncheck") in new stack
Oct 13 18:41:20 VERBOSE [7084] pbx.c: -- Goto (macro-hangupcall,s,9)
Oct 13 18:41:20 VERBOSE [7084] pbx.c: -- Executing [s@macro-hangupcall:9] NoOp("SIP/100-0000008c", "End of MIXMON check") in new stack
Oct 13 18:41:20 VERBOSE [7084] pbx.c: -- Executing [s@macro-hangupcall:10] GotoIf("SIP/100-0000008c", "1?nomeetmemon") in new stack
Oct 13 18:41:20 VERBOSE [7084] pbx.c: -- Goto (macro-hangupcall,s,15)
Oct 13 18:41:20 VERBOSE [7084] pbx.c: -- Executing [s@macro-hangupcall:15] NoOp("SIP/100-0000008c", "MEETME_RECORDINGFILE=") in new stack
Oct 13 18:41:20 VERBOSE [7084] pbx.c: -- Executing [s@macro-hangupcall:16] GotoIf("SIP/100-0000008c", "1?noautomon") in new stack
Oct 13 18:41:20 VERBOSE [7084] pbx.c: -- Goto (macro-hangupcall,s,18)
Oct 13 18:41:20 VERBOSE [7084] pbx.c: -- Executing [s@macro-hangupcall:18] NoOp("SIP/100-0000008c", "TOUCH_MONITOR_OUTPUT=") in new stack
Oct 13 18:41:20 VERBOSE [7084] pbx.c: -- Executing [s@macro-hangupcall:19] GotoIf("SIP/100-0000008c", "1?noautomon2") in new stack
Oct 13 18:41:20 VERBOSE [7084] pbx.c: -- Goto (macro-hangupcall,s,25)
Oct 13 18:41:20 VERBOSE [7084] pbx.c: -- Executing [s@macro-hangupcall:25] NoOp("SIP/100-0000008c", "MONITOR_FILENAME=") in new stack
Oct 13 18:41:20 VERBOSE [7084] pbx.c: -- Executing [s@macro-hangupcall:26] GotoIf("SIP/100-0000008c", "1?skiprg") in new stack
Oct 13 18:41:20 VERBOSE [7084] pbx.c: -- Goto (macro-hangupcall,s,29)
Oct 13 18:41:20 VERBOSE [7084] pbx.c: -- Executing [s@macro-hangupcall:29] GotoIf("SIP/100-0000008c", "1?skipblkvm") in new stack
Oct 13 18:41:20 VERBOSE [7084] pbx.c: -- Goto (macro-hangupcall,s,32)
Oct 13 18:41:20 VERBOSE [7084] pbx.c: -- Executing [s@macro-hangupcall:32] GotoIf("SIP/100-0000008c", "1?theend") in new stack
Oct 13 18:41:20 VERBOSE [7084] pbx.c: -- Goto (macro-hangupcall,s,34)
Oct 13 18:41:20 VERBOSE [7084] pbx.c: -- Executing [s@macro-hangupcall:34] Hangup("SIP/100-0000008c", "") in new stack
Oct 13 18:41:20 VERBOSE [7084] app_macro.c: == Spawn extension (macro-hangupcall, s, 34) exited non-zero on 'SIP/100-0000008c' in macro 'hangupcall'
Oct 13 18:41:20 VERBOSE [7084] pbx.c: == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/100-0000008c'
Oct 13 18:41:20 VERBOSE [7085] app_mixmonitor.c: == MixMonitor close filestream
Oct 13 18:41:21 VERBOSE [7085] app_mixmonitor.c: == End MixMonitor Recording SIP/100-0000008c
Oct 13 18:42:08 VERBOSE [2632] chan_sip.c: -- Registered SIP 'mts' at 192.168.1.195:5060
Oct 13 18:42:22 VERBOSE [2632] chan_sip.c: -- Registered SIP 'mts' at 192.168.1.110:5070
Oct 13 18:43:47 VERBOSE [2632] chan_sip.c: -- Registered SIP 'ks' at 192.168.1.110:5070
Oct 13 18:43:47 VERBOSE [2632] chan_sip.c: -- Registered SIP 'life' at 192.168.1.110:5070
Oct 13 18:43:53 VERBOSE [2632] chan_sip.c: -- Registered SIP 'life' at 192.168.1.195:5060
Oct 13 18:43:53 VERBOSE [2632] chan_sip.c: -- Registered SIP 'mts' at 192.168.1.195:5060
Oct 13 18:43:53 VERBOSE [2632] chan_sip.c: -- Registered SIP 'ks' at 192.168.1.195:5060
Oct 13 18:44:16 VERBOSE [2632] chan_sip.c: -- Registered SIP 'mts' at 192.168.1.110:5070
Oct 13 18:45:02 VERBOSE [2411] asterisk.c: -- Remote UNIX connection
Oct 13 18:45:02 VERBOSE [7095] asterisk.c: -- Remote UNIX connection disconnected
Oct 13 18:45:38 VERBOSE [2632] chan_sip.c: -- Registered SIP 'mts' at 192.168.1.195:5060
Oct 13 18:46:10 VERBOSE [2632] chan_sip.c: -- Registered SIP 'mts' at 192.168.1.110:5070