VIDEOCHAT  ::   FAQ  ::   Поиск  ::   Регистрация  ::   Вход

Настройка Asterisk за nat

Проблемы Asterisk без вэб-оболочек и их решения

Модераторы: april22, Zavr2008

iliaxxx
Сообщения: 35
Зарегистрирован: 15 апр 2014, 08:51

Настройка Asterisk за nat

Сообщение iliaxxx »

Есть сервак, который стоит за nat.На нем крутится Asterisk. Все sip клиенты находятся в локальной сети, либо цепляются к АТС по vpn. Входящие звонки проходят нормально, работает внутренняя связь, но проблема начинается когда хотят позвонить изнутри на внешние номера, по английски говорят что не удалось дозвониться, попробуйте позвонить позже. В какую сторону копать хоть? До этого сервак стоял опой в инет и все работало нормально, но по соображениям безопасности его поставили в локалку за nat
april22
Сообщения: 2187
Зарегистрирован: 09 июл 2012, 09:47

Re: Настройка Asterisk за nat

Сообщение april22 »

начать с прочтения библии по астериску . в пятой главе ( кажется ) рассматривается этот вариант .

даю наводку
LocalNet
ExtIP
Своими вопросами , вы загоняете меня в ГУГЛЬ.
iliaxxx
Сообщения: 35
Зарегистрирован: 15 апр 2014, 08:51

Re: Настройка Asterisk за nat

Сообщение iliaxxx »

External Address У меня стоит внешний мой IP
Local Networks Соответственно ip адрес сервера в локальной сети.
Непомогло, все так же сервер говорит что соедениться не получилось.
april22
Сообщения: 2187
Зарегистрирован: 09 июл 2012, 09:47

Re: Настройка Asterisk за nat

Сообщение april22 »

iliaxxx писал(а):Local Networks Соответственно ip адрес сервера в локальной сети.
те вы ему говорите что его локальная сеть это только он ?
да и в консоли что на момент регистрации ?
Своими вопросами , вы загоняете меня в ГУГЛЬ.
iliaxxx
Сообщения: 35
Зарегистрирован: 15 апр 2014, 08:51

Re: Настройка Asterisk за nat

Сообщение iliaxxx »

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

[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [+74999403300@from-internal:1] Macro("PJSIP/100-00000001", "user-callerid,LIMIT,EXTERNAL,") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s@macro-user-callerid:1] Set("PJSIP/100-00000001", "TOUCH_MONITOR=1417005050.12") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s@macro-user-callerid:2] Set("PJSIP/100-00000001", "AMPUSER=100") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s@macro-user-callerid:3] GotoIf("PJSIP/100-00000001", "0?report") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s@macro-user-callerid:4] ExecIf("PJSIP/100-00000001", "1?Set(REALCALLERIDNUM=100)") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s@macro-user-callerid:5] Set("PJSIP/100-00000001", "AMPUSER=100") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s@macro-user-callerid:6] GotoIf("PJSIP/100-00000001", "0?limit") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s@macro-user-callerid:7] Set("PJSIP/100-00000001", "AMPUSERCIDNAME=Ershov Ilia") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s@macro-user-callerid:8] GotoIf("PJSIP/100-00000001", "0?report") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s@macro-user-callerid:9] Set("PJSIP/100-00000001", "AMPUSERCID=100") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s@macro-user-callerid:10] Set("PJSIP/100-00000001", "__DIAL_OPTIONS=Ttr") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s@macro-user-callerid:11] Set("PJSIP/100-00000001", "CALLERID(all)="Ershov Ilia" <100>") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s@macro-user-callerid:12] GotoIf("PJSIP/100-00000001", "0?limit") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s@macro-user-callerid:13] ExecIf("PJSIP/100-00000001", "1?Set(GROUP(concurrency_limit)=100)") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s@macro-user-callerid:14] GosubIf("PJSIP/100-00000001", "7?sub-ccss,s,1(from-internal,)") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s@sub-ccss:1] ExecIf("PJSIP/100-00000001", "0?Return()") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s@sub-ccss:2] Set("PJSIP/100-00000001", "CCSS_SETUP=TRUE") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s@sub-ccss:3] GosubIf("PJSIP/100-00000001", "0?monitor_config,1(from-internal,):monitor_default,1(from-internal,)") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [monitor_default@sub-ccss:1] GotoIf("PJSIP/100-00000001", "0?is_exten") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [monitor_default@sub-ccss:2] StackPop("PJSIP/100-00000001", "") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [monitor_default@sub-ccss:3] Return("PJSIP/100-00000001", "FALSE") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s@macro-user-callerid:15] ExecIf("PJSIP/100-00000001", "0?Set(CHANNEL(language)=)") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s@macro-user-callerid:16] GotoIf("PJSIP/100-00000001", "1?continue") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Goto (macro-user-callerid,s,30)
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s@macro-user-callerid:30] Set("PJSIP/100-00000001", "CALLERID(number)=100") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s@macro-user-callerid:31] Set("PJSIP/100-00000001", "CALLERID(name)=Ershov Ilia") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s@macro-user-callerid:32] Set("PJSIP/100-00000001", "CDR(cnum)=100") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s@macro-user-callerid:33] Set("PJSIP/100-00000001", "CDR(cnam)=Ershov Ilia") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s@macro-user-callerid:34] Set("PJSIP/100-00000001", "CHANNEL(language)=en") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [+74999403304@from-internal:2] ExecIf("PJSIP/100-00000001", "0 ?Set(CDR(accountcode)=)") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [+74999403304@from-internal:3] Set("PJSIP/100-00000001", "EMERGENCYROUTE=YES") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [+74999403304@from-internal:4] Set("PJSIP/100-00000001", "INTRACOMPANYROUTE=YES") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [+74999403304@from-internal:5] Set("PJSIP/100-00000001", "MOHCLASS=default") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [+74999403304@from-internal:6] ExecIf("PJSIP/100-00000001", "1?Set(TRUNKCIDOVERRIDE=85624)") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [+74999403304@from-internal:7] Set("PJSIP/100-00000001", "_NODEST=") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [+74999403304@from-internal:8] Gosub("PJSIP/100-00000001", "sub-record-check,s,1(out,+74999403304,)") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s@sub-record-check:1] Set("PJSIP/100-00000001", "REC_POLICY_MODE_SAVE=") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s@sub-record-check:2] GotoIf("PJSIP/100-00000001", "1?check") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Goto (sub-record-check,s,7)
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s@sub-record-check:7] Set("PJSIP/100-00000001", "__MON_FMT=wav") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s@sub-record-check:8] GotoIf("PJSIP/100-00000001", "1?next") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Goto (sub-record-check,s,11)
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s@sub-record-check:11] ExecIf("PJSIP/100-00000001", "0?Return()") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s@sub-record-check:12] ExecIf("PJSIP/100-00000001", "0?Set(__REC_POLICY_MODE=)") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s@sub-record-check:13] GotoIf("PJSIP/100-00000001", "0?out,1") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s@sub-record-check:14] Set("PJSIP/100-00000001", "__REC_STATUS=INITIALIZED") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s@sub-record-check:15] Set("PJSIP/100-00000001", "NOW=1417005050") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s@sub-record-check:16] Set("PJSIP/100-00000001", "__DAY=26") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s@sub-record-check:17] Set("PJSIP/100-00000001", "__MONTH=11") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s@sub-record-check:18] Set("PJSIP/100-00000001", "__YEAR=2014") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s@sub-record-check:19] Set("PJSIP/100-00000001", "__TIMESTR=20141126-153050") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s@sub-record-check:20] Set("PJSIP/100-00000001", "__FROMEXTEN=100") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s@sub-record-check:21] Set("PJSIP/100-00000001", "__CALLFILENAME=out-+74999403304-100-20141126-153050-1417005050.12") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s@sub-record-check:22] Goto("PJSIP/100-00000001", "out,1") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Goto (sub-record-check,out,1)
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [out@sub-record-check:1] ExecIf("PJSIP/100-00000001", "1?Set(__REC_POLICY_MODE=always)") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [out@sub-record-check:2] GosubIf("PJSIP/100-00000001", "1?record,1(exten,+74999403304,100)") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [record@sub-record-check:1] Set("PJSIP/100-00000001", "AUDIOHOOK_INHERIT(MixMonitor)=yes") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [record@sub-record-check:2] MixMonitor("PJSIP/100-00000001", "2014/11/26/out-+74999403304-100-20141126-153050-1417005050.12.wav,,") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [record@sub-record-check:3] Set("PJSIP/100-00000001", "__REC_STATUS=RECORDING") in new stack
[2014-11-26 15:30:50] VERBOSE[2162][C-00000001] app_mixmonitor.c: == Begin MixMonitor Recording PJSIP/100-00000001
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [record@sub-record-check:4] Set("PJSIP/100-00000001", "CDR(recordingfile)=out-+74999403304-100-20141126-153050-1417005050.12.wav") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [record@sub-record-check:5] Return("PJSIP/100-00000001", "") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [out@sub-record-check:3] Return("PJSIP/100-00000001", "") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [+74999403304@from-internal:9] Macro("PJSIP/100-00000001", "dialout-trunk,1,+74999403304,,off") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s@macro-dialout-trunk:1] Set("PJSIP/100-00000001", "DIAL_TRUNK=1") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s@macro-dialout-trunk:2] GosubIf("PJSIP/100-00000001", "0?sub-pincheck,s,1()") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s@macro-dialout-trunk:3] GotoIf("PJSIP/100-00000001", "0?disabletrunk,1") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s@macro-dialout-trunk:4] Set("PJSIP/100-00000001", "DIAL_NUMBER=+74999403304") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s@macro-dialout-trunk:5] Set("PJSIP/100-00000001", "DIAL_TRUNK_OPTIONS=Ttr") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s@macro-dialout-trunk:6] Set("PJSIP/100-00000001", "OUTBOUND_GROUP=OUT_1") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s@macro-dialout-trunk:7] GotoIf("PJSIP/100-00000001", "1?nomax") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Goto (macro-dialout-trunk,s,9)
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s@macro-dialout-trunk:9] GotoIf("PJSIP/100-00000001", "1?skipoutcid") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Goto (macro-dialout-trunk,s,12)
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s@macro-dialout-trunk:12] GosubIf("PJSIP/100-00000001", "1?sub-flp-1,s,1()") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s@sub-flp-1:1] ExecIf("PJSIP/100-00000001", "1?Return()") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s@macro-dialout-trunk:13] Set("PJSIP/100-00000001", "OUTNUM=+74999403304") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s@macro-dialout-trunk:14] Set("PJSIP/100-00000001", "custom=SIP/zadarma") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s@macro-dialout-trunk:15] ExecIf("PJSIP/100-00000001", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Ttr)") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s@macro-dialout-trunk:16] ExecIf("PJSIP/100-00000001", "0?Set(DIAL_TRUNK_OPTIONS=TtrM(confirm))") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s@macro-dialout-trunk:17] Macro("PJSIP/100-00000001", "dialout-trunk-predial-hook,") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("PJSIP/100-00000001", "") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s@macro-dialout-trunk:18] GotoIf("PJSIP/100-00000001", "0?bypass,1") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s@macro-dialout-trunk:19] ExecIf("PJSIP/100-00000001", "1?Set(CONNECTEDLINE(num,i)=+74999403304)") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s@macro-dialout-trunk:20] ExecIf("PJSIP/100-00000001", "1?Set(CONNECTEDLINE(name,i)=CID:100)") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s@macro-dialout-trunk:21] GotoIf("PJSIP/100-00000001", "0?customtrunk") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s@macro-dialout-trunk:22] Dial("PJSIP/100-00000001", "SIP/zadarma/+74999403304,300,Ttr") in new stack
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] netsock2.c: == Using SIP RTP TOS bits 184
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] netsock2.c: == Using SIP RTP CoS mark 5
[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] app_dial.c: -- Called SIP/zadarma/+74999403304
[2014-11-26 15:30:51] VERBOSE[1836][C-00000001] chan_sip.c: -- Got SIP response 503 "Service Unavailable" back from 144.76.42.108:5060
[2014-11-26 15:30:51] VERBOSE[2161][C-00000001] app_dial.c: -- SIP/zadarma-00000001 is circuit-busy
[2014-11-26 15:30:51] VERBOSE[2161][C-00000001] app_dial.c: == Everyone is busy/congested at this time (1:0/1/0)
[2014-11-26 15:30:51] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s@macro-dialout-trunk:23] NoOp("PJSIP/100-00000001", "Dial failed for some reason with DIALSTATUS = CONGESTION and HANGUPCAUSE = 34") in new stack
[2014-11-26 15:30:51] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s@macro-dialout-trunk:24] GotoIf("PJSIP/100-00000001", "0?continue,1:s-CONGESTION,1") in new stack
[2014-11-26 15:30:51] VERBOSE[2161][C-00000001] pbx.c: -- Goto (macro-dialout-trunk,s-CONGESTION,1)
[2014-11-26 15:30:51] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s-CONGESTION@macro-dialout-trunk:1] Set("PJSIP/100-00000001", "RC=34") in new stack
[2014-11-26 15:30:51] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s-CONGESTION@macro-dialout-trunk:2] Goto("PJSIP/100-00000001", "34,1") in new stack
[2014-11-26 15:30:51] VERBOSE[2161][C-00000001] pbx.c: -- Goto (macro-dialout-trunk,34,1)
[2014-11-26 15:30:51] VERBOSE[2161][C-00000001] pbx.c: -- Executing [34@macro-dialout-trunk:1] Goto("PJSIP/100-00000001", "continue,1") in new stack
[2014-11-26 15:30:51] VERBOSE[2161][C-00000001] pbx.c: -- Goto (macro-dialout-trunk,continue,1)
[2014-11-26 15:30:51] VERBOSE[2161][C-00000001] pbx.c: -- Executing [continue@macro-dialout-trunk:1] NoOp("PJSIP/100-00000001", "TRUNK Dial failed due to CONGESTION HANGUPCAUSE: 34 - failing through to other trunks") in new stack
[2014-11-26 15:30:51] VERBOSE[2161][C-00000001] pbx.c: -- Executing [continue@macro-dialout-trunk:2] Set("PJSIP/100-00000001", "CALLERID(number)=100") in new stack
[2014-11-26 15:30:51] VERBOSE[2161][C-00000001] pbx.c: -- Executing [+74999403304@from-internal:10] Macro("PJSIP/100-00000001", "outisbusy,") in new stack
[2014-11-26 15:30:51] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s@macro-outisbusy:1] Progress("PJSIP/100-00000001", "") in new stack
[2014-11-26 15:30:51] VERBOSE[2161][C-00000001] pbx.c: -- Executing [s@macro-outisbusy:2] GotoIf("PJSIP/100-00000001", "1?emergency,1") in new stack
[2014-11-26 15:30:51] VERBOSE[2161][C-00000001] pbx.c: -- Goto (macro-outisbusy,emergency,1)
[2014-11-26 15:30:51] VERBOSE[2161][C-00000001] pbx.c: -- Executing [emergency@macro-outisbusy:1] Playback("PJSIP/100-00000001", "all-circuits-busy-now&pls-try-call-later") in new stack
[2014-11-26 15:30:51] VERBOSE[2161][C-00000001] file.c: -- <PJSIP/100-00000001> Playing 'all-circuits-busy-now.gsm' (language 'en')
[2014-11-26 15:30:53] VERBOSE[2161][C-00000001] file.c: -- <PJSIP/100-00000001> Playing 'pls-try-call-later.gsm' (language 'en')
[2014-11-26 15:30:55] VERBOSE[2161][C-00000001] pbx.c: -- Executing [emergency@macro-outisbusy:2] Congestion("PJSIP/100-00000001", "20") in new stack
[2014-11-26 15:30:56] VERBOSE[2161][C-00000001] app_macro.c: == Spawn extension (macro-outisbusy, emergency, 2) exited non-zero on 'PJSIP/100-00000001' in macro 'outisbusy'
[2014-11-26 15:30:56] VERBOSE[2161][C-00000001] pbx.c: == Spawn extension (from-internal, +74999403304, 10) exited non-zero on 'PJSIP/100-00000001'
[2014-11-26 15:30:56] VERBOSE[2161][C-00000001] pbx.c: -- Executing [h@from-internal:1] Hangup("PJSIP/100-00000001", "") in new stack
[2014-11-26 15:30:56] VERBOSE[2161][C-00000001] pbx.c: == Spawn extension (from-internal, h, 1) exited non-zero on 'PJSIP/100-00000001'
[2014-11-26 15:30:56] VERBOSE[2162][C-00000001] app_mixmonitor.c: == MixMonitor close filestream (mixed)
[2014-11-26 15:30:56] VERBOSE[2162][C-00000001] app_mixmonitor.c: == End MixMonitor Recording PJSIP/100-00000001
iliaxxx
Сообщения: 35
Зарегистрирован: 15 апр 2014, 08:51

Re: Настройка Asterisk за nat

Сообщение iliaxxx »

Мне нравится
Got SIP response 503 "Service Unavailable" back from 144.76.42.108:5060
Мет стоило через nat пробросить порт tcp/udp 5060?
ded
Сообщения: 15619
Зарегистрирован: 26 авг 2010, 19:00

Re: Настройка Asterisk за nat

Сообщение ded »

externIP & Localnet не при чём. Связь есть, вызов происходит

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

[2014-11-26 15:30:50] VERBOSE[2161][C-00000001] app_dial.c: -- Called SIP/zadarma/+74999403304
и ответ от задармы приходит -

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

[2014-11-26 15:30:51] VERBOSE[1836][C-00000001] chan_sip.c: -- Got SIP response 503 "Service Unavailable" back from 144.76.42.108:5060
так что обращайтесь к задарме, может быть удасться получить задарма какой-то внятный ответ, например: "присылайте без плюсика, SIP/zadarma/74999403304"

iliaxxx, и когда Вы увидите уже всё прописанное золотыми буквами, специально для Вас?
Изображение
iliaxxx
Сообщения: 35
Зарегистрирован: 15 апр 2014, 08:51

Re: Настройка Asterisk за nat

Сообщение iliaxxx »

В тот то и проблема что это мой сервре говорит что не может дозвониться а не сервре заббикса.
iliaxxx
Сообщения: 35
Зарегистрирован: 15 апр 2014, 08:51

Re: Настройка Asterisk за nat

Сообщение iliaxxx »

Все, тама закрыта. Стояла блокировка по IP со стороны задармы.
ded
Сообщения: 15619
Зарегистрирован: 26 авг 2010, 19:00

Re: Настройка Asterisk за nat

Сообщение ded »

iliaxxx писал(а):В тот то и проблема что это мой сервре говорит что не может дозвониться а не сервре заббикса.
Врёте Вы всё.

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

Got SIP response 503 "Service Unavailable" back from 144.76.42.108

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

host 144.76.42.108 
108.42.76.144.in-addr.arpa domain name pointer gate08.zadarma.com
Ответить
© 2008 — 2024 Asterisk.ru
Digium, Asterisk and AsteriskNOW are registered trademarks of Digium, Inc.
Design and development by PostMet-Netzwerk GmbH