Страница 1 из 2

Asterisk 1.8.21 (elastix) + ooh323 и panasonik tda30+Ipgw4

Добавлено: 22 апр 2014, 12:14
mowgly77
Приветствую всех присутствующих! всем!.
Прошу помощи в настройке связки Asterisk 1.8.21 и TDA-30 c Ipgw4 (h323)
суть вот в чем:
при звонке
Tda (H323,g729) => Asterisk => Оператор связи(ulaw) => (городской абонент) все работает
Tda (H323,g729) => Asterisk => Оператор сотовой связи=> (сотовый абонент) - звонок срывается и на сотовом остается неотвеченный вызов

в обратном направлении работают все соединения.
в логе при звонке на сотовый астер переходит на hangup
где и куда копать?
какие конфиги/логи для продуктивного анализа нужны?
Спасибо.

Re: Asterisk 1.8.21 (elastix) + ooh323 и panasonik tda30+Ipg

Добавлено: 22 апр 2014, 12:22
awsswa
ну для начала hangup увидать

Re: Asterisk 1.8.21 (elastix) + ooh323 и panasonik tda30+Ipg

Добавлено: 22 апр 2014, 13:05
mowgly77
-- Executing [893011100XX@from-internal:1] Macro("OOH323/Bluhera12-93", "user-callerid,LIMIT,EXTERNAL,") in new stack
-- Executing [s@macro-user-callerid:1] Set("OOH323/Bluhera12-93", "TOUCH_MONITOR=1398157327.22265") in new stack
-- Executing [s@macro-user-callerid:2] Set("OOH323/Bluhera12-93", "AMPUSER=3902") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("OOH323/Bluhera12-93", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("OOH323/Bluhera12-93", "1?Set(REALCALLERIDNUM=3902)") in new stack
-- Executing [s@macro-user-callerid:5] Set("OOH323/Bluhera12-93", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("OOH323/Bluhera12-93", "0?limit") in new stack
-- Executing [s@macro-user-callerid:7] Set("OOH323/Bluhera12-93", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:8] GotoIf("OOH323/Bluhera12-93", "1?report") in new stack
-- Goto (macro-user-callerid,s,16)
-- Executing [s@macro-user-callerid:16] GotoIf("OOH323/Bluhera12-93", "1?continue") in new stack
-- Goto (macro-user-callerid,s,29)
-- Executing [s@macro-user-callerid:29] Set("OOH323/Bluhera12-93", "CALLERID(number)=3902") in new stack
-- Executing [s@macro-user-callerid:30] Set("OOH323/Bluhera12-93", "CALLERID(name)=") in new stack
-- Executing [s@macro-user-callerid:31] Set("OOH323/Bluhera12-93", "CDR(cnum)=3902") in new stack
-- Executing [s@macro-user-callerid:32] Set("OOH323/Bluhera12-93", "CDR(cnam)=") in new stack
-- Executing [s@macro-user-callerid:33] Set("OOH323/Bluhera12-93", "CHANNEL(language)=en") in new stack
-- Executing [893011100XX@from-internal:2] Set("OOH323/Bluhera12-93", "MOHCLASS=default") in new stack
-- Executing [893011100XX@from-internal:3] Set("OOH323/Bluhera12-93", "_NODEST=") in new stack
-- Executing [893011100XX@from-internal:4] Gosub("OOH323/Bluhera12-93", "sub-record-check,s,1(out,893011100XX,)") in new stack
-- Executing [s@sub-record-check:1] Set("OOH323/Bluhera12-93", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [s@sub-record-check:2] GotoIf("OOH323/Bluhera12-93", "1?check") in new stack
-- Goto (sub-record-check,s,7)
-- Executing [s@sub-record-check:7] Set("OOH323/Bluhera12-93", "__MON_FMT=wav") in new stack
-- Executing [s@sub-record-check:8] GotoIf("OOH323/Bluhera12-93", "1?next") in new stack
-- Goto (sub-record-check,s,11)
-- Executing [s@sub-record-check:11] ExecIf("OOH323/Bluhera12-93", "0?Return()") in new stack
-- Executing [s@sub-record-check:12] ExecIf("OOH323/Bluhera12-93", "0?Set(__REC_POLICY_MODE=)") in new stack
-- Executing [s@sub-record-check:13] GotoIf("OOH323/Bluhera12-93", "0?out,1") in new stack
-- Executing [s@sub-record-check:14] Set("OOH323/Bluhera12-93", "__REC_STATUS=INITIALIZED") in new stack
-- Executing [s@sub-record-check:15] Set("OOH323/Bluhera12-93", "NOW=1398157327") in new stack
-- Executing [s@sub-record-check:16] Set("OOH323/Bluhera12-93", "__DAY=22") in new stack
-- Executing [s@sub-record-check:17] Set("OOH323/Bluhera12-93", "__MONTH=04") in new stack
-- Executing [s@sub-record-check:18] Set("OOH323/Bluhera12-93", "__YEAR=2014") in new stack
-- Executing [s@sub-record-check:19] Set("OOH323/Bluhera12-93", "__TIMESTR=20140422-130207") in new stack
-- Executing [s@sub-record-check:20] Set("OOH323/Bluhera12-93", "__FROMEXTEN=3902") in new stack
-- Executing [s@sub-record-check:21] Set("OOH323/Bluhera12-93", "__CALLFILENAME=out-893011100XX-3902-20140422-130207-1398157327.22265") in new stack
-- Executing [s@sub-record-check:22] Goto("OOH323/Bluhera12-93", "out,1") in new stack
-- Goto (sub-record-check,out,1)
-- Executing [out@sub-record-check:1] ExecIf("OOH323/Bluhera12-93", "1?Set(__REC_POLICY_MODE=)") in new stack
-- Executing [out@sub-record-check:2] GosubIf("OOH323/Bluhera12-93", "0?record,1(exten,893011100XX,3902)") in new stack
-- Executing [out@sub-record-check:3] Return("OOH323/Bluhera12-93", "") in new stack
-- Executing [893011100XX@from-internal:5] Macro("OOH323/Bluhera12-93", "dialout-trunk,21,893011100XX,,off") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("OOH323/Bluhera12-93", "DIAL_TRUNK=21") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("OOH323/Bluhera12-93", "0?sub-pincheck,s,1()") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("OOH323/Bluhera12-93", "0?disabletrunk,1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("OOH323/Bluhera12-93", "DIAL_NUMBER=893011100XX") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("OOH323/Bluhera12-93", "DIAL_TRUNK_OPTIONS=tr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("OOH323/Bluhera12-93", "OUTBOUND_GROUP=OUT_21") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("OOH323/Bluhera12-93", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("OOH323/Bluhera12-93", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("OOH323/Bluhera12-93", "DIAL_TRUNK_OPTIONS=") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("OOH323/Bluhera12-93", "outbound-callerid,21") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("OOH323/Bluhera12-93", "0?Set(CALLERPRES()=)") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("OOH323/Bluhera12-93", "0?Set(REALCALLERIDNUM=3902)") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("OOH323/Bluhera12-93", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("OOH323/Bluhera12-93", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("OOH323/Bluhera12-93", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("OOH323/Bluhera12-93", "TRUNKOUTCID=4852594973") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("OOH323/Bluhera12-93", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,14)
-- Executing [s@macro-outbound-callerid:14] ExecIf("OOH323/Bluhera12-93", "1?Set(CALLERID(all)=4852594973)") in new stack
-- Executing [s@macro-outbound-callerid:15] ExecIf("OOH323/Bluhera12-93", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:16] ExecIf("OOH323/Bluhera12-93", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:17] ExecIf("OOH323/Bluhera12-93", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
-- Executing [s@macro-outbound-callerid:18] Set("OOH323/Bluhera12-93", "CDR(outbound_cnum)=4852594973") in new stack
-- Executing [s@macro-outbound-callerid:19] Set("OOH323/Bluhera12-93", "CDR(outbound_cnam)=") in new stack
-- Executing [s@macro-dialout-trunk:12] GosubIf("OOH323/Bluhera12-93", "0?sub-flp-21,s,1()") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("OOH323/Bluhera12-93", "OUTNUM=893011100XX") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("OOH323/Bluhera12-93", "custom=SIP/YarNET_594973") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("OOH323/Bluhera12-93", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))") in new stack
-- Executing [s@macro-dialout-trunk:16] ExecIf("OOH323/Bluhera12-93", "0?Set(DIAL_TRUNK_OPTIONS=M(confirm))") in new stack
-- Executing [s@macro-dialout-trunk:17] Macro("OOH323/Bluhera12-93", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("OOH323/Bluhera12-93", "") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("OOH323/Bluhera12-93", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:19] ExecIf("OOH323/Bluhera12-93", "0?Set(CONNECTEDLINE(num,i)=893011100XX)") in new stack
-- Executing [s@macro-dialout-trunk:20] ExecIf("OOH323/Bluhera12-93", "0?Set(CONNECTEDLINE(name,i)=CID:4852594973)") in new stack
-- Executing [s@macro-dialout-trunk:21] GotoIf("OOH323/Bluhera12-93", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:22] Dial("OOH323/Bluhera12-93", "SIP/YarNET_594973/893011100XX,300,") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called SIP/YarNET_594973/893011100XX
-- SIP/YarNET_594973-0000569b is making progress passing it to OOH323/Bluhera12-93
-- SIP/YarNET_594973-0000569b is ringing
-- SIP/YarNET_594973-0000569b answered OOH323/Bluhera12-93
[2014-04-22 13:02:14] DEBUG[21975]: channel.c:6390 ast_set_owners_and_peers: setting peeraccount to h3230101 for SIP/YarNET_594973-0000569b from data on channel OOH323/Bluhera12-93
[2014-04-22 13:02:14] DEBUG[21975]: channel.c:6395 ast_set_owners_and_peers: setting peeraccount to h3230101 for OOH323/Bluhera12-93 from data on channel SIP/YarNET_594973-0000569b
-- Executing [h@macro-dialout-trunk:1] Macro("OOH323/Bluhera12-93", "hangupcall,") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("OOH323/Bluhera12-93", "1?endmixmoncheck") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] NoOp("OOH323/Bluhera12-93", "End of MIXMON check") in new stack
-- Executing [s@macro-hangupcall:10] GotoIf("OOH323/Bluhera12-93", "1?nomeetmemon") in new stack
-- Goto (macro-hangupcall,s,28)
-- Executing [s@macro-hangupcall:28] NoOp("OOH323/Bluhera12-93", "End of MEETME check") in new stack
-- Executing [s@macro-hangupcall:29] GotoIf("OOH323/Bluhera12-93", "1?noautomon") in new stack
-- Goto (macro-hangupcall,s,34)
-- Executing [s@macro-hangupcall:34] NoOp("OOH323/Bluhera12-93", "TOUCH_MONITOR_OUTPUT=") in new stack
-- Executing [s@macro-hangupcall:35] GotoIf("OOH323/Bluhera12-93", "1?noautomon2") in new stack
-- Goto (macro-hangupcall,s,41)
-- Executing [s@macro-hangupcall:41] NoOp("OOH323/Bluhera12-93", "MONITOR_FILENAME=") in new stack
-- Executing [s@macro-hangupcall:42] GotoIf("OOH323/Bluhera12-93", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,45)
-- Executing [s@macro-hangupcall:45] GotoIf("OOH323/Bluhera12-93", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,48)
-- Executing [s@macro-hangupcall:48] GotoIf("OOH323/Bluhera12-93", "1?theend") in new stack
-- Goto (macro-hangupcall,s,50)
-- Executing [s@macro-hangupcall:50] AGI("OOH323/Bluhera12-93", "hangup.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi
-- <OOH323/Bluhera12-93>AGI Script hangup.agi completed, returning 0
-- Executing [s@macro-hangupcall:51] Hangup("OOH323/Bluhera12-93", "") in new stack
== Spawn extension (macro-hangupcall, s, 51) exited non-zero on 'OOH323/Bluhera12-93' in macro 'hangupcall'
== Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on 'OOH323/Bluhera12-93'
== Spawn extension (macro-dialout-trunk, s, 22) exited non-zero on 'OOH323/Bluhera12-93' in macro 'dialout-trunk'
== Spawn extension (from-internal, 893011100XX, 5) exited non-zero on 'OOH323/Bluhera12-93'


3902 - это номер на TDA
893011100XX - куда звонил

Re: Asterisk 1.8.21 (elastix) + ooh323 и panasonik tda30+Ipg

Добавлено: 23 апр 2014, 10:30
ded
Это не тот лог, в котором можно разобрать причины отлупа.
SIP/YarNET_594973/893011100XX,300,
Нужно разбирать sip debug peer YarNET_594973, то есть пакеты SIP, при вызове (инвайте) к оператору сотовой связи и ответ от него.

Используйте для этого ещё и диаграмму проблемматики "Не идут исходящие" из раздела форума для новичков. Методология поможет найти и устранить.

Re: Asterisk 1.8.21 (elastix) + ooh323 и panasonik tda30+Ipg

Добавлено: 23 апр 2014, 11:16
mowgly77
Добрый день.
посмотрел диаграмму. по ней должно звонить.
если я все правильно понял лог, то астер решает что получил команду о конце сеанса.
просто ситуация такая же, когда звонок идет через chan_dongle.

-- Executing [89301110097@from-internal:1] Macro("OOH323/Bluhera12-109", "user-callerid,LIMIT,EXTERNAL,") in new stack
-- Executing [s@macro-user-callerid:1] Set("OOH323/Bluhera12-109", "TOUCH_MONITOR=1398236713.23798") in new stack
-- Executing [s@macro-user-callerid:2] Set("OOH323/Bluhera12-109", "AMPUSER=3902") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("OOH323/Bluhera12-109", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("OOH323/Bluhera12-109", "1?Set(REALCALLERIDNUM=3902)") in new stack
-- Executing [s@macro-user-callerid:5] Set("OOH323/Bluhera12-109", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("OOH323/Bluhera12-109", "0?limit") in new stack
-- Executing [s@macro-user-callerid:7] Set("OOH323/Bluhera12-109", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:8] GotoIf("OOH323/Bluhera12-109", "1?report") in new stack
-- Goto (macro-user-callerid,s,16)
-- Executing [s@macro-user-callerid:16] GotoIf("OOH323/Bluhera12-109", "1?continue") in new stack
-- Goto (macro-user-callerid,s,29)
-- Executing [s@macro-user-callerid:29] Set("OOH323/Bluhera12-109", "CALLERID(number)=3902") in new stack
-- Executing [s@macro-user-callerid:30] Set("OOH323/Bluhera12-109", "CALLERID(name)=") in new stack
-- Executing [s@macro-user-callerid:31] Set("OOH323/Bluhera12-109", "CDR(cnum)=3902") in new stack
-- Executing [s@macro-user-callerid:32] Set("OOH323/Bluhera12-109", "CDR(cnam)=") in new stack
-- Executing [s@macro-user-callerid:33] Set("OOH323/Bluhera12-109", "CHANNEL(language)=en") in new stack
-- Executing [893011100XX@from-internal:2] Set("OOH323/Bluhera12-109", "MOHCLASS=default") in new stack
-- Executing [893011100XX@from-internal:3] Set("OOH323/Bluhera12-109", "_NODEST=") in new stack
-- Executing [893011100XX@from-internal:4] Gosub("OOH323/Bluhera12-109", "sub-record-check,s,1(out,893011100XX,)") in new stack
-- Executing [s@sub-record-check:1] Set("OOH323/Bluhera12-109", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [s@sub-record-check:2] GotoIf("OOH323/Bluhera12-109", "1?check") in new stack
-- Goto (sub-record-check,s,7)
-- Executing [s@sub-record-check:7] Set("OOH323/Bluhera12-109", "__MON_FMT=wav") in new stack
-- Executing [s@sub-record-check:8] GotoIf("OOH323/Bluhera12-109", "1?next") in new stack
-- Goto (sub-record-check,s,11)
-- Executing [s@sub-record-check:11] ExecIf("OOH323/Bluhera12-109", "0?Return()") in new stack
-- Executing [s@sub-record-check:12] ExecIf("OOH323/Bluhera12-109", "0?Set(__REC_POLICY_MODE=)") in new stack
-- Executing [s@sub-record-check:13] GotoIf("OOH323/Bluhera12-109", "0?out,1") in new stack
-- Executing [s@sub-record-check:14] Set("OOH323/Bluhera12-109", "__REC_STATUS=INITIALIZED") in new stack
-- Executing [s@sub-record-check:15] Set("OOH323/Bluhera12-109", "NOW=1398236713") in new stack
-- Executing [s@sub-record-check:16] Set("OOH323/Bluhera12-109", "__DAY=23") in new stack
-- Executing [s@sub-record-check:17] Set("OOH323/Bluhera12-109", "__MONTH=04") in new stack
-- Executing [s@sub-record-check:18] Set("OOH323/Bluhera12-109", "__YEAR=2014") in new stack
-- Executing [s@sub-record-check:19] Set("OOH323/Bluhera12-109", "__TIMESTR=20140423-110513") in new stack
-- Executing [s@sub-record-check:20] Set("OOH323/Bluhera12-109", "__FROMEXTEN=3902") in new stack
-- Executing [s@sub-record-check:21] Set("OOH323/Bluhera12-109", "__CALLFILENAME=out-893011100XX-3902-20140423-110513-1398236713.23798") in new stack
-- Executing [s@sub-record-check:22] Goto("OOH323/Bluhera12-109", "out,1") in new stack
-- Goto (sub-record-check,out,1)
-- Executing [out@sub-record-check:1] ExecIf("OOH323/Bluhera12-109", "1?Set(__REC_POLICY_MODE=)") in new stack
-- Executing [out@sub-record-check:2] GosubIf("OOH323/Bluhera12-109", "0?record,1(exten,893011100XX,3902)") in new stack
-- Executing [out@sub-record-check:3] Return("OOH323/Bluhera12-109", "") in new stack
-- Executing [893011100XX@from-internal:5] Macro("OOH323/Bluhera12-109", "dialout-trunk,21,893011100XX,,off") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("OOH323/Bluhera12-109", "DIAL_TRUNK=21") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("OOH323/Bluhera12-109", "0?sub-pincheck,s,1()") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("OOH323/Bluhera12-109", "0?disabletrunk,1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("OOH323/Bluhera12-109", "DIAL_NUMBER=893011100XX") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("OOH323/Bluhera12-109", "DIAL_TRUNK_OPTIONS=tr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("OOH323/Bluhera12-109", "OUTBOUND_GROUP=OUT_21") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("OOH323/Bluhera12-109", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("OOH323/Bluhera12-109", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("OOH323/Bluhera12-109", "DIAL_TRUNK_OPTIONS=") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("OOH323/Bluhera12-109", "outbound-callerid,21") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("OOH323/Bluhera12-109", "0?Set(CALLERPRES()=)") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("OOH323/Bluhera12-109", "0?Set(REALCALLERIDNUM=3902)") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("OOH323/Bluhera12-109", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("OOH323/Bluhera12-109", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("OOH323/Bluhera12-109", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("OOH323/Bluhera12-109", "TRUNKOUTCID=4852594973") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("OOH323/Bluhera12-109", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,14)
-- Executing [s@macro-outbound-callerid:14] ExecIf("OOH323/Bluhera12-109", "1?Set(CALLERID(all)=4852594973)") in new stack
-- Executing [s@macro-outbound-callerid:15] ExecIf("OOH323/Bluhera12-109", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:16] ExecIf("OOH323/Bluhera12-109", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:17] ExecIf("OOH323/Bluhera12-109", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
-- Executing [s@macro-outbound-callerid:18] Set("OOH323/Bluhera12-109", "CDR(outbound_cnum)=4852594973") in new stack
-- Executing [s@macro-outbound-callerid:19] Set("OOH323/Bluhera12-109", "CDR(outbound_cnam)=") in new stack
-- Executing [s@macro-dialout-trunk:12] GosubIf("OOH323/Bluhera12-109", "0?sub-flp-21,s,1()") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("OOH323/Bluhera12-109", "OUTNUM=893011100XX") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("OOH323/Bluhera12-109", "custom=SIP/YarNET_594973") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("OOH323/Bluhera12-109", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))") in new stack
-- Executing [s@macro-dialout-trunk:16] ExecIf("OOH323/Bluhera12-109", "0?Set(DIAL_TRUNK_OPTIONS=M(confirm))") in new stack
-- Executing [s@macro-dialout-trunk:17] Macro("OOH323/Bluhera12-109", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("OOH323/Bluhera12-109", "") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("OOH323/Bluhera12-109", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:19] ExecIf("OOH323/Bluhera12-109", "0?Set(CONNECTEDLINE(num,i)=893011100XX)") in new stack
-- Executing [s@macro-dialout-trunk:20] ExecIf("OOH323/Bluhera12-109", "0?Set(CONNECTEDLINE(name,i)=CID:4852594973)") in new stack
-- Executing [s@macro-dialout-trunk:21] GotoIf("OOH323/Bluhera12-109", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:22] Dial("OOH323/Bluhera12-109", "SIP/YarNET_594973/893011100XX,300,") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
Audio is at 14348
Adding codec 0x4 (ulaw) to SDP
Adding codec 0x8 (alaw) to SDP
Adding non-codec 0x1 (telephone-event) to SDP
Reliably Transmitting (no NAT) to YY.YYY.YYY.YYY:5066:
INVITE sip:893011100XX@YY.YYY.YYY.YYY:5066 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.XX:5060;branch=z9hG4bK777c76d2
Max-Forwards: 70
From: "4852594973" <sip:594973@YY.YYY.YYY.YYY>;tag=as33ea1ee2
To: <sip:893011100XX@YY.YYY.YYY.YYY:5066>
Contact: <sip:594973@192.168.0.XX:5060>
Call-ID: 1e8ff39c7a669eb9514d4c7645741897@YY.YYY.YYY.YYY
CSeq: 102 INVITE
User-Agent: FPBX-2.11.0(1.8.21.0)
Date: Wed, 23 Apr 2014 07:05:13 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 263

v=0
o=root 1117219694 1117219694 IN IP4 192.168.0.XX
s=Asterisk PBX 1.8.21.0
c=IN IP4 192.168.0.XX
t=0 0
m=audio 14348 RTP/AVP 0 8 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv

---
-- Called SIP/YarNET_594973/893011100XX

<--- SIP read from UDP:YY.YYY.YYY.YYY:5066 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.0.XX:5060;received=85.91.ZZZ.ZZ;branch=z9hG4bK777c76d2
Call-ID: 1e8ff39c7a669eb9514d4c7645741897@YY.YYY.YYY.YYY
From: "4852594973" <sip:594973@YY.YYY.YYY.YYY>;tag=as33ea1ee2
To: <sip:893011100XX@YY.YYY.YYY.YYY>;tag=iIa2JM7xkgcRVcIKp3XJrsxJnWM-.eok
CSeq: 102 INVITE
Content-Length: 0

<------------->
--- (7 headers 0 lines) ---
[2014-04-23 11:05:13] NOTICE[17515]: chan_sip.c:13611 sip_reregister: -- Re-registration for 52840@sip.zadarma.com
> doing dnsmgr_lookup for 'sip.zadarma.com'
[2014-04-23 11:05:13] NOTICE[17515]: chan_sip.c:13611 sip_reregister: -- Re-registration for 53013@sip.zadarma.com
> doing dnsmgr_lookup for 'sip.zadarma.com'
[2014-04-23 11:05:13] NOTICE[17515]: chan_sip.c:21446 handle_response_register: Outbound Registration: Expiry for sip.zadarma.com is 120 sec (Scheduling reregistration in 105 s)
[2014-04-23 11:05:13] NOTICE[17515]: chan_sip.c:21446 handle_response_register: Outbound Registration: Expiry for sip.zadarma.com is 120 sec (Scheduling reregistration in 105 s)

<--- SIP read from UDP:YY.YYY.YYY.YYY:5066 --->
SIP/2.0 183 Session Progress
Via: SIP/2.0/UDP 192.168.0.XX:5060;received=85.91.ZZZ.ZZ;branch=z9hG4bK777c76d2
Call-ID: 1e8ff39c7a669eb9514d4c7645741897@YY.YYY.YYY.YYY
From: "4852594973" <sip:594973@YY.YYY.YYY.YYY>;tag=as33ea1ee2
To: <sip:893011100XX@YY.YYY.YYY.YYY>;tag=iIa2JM7xkgcRVcIKp3XJrsxJnWM-.eok
CSeq: 102 INVITE
Contact: <sip:893011100XX@YY.YYY.YYY.YYY:5066>
Supported: 100rel, timer, replaces
Allow: INVITE, ACK, BYE, CANCEL, PRACK, INFO, REFER, NOTIFY, OPTIONS, SUBSCRIBE, MESSAGE, UPDATE
User-Agent: Eltex SBC v1.3.1.50
Content-Type: application/sdp
Content-Length: 269

v=0
o=- 1398236717 1398236719 IN IP4 YY.YYY.YYY.YYY
s=-
c=IN IP4 YY.YYY.YYY.YYY
t=0 0
m=audio 25866 RTP/AVP 0 8 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
a=silenceSupp:off - - - -
<------------->
--- (12 headers 13 lines) ---
list_route: hop: <sip:893011100XX@YY.YYY.YYY.YYY:5066>
Found RTP audio format 0
Found RTP audio format 8
Found RTP audio format 101
Found audio description format PCMU for ID 0
Found audio description format PCMA for ID 8
Found audio description format telephone-event for ID 101
Capabilities: us - 0xc (ulaw|alaw), peer - audio=0xc (ulaw|alaw)/video=0x0 (nothing)/text=0x0 (nothing), combined - 0xc (ulaw|alaw)
Non-codec capabilities (dtmf): us - 0x1 (telephone-event|), peer - 0x1 (telephone-event|), combined - 0x1 (telephone-event|)
Peer audio RTP is at port YY.YYY.YYY.YYY:25866
-- SIP/YarNET_594973-00005c88 is making progress passing it to OOH323/Bluhera12-109

<--- SIP read from UDP:YY.YYY.YYY.YYY:5066 --->
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 192.168.0.XX:5060;received=85.91.ZZZ.ZZ;branch=z9hG4bK777c76d2
Call-ID: 1e8ff39c7a669eb9514d4c7645741897@YY.YYY.YYY.YYY
From: "4852594973" <sip:594973@YY.YYY.YYY.YYY>;tag=as33ea1ee2
To: <sip:893011100XX@YY.YYY.YYY.YYY>;tag=iIa2JM7xkgcRVcIKp3XJrsxJnWM-.eok
CSeq: 102 INVITE
Contact: <sip:893011100XX@YY.YYY.YYY.YYY:5066>
Supported: 100rel, timer, replaces
Allow: INVITE, ACK, BYE, CANCEL, PRACK, INFO, REFER, NOTIFY, OPTIONS, SUBSCRIBE, MESSAGE, UPDATE
User-Agent: Eltex SBC v1.3.1.50
Content-Length: 0

<------------->
--- (11 headers 0 lines) ---
list_route: hop: <sip:893011100XX@YY.YYY.YYY.YYY:5066>
-- SIP/YarNET_594973-00005c88 is ringing

<--- SIP read from UDP:YY.YYY.YYY.YYY:5066 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.0.XX:5060;received=85.91.ZZZ.ZZ;branch=z9hG4bK777c76d2
Call-ID: 1e8ff39c7a669eb9514d4c7645741897@YY.YYY.YYY.YYY
From: "4852594973" <sip:594973@YY.YYY.YYY.YYY>;tag=as33ea1ee2
To: <sip:893011100XX@YY.YYY.YYY.YYY>;tag=iIa2JM7xkgcRVcIKp3XJrsxJnWM-.eok
CSeq: 102 INVITE
Contact: <sip:893011100XX@YY.YYY.YYY.YYY:5066>
Supported: 100rel, timer, replaces
Allow: INVITE, ACK, BYE, CANCEL, PRACK, INFO, REFER, NOTIFY, OPTIONS, SUBSCRIBE, MESSAGE, UPDATE
Accept: application/sdp
User-Agent: Eltex SBC v1.3.1.50
Session-Expires: 1800; refresher=uas
Require: timer
Content-Type: application/sdp
Content-Length: 269

v=0
o=- 1398236717 1398236719 IN IP4 YY.YYY.YYY.YYY
s=-
c=IN IP4 YY.YYY.YYY.YYY
t=0 0
m=audio 25866 RTP/AVP 0 8 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
a=silenceSupp:off - - - -
<------------->
--- (15 headers 13 lines) ---
list_route: hop: <sip:893011100XX@YY.YYY.YYY.YYY:5066>
set_destination: Parsing <sip:893011100XX@YY.YYY.YYY.YYY:5066> for address/port to send to
set_destination: set destination to YY.YYY.YYY.YYY:5066
Transmitting (no NAT) to YY.YYY.YYY.YYY:5066:
ACK sip:893011100XX@YY.YYY.YYY.YYY:5066 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.XX:5060;branch=z9hG4bK44afb0ee
Max-Forwards: 70
From: "4852594973" <sip:594973@YY.YYY.YYY.YYY>;tag=as33ea1ee2
To: <sip:893011100XX@YY.YYY.YYY.YYY:5066>;tag=iIa2JM7xkgcRVcIKp3XJrsxJnWM-.eok
Contact: <sip:594973@192.168.0.XX:5060>
Call-ID: 1e8ff39c7a669eb9514d4c7645741897@YY.YYY.YYY.YYY
CSeq: 102 ACK
User-Agent: FPBX-2.11.0(1.8.21.0)
Content-Length: 0


---
-- SIP/YarNET_594973-00005c88 answered OOH323/Bluhera12-109
[2014-04-23 11:05:20] DEBUG[16278]: channel.c:6390 ast_set_owners_and_peers: setting peeraccount to h3230101 for SIP/YarNET_594973-00005c88 from data on channel OOH323/Bluhera12-109
[2014-04-23 11:05:20] DEBUG[16278]: channel.c:6395 ast_set_owners_and_peers: setting peeraccount to h3230101 for OOH323/Bluhera12-109 from data on channel SIP/YarNET_594973-00005c88
-- Executing [h@macro-dialout-trunk:1] Macro("OOH323/Bluhera12-109", "hangupcall,") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("OOH323/Bluhera12-109", "1?endmixmoncheck") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] NoOp("OOH323/Bluhera12-109", "End of MIXMON check") in new stack
-- Executing [s@macro-hangupcall:10] GotoIf("OOH323/Bluhera12-109", "1?nomeetmemon") in new stack
-- Goto (macro-hangupcall,s,28)
-- Executing [s@macro-hangupcall:28] NoOp("OOH323/Bluhera12-109", "End of MEETME check") in new stack
-- Executing [s@macro-hangupcall:29] GotoIf("OOH323/Bluhera12-109", "1?noautomon") in new stack
-- Goto (macro-hangupcall,s,34)
-- Executing [s@macro-hangupcall:34] NoOp("OOH323/Bluhera12-109", "TOUCH_MONITOR_OUTPUT=") in new stack
-- Executing [s@macro-hangupcall:35] GotoIf("OOH323/Bluhera12-109", "1?noautomon2") in new stack
-- Goto (macro-hangupcall,s,41)
-- Executing [s@macro-hangupcall:41] NoOp("OOH323/Bluhera12-109", "MONITOR_FILENAME=") in new stack
-- Executing [s@macro-hangupcall:42] GotoIf("OOH323/Bluhera12-109", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,45)
-- Executing [s@macro-hangupcall:45] GotoIf("OOH323/Bluhera12-109", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,48)
-- Executing [s@macro-hangupcall:48] GotoIf("OOH323/Bluhera12-109", "1?theend") in new stack
-- Goto (macro-hangupcall,s,50)
-- Executing [s@macro-hangupcall:50] AGI("OOH323/Bluhera12-109", "hangup.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi
-- <OOH323/Bluhera12-109>AGI Script hangup.agi completed, returning 0
-- Executing [s@macro-hangupcall:51] Hangup("OOH323/Bluhera12-109", "") in new stack
== Spawn extension (macro-hangupcall, s, 51) exited non-zero on 'OOH323/Bluhera12-109' in macro 'hangupcall'
== Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on 'OOH323/Bluhera12-109'
Scheduling destruction of SIP dialog '1e8ff39c7a669eb9514d4c7645741897@YY.YYY.YYY.YYY' in 32000 ms (Method: INVITE)
set_destination: Parsing <sip:893011100XX@YY.YYY.YYY.YYY:5066> for address/port to send to
set_destination: set destination to YY.YYY.YYY.YYY:5066
Reliably Transmitting (no NAT) to YY.YYY.YYY.YYY:5066:
BYE sip:893011100XX@YY.YYY.YYY.YYY:5066 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.XX:5060;branch=z9hG4bK0a70f469
Max-Forwards: 70
From: "4852594973" <sip:594973@YY.YYY.YYY.YYY>;tag=as33ea1ee2
To: <sip:893011100XX@YY.YYY.YYY.YYY:5066>;tag=iIa2JM7xkgcRVcIKp3XJrsxJnWM-.eok
Call-ID: 1e8ff39c7a669eb9514d4c7645741897@YY.YYY.YYY.YYY
CSeq: 103 BYE
User-Agent: FPBX-2.11.0(1.8.21.0)
X-Asterisk-HangupCause: Normal Clearing
X-Asterisk-HangupCauseCode: 16
Content-Length: 0


---
== Spawn extension (macro-dialout-trunk, s, 22) exited non-zero on 'OOH323/Bluhera12-109' in macro 'dialout-trunk'
== Spawn extension (from-internal, 893011100XX, 5) exited non-zero on 'OOH323/Bluhera12-109'

<--- SIP read from UDP:YY.YYY.YYY.YYY:5066 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.0.XX:5060;received=85.91.ZZZ.ZZ;branch=z9hG4bK0a70f469
Call-ID: 1e8ff39c7a669eb9514d4c7645741897@YY.YYY.YYY.YYY
From: "4852594973" <sip:594973@YY.YYY.YYY.YYY>;tag=as33ea1ee2
To: <sip:893011100XX@YY.YYY.YYY.YYY>;tag=iIa2JM7xkgcRVcIKp3XJrsxJnWM-.eok
CSeq: 103 BYE
Accept: application/sdp
User-Agent: Eltex SBC v1.3.1.50
Content-Length: 0

<------------->
--- (9 headers 0 lines) ---
Really destroying SIP dialog '1e8ff39c7a669eb9514d4c7645741897@YY.YYY.YYY.YYY' Method: INVITE

Re: Asterisk 1.8.21 (elastix) + ooh323 и panasonik tda30+Ipg

Добавлено: 23 апр 2014, 11:45
ded
1) Нужно пользоваться тегом spoiler= чтобы скрывать такие портянки, ибо читать трудно.
2) Зачем скрывать адрес оператора? <sip:893011100XX@YY.YYY.YYY.YYY:5066> - это же публичный адрес, и у него публичный сервис? Вы за его безопасность переживаете? Уверяю, что информацие с форумов пользуются только пионэры, и сканеры находят провайдеров гораздо быстрей.
3) Обращайтесь в поддержку этого оператора, ибо вы их клиент, им вы и деньги платите. А с их стороны я что-то не вижу заинтересованности в решении проблемы.

Re: Asterisk 1.8.21 (elastix) + ooh323 и panasonik tda30+Ipg

Добавлено: 23 апр 2014, 12:25
mowgly77
Уважаемый(на самом деле), ded.
такая ситуация происходит вне зависимости от оператора.
с тде100 через sip все работает.(tde100 -> Aster -> сотовый). проблема исключительно при звонках на сотовых операторов.
кодеки в 323 транке все перепробовал, fasttart и tunneling тоже.
уже просто не знаю что делать. в ipgw4 есть только 323 протокол

Re: Asterisk 1.8.21 (elastix) + ooh323 и panasonik tda30+Ipg

Добавлено: 23 апр 2014, 17:51
ded
Видимо я не совсем до конца понял. Попробуйте принять звонок из Панасоника по вашему каналу Н323 в Астериск - прямо в эхо-тест, то есть протестировать только одно плечо Н323. Поговорить с самим собой, должно всё работать. И только после этого кидать дальше по SIP.

Re: Asterisk 1.8.21 (elastix) + ooh323 и panasonik tda30+Ipg

Добавлено: 23 апр 2014, 18:01
amateur
Запишите трафик H.323, SIP при помощи wireshark, и покажите общественности.

Re: Asterisk 1.8.21 (elastix) + ooh323 и panasonik tda30+Ipg

Добавлено: 24 апр 2014, 17:07
mowgly77
а если tcpdump?