Страница 13 из 20

Re: Настройка связки FreePBX и GoIP4 VoIP GSM

Добавлено: 14 янв 2013, 09:58
awsswa
хорошо, хорошо, не буду спугивать клиента :)

Re: Настройка связки FreePBX и GoIP4 VoIP GSM

Добавлено: 14 янв 2013, 10:10
Vlad1983
я тут не ищу клиентов
если и отвечаю в темах, то вижу что помочь ещё можно
по ссылке, которую дал, инфы более чем достаточно для минимальной настройки
если уж в этом не разобраться, то я не знаю каким языком ещё нужно объяснять

Re: Настройка связки FreePBX и GoIP4 VoIP GSM

Добавлено: 20 янв 2013, 16:21
fantomas
Всем спасибо, все заработало. http://goip.com.ua/articles/podkliuchit-goip-k-asterisk эта ссылка помогла.
Я по ней раньше настраивал, но не получилось в тот раз.
Ещё обнаружил одну непонятную штуку.
Для того чтобы пиры были reachable и все работало, необходимо кабель разъема PC подключить к свитчу, а кабель разъема LAN подключить в любой ethernet порт компьютера или в ноутбук, (я установил в сервер вторую сетевую карту, на которую даже драйвера не ставил(ifconfig -a показывает eth0 и lo)). PC и LAN настроены как static ip.
Я так понимаю, что это особенности конкретно этого экземпляра goip4.

Re: Настройка связки FreePBX и GoIP4 VoIP GSM

Добавлено: 20 янв 2013, 16:47
Vlad1983
смотреть сигналку
у вас там левые IP полюбому в загаловках

Re: Настройка связки FreePBX и GoIP4 VoIP GSM

Добавлено: 28 янв 2013, 12:10
JOKERez
careless писал(а):У меня SMS Server стоит на Centos 5.7 с установленными туда же php, mysql, apsche
Захожу с винды на него через IE - все прекрасно работает
Незнаю почему у вас не работает
А расскажите секрет настройки сей связки. Разворачивал смс сервер и на убунте и на цент ос и даже на фряхе. Результата нет. Может что-то делаю не так? Может нужны определенные версии php, mysql, apsche? Смущает то, что нетстатом не прослушивается порт 44444 или это нормально?

Re: Настройка связки FreePBX и GoIP4 VoIP GSM

Добавлено: 18 мар 2013, 16:06
fradee
Связка Asterisk 11 + FreePBX 2.11 + GoIP 4 ( прошивка GS-4.01-47-t1 самая последняя) Связка настраивалась выше описанным способом.
Входящие ходят без проблем на групу абонентов (Ring Groups) софтфонов
Прооблема с исходящими если стоит настройка SIP INVITE Response равна:
  • SIP 200 OK или SIP 180 then SIP 183 - сразу вызовы идут но разрываются связь (звуки занятой линии) при первом поступившем "гудке" на мобильный
  • SIP 183 - сразу при вызове короткие гудки занятой линии
Я тупикнулся :(

лог при SIP 200 OK

Код: Выделить всё

[2013-03-18 13:41:22] VERBOSE[1427][C-0000006a] netsock2.c:   == Using SIP VIDEO TOS bits 136
[2013-03-18 13:41:22] VERBOSE[1427][C-0000006a] netsock2.c:   == Using SIP VIDEO CoS mark 6
[2013-03-18 13:41:22] VERBOSE[1427][C-0000006a] netsock2.c:   == Using SIP RTP TOS bits 184
[2013-03-18 13:41:22] VERBOSE[1427][C-0000006a] netsock2.c:   == Using SIP RTP CoS mark 5
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [0673530846@from-internal:1] Macro("SIP/800-00000097", "user-callerid,LIMIT,") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@macro-user-callerid:1] Set("SIP/800-00000097", "AMPUSER=800") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@macro-user-callerid:2] GotoIf("SIP/800-00000097", "0?report") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@macro-user-callerid:3] ExecIf("SIP/800-00000097", "1?Set(REALCALLERIDNUM=800)") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@macro-user-callerid:4] Set("SIP/800-00000097", "AMPUSER=800") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@macro-user-callerid:5] Set("SIP/800-00000097", "AMPUSERCIDNAME=800") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@macro-user-callerid:6] GotoIf("SIP/800-00000097", "0?report") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@macro-user-callerid:7] Set("SIP/800-00000097", "AMPUSERCID=800") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@macro-user-callerid:8] Set("SIP/800-00000097", "__DIAL_OPTIONS=Ttr") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@macro-user-callerid:9] Set("SIP/800-00000097", "CALLERID(all)="800" <800>") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@macro-user-callerid:10] GotoIf("SIP/800-00000097", "0?limit") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@macro-user-callerid:11] ExecIf("SIP/800-00000097", "1?Set(GROUP(concurrency_limit)=800)") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@macro-user-callerid:12] ExecIf("SIP/800-00000097", "0?Set(CHANNEL(language)=)") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@macro-user-callerid:13] GosubIf("SIP/800-00000097", "7?sub-ccss,s,1(from-internal,0673530846)") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@sub-ccss:1] ExecIf("SIP/800-00000097", "0?Return()") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@sub-ccss:2] Set("SIP/800-00000097", "CCSS_SETUP=TRUE") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@sub-ccss:3] GosubIf("SIP/800-00000097", "0?monitor_config,1(from-internal,0673530846):monitor_default,1(from-internal,0673530846)") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [monitor_default@sub-ccss:1] GotoIf("SIP/800-00000097", "0?is_exten") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [monitor_default@sub-ccss:2] StackPop("SIP/800-00000097", "") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [monitor_default@sub-ccss:3] Return("SIP/800-00000097", "FALSE") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@macro-user-callerid:14] GotoIf("SIP/800-00000097", "1?continue") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Goto (macro-user-callerid,s,27)
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@macro-user-callerid:27] Set("SIP/800-00000097", "CALLERID(number)=800") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@macro-user-callerid:28] Set("SIP/800-00000097", "CALLERID(name)=800") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@macro-user-callerid:29] Set("SIP/800-00000097", "CDR(cnum)=800") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@macro-user-callerid:30] Set("SIP/800-00000097", "CDR(cnam)=800") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@macro-user-callerid:31] Set("SIP/800-00000097", "CHANNEL(language)=en") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [0673530846@from-internal:2] Set("SIP/800-00000097", "MOHCLASS=default") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [0673530846@from-internal:3] Set("SIP/800-00000097", "_NODEST=") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [0673530846@from-internal:4] Gosub("SIP/800-00000097", "sub-record-check,s,1(out,0673530846,)") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@sub-record-check:1] Set("SIP/800-00000097", "REC_POLICY_MODE_SAVE=") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@sub-record-check:2] GotoIf("SIP/800-00000097", "1?check") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Goto (sub-record-check,s,7)
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@sub-record-check:7] Set("SIP/800-00000097", "__MON_FMT=wav") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@sub-record-check:8] GotoIf("SIP/800-00000097", "1?next") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Goto (sub-record-check,s,11)
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@sub-record-check:11] ExecIf("SIP/800-00000097", "0?Return()") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@sub-record-check:12] ExecIf("SIP/800-00000097", "0?Set(__REC_POLICY_MODE=)") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@sub-record-check:13] GotoIf("SIP/800-00000097", "0?out,1") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@sub-record-check:14] Set("SIP/800-00000097", "__REC_STATUS=INITIALIZED") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@sub-record-check:15] Set("SIP/800-00000097", "NOW=1363606882") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@sub-record-check:16] Set("SIP/800-00000097", "__DAY=18") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@sub-record-check:17] Set("SIP/800-00000097", "__MONTH=03") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@sub-record-check:18] Set("SIP/800-00000097", "__YEAR=2013") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@sub-record-check:19] Set("SIP/800-00000097", "__TIMESTR=20130318-134122") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@sub-record-check:20] Set("SIP/800-00000097", "__FROMEXTEN=800") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@sub-record-check:21] Set("SIP/800-00000097", "__CALLFILENAME=out-0673530846-800-20130318-134122-1363606882.151") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@sub-record-check:22] Goto("SIP/800-00000097", "out,1") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Goto (sub-record-check,out,1)
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [out@sub-record-check:1] ExecIf("SIP/800-00000097", "1?Set(__REC_POLICY_MODE=dontcare)") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [out@sub-record-check:2] GosubIf("SIP/800-00000097", "0?record,1(exten,0673530846,800)") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [out@sub-record-check:3] Return("SIP/800-00000097", "") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [0673530846@from-internal:5] Macro("SIP/800-00000097", "dialout-trunk,1,10673530846,,off") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@macro-dialout-trunk:1] Set("SIP/800-00000097", "DIAL_TRUNK=1") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/800-00000097", "0?sub-pincheck,s,1()") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/800-00000097", "0?disabletrunk,1") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@macro-dialout-trunk:4] Set("SIP/800-00000097", "DIAL_NUMBER=10673530846") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@macro-dialout-trunk:5] Set("SIP/800-00000097", "DIAL_TRUNK_OPTIONS=Ttr") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@macro-dialout-trunk:6] Set("SIP/800-00000097", "OUTBOUND_GROUP=OUT_1") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/800-00000097", "1?nomax") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Goto (macro-dialout-trunk,s,9)
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/800-00000097", "0?skipoutcid") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@macro-dialout-trunk:10] Set("SIP/800-00000097", "DIAL_TRUNK_OPTIONS=Tt") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@macro-dialout-trunk:11] Macro("SIP/800-00000097", "outbound-callerid,1") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/800-00000097", "0?Set(CALLERPRES()=)") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/800-00000097", "0?Set(REALCALLERIDNUM=800)") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/800-00000097", "1?normcid") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Goto (macro-outbound-callerid,s,6)
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@macro-outbound-callerid:6] Set("SIP/800-00000097", "USEROUTCID=") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@macro-outbound-callerid:7] Set("SIP/800-00000097", "EMERGENCYCID=") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@macro-outbound-callerid:8] Set("SIP/800-00000097", "TRUNKOUTCID=9001") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/800-00000097", "1?trunkcid") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Goto (macro-outbound-callerid,s,14)
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/800-00000097", "1?Set(CALLERID(all)=9001)") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/800-00000097", "0?Set(CALLERID(all)=)") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@macro-outbound-callerid:16] ExecIf("SIP/800-00000097", "0?Set(CALLERID(all)=)") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@macro-outbound-callerid:17] ExecIf("SIP/800-00000097", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@macro-outbound-callerid:18] Set("SIP/800-00000097", "CDR(outbound_cnum)=9001") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@macro-outbound-callerid:19] Set("SIP/800-00000097", "CDR(outbound_cnam)=") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/800-00000097", "0?sub-flp-1,s,1()") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@macro-dialout-trunk:13] Set("SIP/800-00000097", "OUTNUM=10673530846") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@macro-dialout-trunk:14] Set("SIP/800-00000097", "custom=SIP/GSMVOIP-01") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/800-00000097", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/800-00000097", "0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@macro-dialout-trunk:17] Macro("SIP/800-00000097", "dialout-trunk-predial-hook,") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/800-00000097", "") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/800-00000097", "0?bypass,1") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@macro-dialout-trunk:19] ExecIf("SIP/800-00000097", "1?Set(CONNECTEDLINE(num,i)=10673530846)") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@macro-dialout-trunk:20] ExecIf("SIP/800-00000097", "1?Set(CONNECTEDLINE(name,i)=CID:9001)") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@macro-dialout-trunk:21] GotoIf("SIP/800-00000097", "0?customtrunk") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [s@macro-dialout-trunk:22] Dial("SIP/800-00000097", "SIP/GSMVOIP-01/10673530846,300,Tt") in new stack
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] netsock2.c:   == Using SIP RTP TOS bits 184
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] netsock2.c:   == Using SIP RTP CoS mark 5
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] app_dial.c:     -- Called SIP/GSMVOIP-01/10673530846
[2013-03-18 13:41:22] VERBOSE[8477][C-0000006a] app_dial.c:     -- SIP/GSMVOIP-01-00000098 is ringing
[2013-03-18 13:41:30] VERBOSE[8477][C-0000006a] app_dial.c:     -- SIP/GSMVOIP-01-00000098 is making progress passing it to SIP/800-00000097
[2013-03-18 13:41:31] VERBOSE[8477][C-0000006a] res_rtp_asterisk.c: Got  RTP packet from    192.168.1.22:10000 (type 00, seq 053495, ts 1311280, len 000160)
[2013-03-18 13:41:31] VERBOSE[8477][C-0000006a] res_rtp_asterisk.c: Sent RTP packet to      192.168.1.12:10136 (type 00, seq 024958, ts 1311280, len 000160)
[2013-03-18 13:41:31] VERBOSE[8477][C-0000006a] res_rtp_asterisk.c: Got  RTP packet from    192.168.1.22:10000 (type 00, seq 053496, ts 1311440, len 000160)
[2013-03-18 13:41:31] VERBOSE[8477][C-0000006a] res_rtp_asterisk.c: Sent RTP packet to      192.168.1.12:10136 (type 00, seq 024959, ts 1311440, len 000160)
[2013-03-18 13:41:31] VERBOSE[8477][C-0000006a] res_rtp_asterisk.c: Got  RTP packet from    192.168.1.22:10000 (type 00, seq 053497, ts 1311600, len 000160)
[2013-03-18 13:41:31] VERBOSE[8477][C-0000006a] res_rtp_asterisk.c: Sent RTP packet to      192.168.1.12:10136 (type 00, seq 024960, ts 1311600, len 000160)
[2013-03-18 13:41:31] VERBOSE[8477][C-0000006a] app_macro.c:   == Spawn extension (macro-dialout-trunk, s, 22) exited non-zero on 'SIP/800-00000097' in macro 'dialout-trunk'
[2013-03-18 13:41:31] VERBOSE[8477][C-0000006a] pbx.c:   == Spawn extension (from-internal, 0673530846, 5) exited non-zero on 'SIP/800-00000097'
[2013-03-18 13:41:31] VERBOSE[8477][C-0000006a] pbx.c:     -- Executing [h@from-internal:1] Hangup("SIP/800-00000097", "") in new stack
[2013-03-18 13:41:31] VERBOSE[8477][C-0000006a] pbx.c:   == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/800-00000097'
Лог при SIP 180 then SIP 183

Код: Выделить всё

[2013-03-18 13:44:40] VERBOSE[1427][C-0000006b] netsock2.c:   == Using SIP VIDEO TOS bits 136
[2013-03-18 13:44:40] VERBOSE[1427][C-0000006b] netsock2.c:   == Using SIP VIDEO CoS mark 6
[2013-03-18 13:44:40] VERBOSE[1427][C-0000006b] netsock2.c:   == Using SIP RTP TOS bits 184
[2013-03-18 13:44:40] VERBOSE[1427][C-0000006b] netsock2.c:   == Using SIP RTP CoS mark 5
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [0673530846@from-internal:1] Macro("SIP/800-00000099", "user-callerid,LIMIT,") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@macro-user-callerid:1] Set("SIP/800-00000099", "AMPUSER=800") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@macro-user-callerid:2] GotoIf("SIP/800-00000099", "0?report") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@macro-user-callerid:3] ExecIf("SIP/800-00000099", "1?Set(REALCALLERIDNUM=800)") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@macro-user-callerid:4] Set("SIP/800-00000099", "AMPUSER=800") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@macro-user-callerid:5] Set("SIP/800-00000099", "AMPUSERCIDNAME=800") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@macro-user-callerid:6] GotoIf("SIP/800-00000099", "0?report") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@macro-user-callerid:7] Set("SIP/800-00000099", "AMPUSERCID=800") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@macro-user-callerid:8] Set("SIP/800-00000099", "__DIAL_OPTIONS=Ttr") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@macro-user-callerid:9] Set("SIP/800-00000099", "CALLERID(all)="800" <800>") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@macro-user-callerid:10] GotoIf("SIP/800-00000099", "0?limit") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@macro-user-callerid:11] ExecIf("SIP/800-00000099", "1?Set(GROUP(concurrency_limit)=800)") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@macro-user-callerid:12] ExecIf("SIP/800-00000099", "0?Set(CHANNEL(language)=)") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@macro-user-callerid:13] GosubIf("SIP/800-00000099", "7?sub-ccss,s,1(from-internal,0673530846)") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@sub-ccss:1] ExecIf("SIP/800-00000099", "0?Return()") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@sub-ccss:2] Set("SIP/800-00000099", "CCSS_SETUP=TRUE") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@sub-ccss:3] GosubIf("SIP/800-00000099", "0?monitor_config,1(from-internal,0673530846):monitor_default,1(from-internal,0673530846)") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [monitor_default@sub-ccss:1] GotoIf("SIP/800-00000099", "0?is_exten") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [monitor_default@sub-ccss:2] StackPop("SIP/800-00000099", "") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [monitor_default@sub-ccss:3] Return("SIP/800-00000099", "FALSE") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@macro-user-callerid:14] GotoIf("SIP/800-00000099", "1?continue") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Goto (macro-user-callerid,s,27)
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@macro-user-callerid:27] Set("SIP/800-00000099", "CALLERID(number)=800") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@macro-user-callerid:28] Set("SIP/800-00000099", "CALLERID(name)=800") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@macro-user-callerid:29] Set("SIP/800-00000099", "CDR(cnum)=800") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@macro-user-callerid:30] Set("SIP/800-00000099", "CDR(cnam)=800") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@macro-user-callerid:31] Set("SIP/800-00000099", "CHANNEL(language)=en") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [0673530846@from-internal:2] Set("SIP/800-00000099", "MOHCLASS=default") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [0673530846@from-internal:3] Set("SIP/800-00000099", "_NODEST=") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [0673530846@from-internal:4] Gosub("SIP/800-00000099", "sub-record-check,s,1(out,0673530846,)") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@sub-record-check:1] Set("SIP/800-00000099", "REC_POLICY_MODE_SAVE=") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@sub-record-check:2] GotoIf("SIP/800-00000099", "1?check") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Goto (sub-record-check,s,7)
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@sub-record-check:7] Set("SIP/800-00000099", "__MON_FMT=wav") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@sub-record-check:8] GotoIf("SIP/800-00000099", "1?next") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Goto (sub-record-check,s,11)
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@sub-record-check:11] ExecIf("SIP/800-00000099", "0?Return()") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@sub-record-check:12] ExecIf("SIP/800-00000099", "0?Set(__REC_POLICY_MODE=)") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@sub-record-check:13] GotoIf("SIP/800-00000099", "0?out,1") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@sub-record-check:14] Set("SIP/800-00000099", "__REC_STATUS=INITIALIZED") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@sub-record-check:15] Set("SIP/800-00000099", "NOW=1363607080") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@sub-record-check:16] Set("SIP/800-00000099", "__DAY=18") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@sub-record-check:17] Set("SIP/800-00000099", "__MONTH=03") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@sub-record-check:18] Set("SIP/800-00000099", "__YEAR=2013") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@sub-record-check:19] Set("SIP/800-00000099", "__TIMESTR=20130318-134440") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@sub-record-check:20] Set("SIP/800-00000099", "__FROMEXTEN=800") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@sub-record-check:21] Set("SIP/800-00000099", "__CALLFILENAME=out-0673530846-800-20130318-134440-1363607080.153") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@sub-record-check:22] Goto("SIP/800-00000099", "out,1") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Goto (sub-record-check,out,1)
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [out@sub-record-check:1] ExecIf("SIP/800-00000099", "1?Set(__REC_POLICY_MODE=dontcare)") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [out@sub-record-check:2] GosubIf("SIP/800-00000099", "0?record,1(exten,0673530846,800)") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [out@sub-record-check:3] Return("SIP/800-00000099", "") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [0673530846@from-internal:5] Macro("SIP/800-00000099", "dialout-trunk,1,10673530846,,off") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@macro-dialout-trunk:1] Set("SIP/800-00000099", "DIAL_TRUNK=1") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/800-00000099", "0?sub-pincheck,s,1()") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/800-00000099", "0?disabletrunk,1") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@macro-dialout-trunk:4] Set("SIP/800-00000099", "DIAL_NUMBER=10673530846") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@macro-dialout-trunk:5] Set("SIP/800-00000099", "DIAL_TRUNK_OPTIONS=Ttr") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@macro-dialout-trunk:6] Set("SIP/800-00000099", "OUTBOUND_GROUP=OUT_1") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/800-00000099", "1?nomax") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Goto (macro-dialout-trunk,s,9)
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/800-00000099", "0?skipoutcid") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@macro-dialout-trunk:10] Set("SIP/800-00000099", "DIAL_TRUNK_OPTIONS=Tt") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@macro-dialout-trunk:11] Macro("SIP/800-00000099", "outbound-callerid,1") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/800-00000099", "0?Set(CALLERPRES()=)") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/800-00000099", "0?Set(REALCALLERIDNUM=800)") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/800-00000099", "1?normcid") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Goto (macro-outbound-callerid,s,6)
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@macro-outbound-callerid:6] Set("SIP/800-00000099", "USEROUTCID=") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@macro-outbound-callerid:7] Set("SIP/800-00000099", "EMERGENCYCID=") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@macro-outbound-callerid:8] Set("SIP/800-00000099", "TRUNKOUTCID=9001") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/800-00000099", "1?trunkcid") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Goto (macro-outbound-callerid,s,14)
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/800-00000099", "1?Set(CALLERID(all)=9001)") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/800-00000099", "0?Set(CALLERID(all)=)") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@macro-outbound-callerid:16] ExecIf("SIP/800-00000099", "0?Set(CALLERID(all)=)") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@macro-outbound-callerid:17] ExecIf("SIP/800-00000099", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@macro-outbound-callerid:18] Set("SIP/800-00000099", "CDR(outbound_cnum)=9001") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@macro-outbound-callerid:19] Set("SIP/800-00000099", "CDR(outbound_cnam)=") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/800-00000099", "0?sub-flp-1,s,1()") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@macro-dialout-trunk:13] Set("SIP/800-00000099", "OUTNUM=10673530846") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@macro-dialout-trunk:14] Set("SIP/800-00000099", "custom=SIP/GSMVOIP-01") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/800-00000099", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/800-00000099", "0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@macro-dialout-trunk:17] Macro("SIP/800-00000099", "dialout-trunk-predial-hook,") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/800-00000099", "") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/800-00000099", "0?bypass,1") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@macro-dialout-trunk:19] ExecIf("SIP/800-00000099", "1?Set(CONNECTEDLINE(num,i)=10673530846)") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@macro-dialout-trunk:20] ExecIf("SIP/800-00000099", "1?Set(CONNECTEDLINE(name,i)=CID:9001)") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@macro-dialout-trunk:21] GotoIf("SIP/800-00000099", "0?customtrunk") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [s@macro-dialout-trunk:22] Dial("SIP/800-00000099", "SIP/GSMVOIP-01/10673530846,300,Tt") in new stack
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] netsock2.c:   == Using SIP RTP TOS bits 184
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] netsock2.c:   == Using SIP RTP CoS mark 5
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] app_dial.c:     -- Called SIP/GSMVOIP-01/10673530846
[2013-03-18 13:44:40] VERBOSE[8737][C-0000006b] app_dial.c:     -- SIP/GSMVOIP-01-0000009a is ringing
[2013-03-18 13:44:50] VERBOSE[8737][C-0000006b] app_dial.c:     -- SIP/GSMVOIP-01-0000009a is making progress passing it to SIP/800-00000099
[2013-03-18 13:44:50] VERBOSE[8737][C-0000006b] res_rtp_asterisk.c: Got  RTP packet from    192.168.1.22:10000 (type 00, seq 021265, ts 1442512, len 000160)
[2013-03-18 13:44:50] VERBOSE[8737][C-0000006b] res_rtp_asterisk.c: Sent RTP packet to      192.168.1.12:10142 (type 00, seq 025511, ts 1442512, len 000160)
[2013-03-18 13:44:50] VERBOSE[8737][C-0000006b] res_rtp_asterisk.c: Got  RTP packet from    192.168.1.22:10000 (type 00, seq 021266, ts 1442672, len 000160)
[2013-03-18 13:44:50] VERBOSE[8737][C-0000006b] res_rtp_asterisk.c: Sent RTP packet to      192.168.1.12:10142 (type 00, seq 025512, ts 1442672, len 000160)
[2013-03-18 13:44:50] VERBOSE[8737][C-0000006b] app_macro.c:   == Spawn extension (macro-dialout-trunk, s, 22) exited non-zero on 'SIP/800-00000099' in macro 'dialout-trunk'
[2013-03-18 13:44:50] VERBOSE[8737][C-0000006b] pbx.c:   == Spawn extension (from-internal, 0673530846, 5) exited non-zero on 'SIP/800-00000099'
[2013-03-18 13:44:50] VERBOSE[8737][C-0000006b] pbx.c:     -- Executing [h@from-internal:1] Hangup("SIP/800-00000099", "") in new stack
[2013-03-18 13:44:50] VERBOSE[8737][C-0000006b] pbx.c:   == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/800-00000099'
логи при SIP 183

Код: Выделить всё

[2013-03-18 12:36:17] VERBOSE[1427][C-00000065] netsock2.c:   == Using SIP VIDEO TOS bits 136
[2013-03-18 12:36:17] VERBOSE[1427][C-00000065] netsock2.c:   == Using SIP VIDEO CoS mark 6
[2013-03-18 12:36:17] VERBOSE[1427][C-00000065] netsock2.c:   == Using SIP RTP TOS bits 184
[2013-03-18 12:36:17] VERBOSE[1427][C-00000065] netsock2.c:   == Using SIP RTP CoS mark 5
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [0673530846@from-internal:1] Macro("SIP/800-0000008c", "user-callerid,LIMIT,") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@macro-user-callerid:1] Set("SIP/800-0000008c", "AMPUSER=800") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@macro-user-callerid:2] GotoIf("SIP/800-0000008c", "0?report") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@macro-user-callerid:3] ExecIf("SIP/800-0000008c", "1?Set(REALCALLERIDNUM=800)") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@macro-user-callerid:4] Set("SIP/800-0000008c", "AMPUSER=800") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@macro-user-callerid:5] Set("SIP/800-0000008c", "AMPUSERCIDNAME=800") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@macro-user-callerid:6] GotoIf("SIP/800-0000008c", "0?report") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@macro-user-callerid:7] Set("SIP/800-0000008c", "AMPUSERCID=800") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@macro-user-callerid:8] Set("SIP/800-0000008c", "__DIAL_OPTIONS=Ttr") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@macro-user-callerid:9] Set("SIP/800-0000008c", "CALLERID(all)="800" <800>") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@macro-user-callerid:10] GotoIf("SIP/800-0000008c", "0?limit") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@macro-user-callerid:11] ExecIf("SIP/800-0000008c", "1?Set(GROUP(concurrency_limit)=800)") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@macro-user-callerid:12] ExecIf("SIP/800-0000008c", "0?Set(CHANNEL(language)=)") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@macro-user-callerid:13] GosubIf("SIP/800-0000008c", "7?sub-ccss,s,1(from-internal,0673530846)") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@sub-ccss:1] ExecIf("SIP/800-0000008c", "0?Return()") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@sub-ccss:2] Set("SIP/800-0000008c", "CCSS_SETUP=TRUE") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@sub-ccss:3] GosubIf("SIP/800-0000008c", "0?monitor_config,1(from-internal,0673530846):monitor_default,1(from-internal,0673530846)") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [monitor_default@sub-ccss:1] GotoIf("SIP/800-0000008c", "0?is_exten") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [monitor_default@sub-ccss:2] StackPop("SIP/800-0000008c", "") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [monitor_default@sub-ccss:3] Return("SIP/800-0000008c", "FALSE") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@macro-user-callerid:14] GotoIf("SIP/800-0000008c", "1?continue") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Goto (macro-user-callerid,s,27)
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@macro-user-callerid:27] Set("SIP/800-0000008c", "CALLERID(number)=800") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@macro-user-callerid:28] Set("SIP/800-0000008c", "CALLERID(name)=800") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@macro-user-callerid:29] Set("SIP/800-0000008c", "CDR(cnum)=800") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@macro-user-callerid:30] Set("SIP/800-0000008c", "CDR(cnam)=800") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@macro-user-callerid:31] Set("SIP/800-0000008c", "CHANNEL(language)=en") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [0673530846@from-internal:2] Set("SIP/800-0000008c", "MOHCLASS=default") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [0673530846@from-internal:3] Set("SIP/800-0000008c", "_NODEST=") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [0673530846@from-internal:4] Gosub("SIP/800-0000008c", "sub-record-check,s,1(out,0673530846,)") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@sub-record-check:1] Set("SIP/800-0000008c", "REC_POLICY_MODE_SAVE=") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@sub-record-check:2] GotoIf("SIP/800-0000008c", "1?check") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Goto (sub-record-check,s,7)
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@sub-record-check:7] Set("SIP/800-0000008c", "__MON_FMT=wav") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@sub-record-check:8] GotoIf("SIP/800-0000008c", "1?next") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Goto (sub-record-check,s,11)
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@sub-record-check:11] ExecIf("SIP/800-0000008c", "0?Return()") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@sub-record-check:12] ExecIf("SIP/800-0000008c", "0?Set(__REC_POLICY_MODE=)") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@sub-record-check:13] GotoIf("SIP/800-0000008c", "0?out,1") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@sub-record-check:14] Set("SIP/800-0000008c", "__REC_STATUS=INITIALIZED") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@sub-record-check:15] Set("SIP/800-0000008c", "NOW=1363602977") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@sub-record-check:16] Set("SIP/800-0000008c", "__DAY=18") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@sub-record-check:17] Set("SIP/800-0000008c", "__MONTH=03") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@sub-record-check:18] Set("SIP/800-0000008c", "__YEAR=2013") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@sub-record-check:19] Set("SIP/800-0000008c", "__TIMESTR=20130318-123617") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@sub-record-check:20] Set("SIP/800-0000008c", "__FROMEXTEN=800") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@sub-record-check:21] Set("SIP/800-0000008c", "__CALLFILENAME=out-0673530846-800-20130318-123617-1363602977.140") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@sub-record-check:22] Goto("SIP/800-0000008c", "out,1") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Goto (sub-record-check,out,1)
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [out@sub-record-check:1] ExecIf("SIP/800-0000008c", "1?Set(__REC_POLICY_MODE=dontcare)") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [out@sub-record-check:2] GosubIf("SIP/800-0000008c", "0?record,1(exten,0673530846,800)") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [out@sub-record-check:3] Return("SIP/800-0000008c", "") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [0673530846@from-internal:5] Macro("SIP/800-0000008c", "dialout-trunk,1,10673530846,,off") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@macro-dialout-trunk:1] Set("SIP/800-0000008c", "DIAL_TRUNK=1") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/800-0000008c", "0?sub-pincheck,s,1()") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/800-0000008c", "0?disabletrunk,1") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@macro-dialout-trunk:4] Set("SIP/800-0000008c", "DIAL_NUMBER=10673530846") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@macro-dialout-trunk:5] Set("SIP/800-0000008c", "DIAL_TRUNK_OPTIONS=Ttr") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@macro-dialout-trunk:6] Set("SIP/800-0000008c", "OUTBOUND_GROUP=OUT_1") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/800-0000008c", "1?nomax") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Goto (macro-dialout-trunk,s,9)
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/800-0000008c", "0?skipoutcid") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@macro-dialout-trunk:10] Set("SIP/800-0000008c", "DIAL_TRUNK_OPTIONS=Tt") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@macro-dialout-trunk:11] Macro("SIP/800-0000008c", "outbound-callerid,1") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/800-0000008c", "0?Set(CALLERPRES()=)") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/800-0000008c", "0?Set(REALCALLERIDNUM=800)") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/800-0000008c", "1?normcid") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Goto (macro-outbound-callerid,s,6)
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@macro-outbound-callerid:6] Set("SIP/800-0000008c", "USEROUTCID=") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@macro-outbound-callerid:7] Set("SIP/800-0000008c", "EMERGENCYCID=") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@macro-outbound-callerid:8] Set("SIP/800-0000008c", "TRUNKOUTCID=9001") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/800-0000008c", "1?trunkcid") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Goto (macro-outbound-callerid,s,14)
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/800-0000008c", "1?Set(CALLERID(all)=9001)") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/800-0000008c", "0?Set(CALLERID(all)=)") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@macro-outbound-callerid:16] ExecIf("SIP/800-0000008c", "0?Set(CALLERID(all)=)") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@macro-outbound-callerid:17] ExecIf("SIP/800-0000008c", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@macro-outbound-callerid:18] Set("SIP/800-0000008c", "CDR(outbound_cnum)=9001") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@macro-outbound-callerid:19] Set("SIP/800-0000008c", "CDR(outbound_cnam)=") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/800-0000008c", "0?sub-flp-1,s,1()") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@macro-dialout-trunk:13] Set("SIP/800-0000008c", "OUTNUM=10673530846") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@macro-dialout-trunk:14] Set("SIP/800-0000008c", "custom=SIP/GSMVOIP-01") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/800-0000008c", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/800-0000008c", "0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@macro-dialout-trunk:17] Macro("SIP/800-0000008c", "dialout-trunk-predial-hook,") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/800-0000008c", "") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/800-0000008c", "0?bypass,1") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@macro-dialout-trunk:19] ExecIf("SIP/800-0000008c", "1?Set(CONNECTEDLINE(num,i)=10673530846)") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@macro-dialout-trunk:20] ExecIf("SIP/800-0000008c", "1?Set(CONNECTEDLINE(name,i)=CID:9001)") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@macro-dialout-trunk:21] GotoIf("SIP/800-0000008c", "0?customtrunk") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [s@macro-dialout-trunk:22] Dial("SIP/800-0000008c", "SIP/GSMVOIP-01/10673530846,300,Tt") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] netsock2.c:   == Using SIP RTP TOS bits 184
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] netsock2.c:   == Using SIP RTP CoS mark 5
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] app_dial.c:     -- Called SIP/GSMVOIP-01/10673530846
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] app_dial.c:     -- SIP/GSMVOIP-01-0000008d is making progress passing it to SIP/800-0000008c
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] res_rtp_asterisk.c: Got  RTP packet from    192.168.1.22:10000 (type 00, seq 002864, ts 262864, len 000160)
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] res_rtp_asterisk.c: Sent RTP packet to      192.168.1.12:10120 (type 00, seq 009609, ts 262864, len 000160)
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] res_rtp_asterisk.c: Got  RTP packet from    192.168.1.22:10000 (type 00, seq 002865, ts 263024, len 000160)
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] res_rtp_asterisk.c: Sent RTP packet to      192.168.1.12:10120 (type 00, seq 009610, ts 263024, len 000160)
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] app_macro.c:   == Spawn extension (macro-dialout-trunk, s, 22) exited non-zero on 'SIP/800-0000008c' in macro 'dialout-trunk'
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:   == Spawn extension (from-internal, 0673530846, 5) exited non-zero on 'SIP/800-0000008c'
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:     -- Executing [h@from-internal:1] Hangup("SIP/800-0000008c", "") in new stack
[2013-03-18 12:36:17] VERBOSE[6548][C-00000065] pbx.c:   == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/800-0000008c'

Re: Настройка связки FreePBX и GoIP4 VoIP GSM

Добавлено: 18 мар 2013, 16:58
fradee
Забыл скрины

Re: Настройка связки FreePBX и GoIP4 VoIP GSM

Добавлено: 18 мар 2013, 17:07
ded
Вы сильно сэкономите себе здоровье и время читателям форума, если научитесь делать sip debug а не вываливать портянки исполнения макросов freePBX. Это ничего не даёт.
Вы станете лучшим в своей области, если научитесь ещё и разбирать sip debug, чтобы анализировать - почему не склеивается медиа, почему не транслируются кодеки, и пр.

Re: Настройка связки FreePBX и GoIP4 VoIP GSM

Добавлено: 19 мар 2013, 00:52
fradee
спасибо за пинок - вовремя выписанная доза пХХдалгина делает не возможное... ) но все же включение дебага sip мне мало что дал... Но ето временно, если кто-нибуть скажет где можно взять інфу по разбору sip debug (не питайте если не нашел на форуме)

Что сделал:
Отключил не нужные кодеки в GOIP + отключил видеодзвонки в freepbx (пока еще не надобно).
Откоректировал на шлюзе обработку номеров Dial plan (VoIP to PSTN) для первой линии у меня следующий патерн: 10:-1|138:-1++|1+38:-1 (шлюз не выпускал номера 380671234567 без +, номера 0671234567 без проблем - не знаю почему)

продолжение следует :twisted:

Re: Настройка связки FreePBX и GoIP4 VoIP GSM

Добавлено: 16 авг 2013, 13:49
goba
Выложу свой опыт установки сим сервера, тоже к сожалению не удачный.

GoIPx4-G610, Firmware: GS-4.01-48
SIM server, V1.15.1 Build 201303

им сервер видит GoIP , пишет что LOGIN и успешно получает с GoIP данные о уровне сигнала (19) и состоянии линии (IDLE)

Изображение


Когда я пытаюсь отправить СМС ничего не отправляется. Смотрю TCPDUMP на сервере, в момент отправки сообщения никакие пакеты на GoIP не валятся. Я думаю что возможно это от того, что в деталях отправленного сообщения GoIP ID = "-", тем самым он не знает куда отправлять.
Может кто-нибудь, у кого заработало, выложить полные скриншоты настройки.

Изображение

Умный человек мне помог реализовать отправку sms с GoIP средствами wget:
wget --user=admin --password=admin --auth-no-challenge --post-data 'line=1&smskey=0000000e&action=SMS&telnum=89281522598&smscontent=Привет,текст,смс&send=Send' http://10.0.3.90/default/en_US/sms_info.html -O /dev/null

line=1 номер симки с которой отправлять смс GoIP