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

Нужна помощь в диагностике.

Предложения услуг, поиск исполнителей, покупка/продажа оборудования

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

ytkanos
Сообщения: 6
Зарегистрирован: 08 сен 2016, 01:06

Нужна помощь в диагностике.

Сообщение ytkanos »

Настроена Elastix за NAT'ом, но постоянно возникают проблемы с TRUNK каналом.
Иногда вызов не доходит до asterisk.
Иногда вызов доходит, но в логах появляется сообщение:

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

[2016-09-08 00:44:19] NOTICE[27242][C-000000fc]: chan_sip.c:25853 handle_request_invite: Failed to authenticate device "9210000000" <sip:9210000000@ip_sip_провайдера>;tag=as7d120fd2
На маршрутизаторе настроен проброс портов 10000-20000 и 5060. ALG отключен.

Настройки TRUNK:
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER:
PEER Details

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

host=ip_sip_провайдера
username=22222
secret=password
type=friend
qualify=200
nat=yes
maxexpirey=100
insecure=invite,port
fromuser=22222
fromdomain=ip_sip_провайдера
dtmfmode=rfc2833
disallow=all
allow=alaw
Register String

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

22222:password@ip_sip_провайдера
Общие настройки:
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER:
sip*CLI> sip show settings


Global Settings:
----------------
UDP Bindaddress: 0.0.0.0:5060
TCP SIP Bindaddress: Disabled
TLS SIP Bindaddress: Disabled
Videosupport: No
Textsupport: No
Ignore SDP sess. ver.: No
AutoCreate Peer: Off
Match Auth Username: No
Allow unknown access: No
Allow subscriptions: Yes
Allow overlap dialing: Yes
Allow promisc. redir: No
Enable call counters: No
SIP domain support: No
Realm. auth: No
Our auth realm asterisk
Use domains as realms: No
Call to non-local dom.: Yes
URI user is phone no: No
Always auth rejects: Yes
Direct RTP setup: No
User Agent: FPBX-2.11.0(11.21.0)
SDP Session Name: Asterisk PBX 11.21.0
SDP Owner Name: root
Reg. context: (not set)
Regexten on Qualify: No
Trust RPID: No
Send RPID: No
Legacy userfield parse: No
Send Diversion: Yes
Caller ID: Unknown
From: Domain:
Record SIP history: Off
Call Events: Off
Auth. Failure Events: Off
T.38 support: No
T.38 EC mode: Unknown
T.38 MaxDtgrm: 4294967295
SIP realtime: Disabled
Qualify Freq : 60000 ms
Q.850 Reason header: No
Store SIP_CAUSE: No

Network QoS Settings:
---------------------------
IP ToS SIP: CS3
IP ToS RTP audio: EF
IP ToS RTP video: AF41
IP ToS RTP text: CS0
802.1p CoS SIP: 4
802.1p CoS RTP audio: 5
802.1p CoS RTP video: 6
802.1p CoS RTP text: 5
Jitterbuffer enabled: No

Network Settings:
---------------------------
SIP address remapping: Enabled using externaddr
Externhost: <none>
Externaddr: Внешний_ip:0
Externrefresh: 10
Localnet: 192.168.0.0/255.255.255.0
192.168.0.0/255.255.255.0

Global Signalling Settings:
---------------------------
Codecs: (gsm|ulaw|alaw)
Codec Order: ulaw:20,gsm:20,alaw:20
Relax DTMF: No
RFC2833 Compensation: No
Symmetric RTP: Yes
Compact SIP headers: No
RTP Keepalive: 0 (Disabled)
RTP Timeout: 30
RTP Hold Timeout: 300
MWI NOTIFY mime type: application/simple-message-summary
DNS SRV lookup: No
Pedantic SIP support: Yes
Reg. min duration 60 secs
Reg. max duration: 3600 secs
Reg. default duration: 120 secs
Sub. min duration 60 secs
Sub. max duration: 3600 secs
Outbound reg. timeout: 40 secs
Outbound reg. attempts: 0
Outbound reg. retry 403:0
Notify ringing state: Yes
Include CID: No
Notify hold state: Yes
SIP Transfer mode: open
Max Call Bitrate: 384 kbps
Auto-Framing: No
Outb. proxy: <not set>
Session Timers: Accept
Session Refresher: uas
Session Expires: 1800 secs
Session Min-SE: 90 secs
Timer T1: 500
Timer T1 minimum: 100
Timer B: 32000
No premature media: Yes
Max forwards: 70

Default Settings:
-----------------
Allowed transports: UDP
Outbound transport: UDP
Context: from-sip-external
Record on feature: automon
Record off feature: automon
Force rport: Yes
DTMF: rfc2833
Qualify: 2000
Keepalive: 0
Use ClientCode: No
Progress inband: Never
Language: ru
Tone zone: <Not set>
MOH Interpret: default
MOH Suggest:
Voice Mail Extension: *97
ytkanos
Сообщения: 6
Зарегистрирован: 08 сен 2016, 01:06

Re: Нужна помощь в диагностике.

Сообщение ytkanos »

Добавлю еще дебаг транка
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER:
sip*CLI>sip set debug peer NBN
SIP Debugging Enabled for IP: ip_провайдера

<--- SIP read from UDP:ip_провайдера:5060 --->
OPTIONS sip:s@9внешний_ip:5060 SIP/2.0
Via: SIP/2.0/UDP ip_провайдера:5060;branch=z9hG4bK03bbce4c;rport
Max-Forwards: 70
From: "cidrtpbx" <sip:cidrtpbx@ip_провайдера>;tag=as67a2fca0
To: <sip:s@9внешний_ip:5060>
Contact: <sip:cidrtpbx@ip_провайдера>
Call-ID: 7ac128c40a5f53695237a5f467eaea92@ip_провайдера
CSeq: 102 OPTIONS
User-Agent: uartpbx
Date: Thu, 08 Sep 2016 07:41:04 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Content-Length: 0

<------------->
--- (13 headers 0 lines) ---
Sending to ip_провайдера:5060 (NAT)
Looking for s in from-sip-external (domain 9внешний_ip)

<--- Transmitting (NAT) to ip_провайдера:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP ip_провайдера:5060;branch=z9hG4bK03bbce4c;received=ip_провайдера;rport=5060
From: "cidrtpbx" <sip:cidrtpbx@ip_провайдера>;tag=as67a2fca0
To: <sip:s@9внешний_ip:5060>;tag=as32e039a7
Call-ID: 7ac128c40a5f53695237a5f467eaea92@ip_провайдера
CSeq: 102 OPTIONS
Server: FPBX-2.11.0(11.21.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Contact: <sip:9внешний_ip:5060>
Accept: application/sdp
Content-Length: 0


<------------>
Scheduling destruction of SIP dialog '7ac128c40a5f53695237a5f467eaea92@ip_провайдера' in 32000 ms (Method: OPTIONS)
[2016-09-08 10:41:19] NOTICE[13257]: chan_sip.c:28434 handle_request_register: Registration from '"78028" <sip:78028@9внешний_ip:5060>' failed for '192.168.0.1:5096' - Wrong password
[2016-09-08 10:41:34] NOTICE[13257]: chan_sip.c:28434 handle_request_register: Registration from '"28" <sip:28@9внешний_ip:5060>' failed for '192.168.0.1:5076' - Wrong password
Reliably Transmitting (NAT) to ip_провайдера:5060:
OPTIONS sip:ip_провайдера SIP/2.0
Via: SIP/2.0/UDP 9внешний_ip:5060;branch=z9hG4bK0a863fc6;rport
Max-Forwards: 70
From: "Unknown" <sip:22222@9внешний_ip>;tag=as55f16db3
To: <sip:ip_провайдера>
Contact: <sip:22222@9внешний_ip:5060>
Call-ID: 3c238ef156f07a9657d3f7c9579f69cc@9внешний_ip:5060
CSeq: 102 OPTIONS
User-Agent: FPBX-2.11.0(11.21.0)
Date: Thu, 08 Sep 2016 07:41:35 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0


---

<--- SIP read from UDP:ip_провайдера:5060 --->
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 9внешний_ip:5060;branch=z9hG4bK0a863fc6;received=9внешний_ip;rport=1043
From: "Unknown" <sip:22222@9внешний_ip>;tag=as55f16db3
To: <sip:ip_провайдера>;tag=as3bbd7c85
Call-ID: 3c238ef156f07a9657d3f7c9579f69cc@9внешний_ip:5060
CSeq: 102 OPTIONS
Server: uartpbx
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Accept: application/sdp
Content-Length: 0

<------------->
--- (11 headers 0 lines) ---
Really destroying SIP dialog '3c238ef156f07a9657d3f7c9579f69cc@9внешний_ip:5060' Method: OPTIONS
Really destroying SIP dialog '7ac128c40a5f53695237a5f467eaea92@ip_провайдера' Method: OPTIONS

<--- SIP read from UDP:ip_провайдера:5060 --->
INVITE sip:s@9внешний_ip:5060 SIP/2.0
Via: SIP/2.0/UDP ip_провайдера:5060;branch=z9hG4bK75c0e4f2;rport
Max-Forwards: 70
From: "9210000000" <sip:9210000000@ip_провайдера>;tag=as23d7e87a
To: <sip:s@9внешний_ip:5060>
Contact: <sip:9210000000@ip_провайдера>
Call-ID: 5212f8813a96eb987106629b1736bbcc@ip_провайдера
CSeq: 102 INVITE
User-Agent: uartpbx
Remote-Party-ID: "9210000000" <sip:9210000000@ip_провайдера>;privacy=off;screen=no
Date: Thu, 08 Sep 2016 07:41:41 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 232

v=0
o=ownerrtsip 1218070723 1218070723 IN IP4 ip_провайдера
s=sdprtpbx
c=IN IP4 ip_провайдера
t=0 0
m=audio 45898 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
<------------->
--- (15 headers 11 lines) ---
Sending to ip_провайдера:5060 (NAT)
Sending to ip_провайдера:5060 (NAT)
Using INVITE request as basis request - 5212f8813a96eb987106629b1736bbcc@ip_провайдера
Found peer 'NBN' for '9210000000' from ip_провайдера:5060
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
Found RTP audio format 8
Found RTP audio format 101
Found audio description format PCMA for ID 8
Found audio description format telephone-event for ID 101
Capabilities: us - (alaw), peer - audio=(alaw)/video=(nothing)/text=(nothing), combined - (alaw)
Non-codec capabilities (dtmf): us - 0x1 (telephone-event|), peer - 0x1 (telephone-event|), combined - 0x1 (telephone-event|)
Peer audio RTP is at port ip_провайдера:45898
Looking for s in from-trunk-sip-NBN (domain 9внешний_ip)
list_route: hop: <sip:9210000000@ip_провайдера>

<--- Transmitting (NAT) to ip_провайдера:5060 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP ip_провайдера:5060;branch=z9hG4bK75c0e4f2;received=ip_провайдера;rport=5060
From: "9210000000" <sip:9210000000@ip_провайдера>;tag=as23d7e87a
To: <sip:s@9внешний_ip:5060>
Call-ID: 5212f8813a96eb987106629b1736bbcc@ip_провайдера
CSeq: 102 INVITE
Server: FPBX-2.11.0(11.21.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Session-Expires: 1800;refresher=uas
Contact: <sip:s@9внешний_ip:5060>
Content-Length: 0


<------------>
-- Executing [s@from-trunk-sip-NBN:1] Set("SIP/NBN-00000000", "GROUP()=OUT_2") in new stack
-- Executing [s@from-trunk-sip-NBN:2] Goto("SIP/NBN-00000000", "from-trunk,s,1") in new stack
-- Goto (from-trunk,s,1)
-- Executing [s@from-trunk:1] ExecIf("SIP/NBN-00000000", "1?Set(__FROM_DID=s)") in new stack
-- Executing [s@from-trunk:2] Gosub("SIP/NBN-00000000", "app-blacklist-check,s,1()") in new stack
-- Executing [s@app-blacklist-check:1] GotoIf("SIP/NBN-00000000", "0?blacklisted") in new stack
-- Executing [s@app-blacklist-check:2] Set("SIP/NBN-00000000", "CALLED_BLACKLIST=1") in new stack
-- Executing [s@app-blacklist-check:3] Return("SIP/NBN-00000000", "") in new stack
-- Executing [s@from-trunk:3] Set("SIP/NBN-00000000", "CDR(did)=s") in new stack
-- Executing [s@from-trunk:4] ExecIf("SIP/NBN-00000000", "0 ?Set(CALLERID(name)=9210000000)") in new stack
-- Executing [s@from-trunk:5] Set("SIP/NBN-00000000", "CHANNEL(musicclass)=default") in new stack
-- Executing [s@from-trunk:6] Set("SIP/NBN-00000000", "__MOHCLASS=default") in new stack
[2016-09-08 10:41:41] WARNING[13483][C-00000004]: func_callerid.c:917 callerpres_read: CALLERPRES is deprecated. Use CALLERID(name-pres) or CALLERID(num-pres) instead.
-- Executing [s@from-trunk:7] Set("SIP/NBN-00000000", "__CALLINGPRES_SV=allowed_not_screened") in new stack
-- Executing [s@from-trunk:8] Set("SIP/NBN-00000000", "CALLERPRES()=allowed_not_screened") in new stack
-- Executing [s@from-trunk:9] Goto("SIP/NBN-00000000", "from-did-direct,100,1") in new stack
-- Goto (from-did-direct,100,1)
-- Executing [100@from-did-direct:1] Set("SIP/NBN-00000000", "__RINGTIMER=15") in new stack
-- Executing [100@from-did-direct:2] Macro("SIP/NBN-00000000", "exten-vm,novm,100,0,0,0") in new stack
-- Executing [s@macro-exten-vm:1] Macro("SIP/NBN-00000000", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/NBN-00000000", "TOUCH_MONITOR=1473320501.0") in new stack
-- Executing [s@macro-user-callerid:2] Set("SIP/NBN-00000000", "AMPUSER=9210000000") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("SIP/NBN-00000000", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("SIP/NBN-00000000", "1?Set(REALCALLERIDNUM=9210000000)") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/NBN-00000000", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/NBN-00000000", "0?limit") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/NBN-00000000", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:8] GotoIf("SIP/NBN-00000000", "1?report") in new stack
-- Goto (macro-user-callerid,s,15)
-- Executing [s@macro-user-callerid:15] GotoIf("SIP/NBN-00000000", "0?continue") in new stack
-- Executing [s@macro-user-callerid:16] Set("SIP/NBN-00000000", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:17] GotoIf("SIP/NBN-00000000", "1?continue") in new stack
-- Goto (macro-user-callerid,s,28)
-- Executing [s@macro-user-callerid:28] Set("SIP/NBN-00000000", "CALLERID(number)=9210000000") in new stack
-- Executing [s@macro-user-callerid:29] Set("SIP/NBN-00000000", "CALLERID(name)=9210000000") in new stack
-- Executing [s@macro-user-callerid:30] Set("SIP/NBN-00000000", "CDR(cnum)=9210000000") in new stack
-- Executing [s@macro-user-callerid:31] Set("SIP/NBN-00000000", "CDR(cnam)=9210000000") in new stack
-- Executing [s@macro-user-callerid:32] Set("SIP/NBN-00000000", "CHANNEL(language)=ru") in new stack
-- Executing [s@macro-exten-vm:2] Set("SIP/NBN-00000000", "RingGroupMethod=none") in new stack
-- Executing [s@macro-exten-vm:3] Set("SIP/NBN-00000000", "__EXTTOCALL=100") in new stack
-- Executing [s@macro-exten-vm:4] Set("SIP/NBN-00000000", "__PICKUPMARK=100") in new stack
-- Executing [s@macro-exten-vm:5] Set("SIP/NBN-00000000", "RT=") in new stack
-- Executing [s@macro-exten-vm:6] Gosub("SIP/NBN-00000000", "sub-record-check,s,1(exten,100,)") in new stack
-- Executing [s@sub-record-check:1] Set("SIP/NBN-00000000", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [s@sub-record-check:2] GotoIf("SIP/NBN-00000000", "1?check") in new stack
-- Goto (sub-record-check,s,7)
-- Executing [s@sub-record-check:7] Set("SIP/NBN-00000000", "__MON_FMT=wav") in new stack
-- Executing [s@sub-record-check:8] GotoIf("SIP/NBN-00000000", "1?next") in new stack
-- Goto (sub-record-check,s,11)
-- Executing [s@sub-record-check:11] ExecIf("SIP/NBN-00000000", "0?Return()") in new stack
-- Executing [s@sub-record-check:12] ExecIf("SIP/NBN-00000000", "0?Set(__REC_POLICY_MODE=)") in new stack
-- Executing [s@sub-record-check:13] GotoIf("SIP/NBN-00000000", "0?exten,1") in new stack
-- Executing [s@sub-record-check:14] Set("SIP/NBN-00000000", "__REC_STATUS=INITIALIZED") in new stack
-- Executing [s@sub-record-check:15] Set("SIP/NBN-00000000", "NOW=1473320501") in new stack
-- Executing [s@sub-record-check:16] Set("SIP/NBN-00000000", "__DAY=08") in new stack
-- Executing [s@sub-record-check:17] Set("SIP/NBN-00000000", "__MONTH=09") in new stack
-- Executing [s@sub-record-check:18] Set("SIP/NBN-00000000", "__YEAR=2016") in new stack
-- Executing [s@sub-record-check:19] Set("SIP/NBN-00000000", "__TIMESTR=20160908-104141") in new stack
-- Executing [s@sub-record-check:20] Set("SIP/NBN-00000000", "__FROMEXTEN=9210000000") in new stack
-- Executing [s@sub-record-check:21] Set("SIP/NBN-00000000", "__CALLFILENAME=exten-100-9210000000-20160908-104141-1473320501.0") in new stack
-- Executing [s@sub-record-check:22] Goto("SIP/NBN-00000000", "exten,1") in new stack
-- Goto (sub-record-check,exten,1)
-- Executing [exten@sub-record-check:1] GotoIf("SIP/NBN-00000000", "0?callee") in new stack
-- Executing [exten@sub-record-check:2] Set("SIP/NBN-00000000", "__REC_POLICY_MODE=dontcare") in new stack
-- Executing [exten@sub-record-check:3] GotoIf("SIP/NBN-00000000", "1?caller") in new stack
-- Goto (sub-record-check,exten,10)
-- Executing [exten@sub-record-check:10] Set("SIP/NBN-00000000", "__REC_POLICY_MODE=") in new stack
-- Executing [exten@sub-record-check:11] GosubIf("SIP/NBN-00000000", "0?record,1(exten,100,9210000000)") in new stack
-- Executing [exten@sub-record-check:12] Return("SIP/NBN-00000000", "") in new stack
-- Executing [s@macro-exten-vm:7] Macro("SIP/NBN-00000000", "dial-one,,tr,100") in new stack
-- Executing [s@macro-dial-one:1] Set("SIP/NBN-00000000", "DEXTEN=100") in new stack
-- Executing [s@macro-dial-one:2] Set("SIP/NBN-00000000", "DIALSTATUS_CW=") in new stack
-- Executing [s@macro-dial-one:3] GosubIf("SIP/NBN-00000000", "0?screen,1()") in new stack
-- Executing [s@macro-dial-one:4] GosubIf("SIP/NBN-00000000", "0?cf,1()") in new stack
-- Executing [s@macro-dial-one:5] GotoIf("SIP/NBN-00000000", "1?skip1") in new stack
-- Goto (macro-dial-one,s,8)
-- Executing [s@macro-dial-one:8] GotoIf("SIP/NBN-00000000", "0?nodial") in new stack
-- Executing [s@macro-dial-one:9] GotoIf("SIP/NBN-00000000", "0?continue") in new stack
-- Executing [s@macro-dial-one:10] Set("SIP/NBN-00000000", "EXTHASCW=") in new stack
-- Executing [s@macro-dial-one:11] GotoIf("SIP/NBN-00000000", "1?next1:cwinusebusy") in new stack
-- Goto (macro-dial-one,s,12)
-- Executing [s@macro-dial-one:12] GotoIf("SIP/NBN-00000000", "0?docfu:skip3") in new stack
-- Goto (macro-dial-one,s,16)
-- Executing [s@macro-dial-one:16] GotoIf("SIP/NBN-00000000", "1?next2:continue") in new stack
-- Goto (macro-dial-one,s,17)
-- Executing [s@macro-dial-one:17] GotoIf("SIP/NBN-00000000", "1?continue") in new stack
-- Goto (macro-dial-one,s,25)
-- Executing [s@macro-dial-one:25] GotoIf("SIP/NBN-00000000", "0?nodial") in new stack
-- Executing [s@macro-dial-one:26] GosubIf("SIP/NBN-00000000", "1?dstring,1():dlocal,1()") in new stack
-- Executing [dstring@macro-dial-one:1] Set("SIP/NBN-00000000", "DSTRING=") in new stack
-- Executing [dstring@macro-dial-one:2] Set("SIP/NBN-00000000", "DEVICES=100") in new stack
-- Executing [dstring@macro-dial-one:3] ExecIf("SIP/NBN-00000000", "0?Return()") in new stack
-- Executing [dstring@macro-dial-one:4] ExecIf("SIP/NBN-00000000", "0?Set(DEVICES=00)") in new stack
-- Executing [dstring@macro-dial-one:5] Set("SIP/NBN-00000000", "LOOPCNT=1") in new stack
-- Executing [dstring@macro-dial-one:6] Set("SIP/NBN-00000000", "ITER=1") in new stack
-- Executing [dstring@macro-dial-one:7] Set("SIP/NBN-00000000", "THISDIAL=SIP/100") in new stack
-- Executing [dstring@macro-dial-one:8] GosubIf("SIP/NBN-00000000", "1?zap2dahdi,1()") in new stack
-- Executing [zap2dahdi@macro-dial-one:1] ExecIf("SIP/NBN-00000000", "0?Return()") in new stack
-- Executing [zap2dahdi@macro-dial-one:2] Set("SIP/NBN-00000000", "NEWDIAL=") in new stack
-- Executing [zap2dahdi@macro-dial-one:3] Set("SIP/NBN-00000000", "LOOPCNT2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:4] Set("SIP/NBN-00000000", "ITER2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:5] Set("SIP/NBN-00000000", "THISPART2=SIP/100") in new stack
-- Executing [zap2dahdi@macro-dial-one:6] ExecIf("SIP/NBN-00000000", "0?Set(THISPART2=DAHDI/100)") in new stack
-- Executing [zap2dahdi@macro-dial-one:7] Set("SIP/NBN-00000000", "NEWDIAL=SIP/100&") in new stack
-- Executing [zap2dahdi@macro-dial-one:8] Set("SIP/NBN-00000000", "ITER2=2") in new stack
-- Executing [zap2dahdi@macro-dial-one:9] GotoIf("SIP/NBN-00000000", "0?begin2") in new stack
-- Executing [zap2dahdi@macro-dial-one:10] Set("SIP/NBN-00000000", "THISDIAL=SIP/100") in new stack
-- Executing [zap2dahdi@macro-dial-one:11] Return("SIP/NBN-00000000", "") in new stack
-- Executing [dstring@macro-dial-one:9] Set("SIP/NBN-00000000", "DSTRING=SIP/100&") in new stack
-- Executing [dstring@macro-dial-one:10] Set("SIP/NBN-00000000", "ITER=2") in new stack
-- Executing [dstring@macro-dial-one:11] GotoIf("SIP/NBN-00000000", "0?begin") in new stack
-- Executing [dstring@macro-dial-one:12] Set("SIP/NBN-00000000", "DSTRING=SIP/100") in new stack
-- Executing [dstring@macro-dial-one:13] Return("SIP/NBN-00000000", "") in new stack
-- Executing [s@macro-dial-one:27] GotoIf("SIP/NBN-00000000", "0?nodial") in new stack
-- Executing [s@macro-dial-one:28] GotoIf("SIP/NBN-00000000", "0?skiptrace") in new stack
-- Executing [s@macro-dial-one:29] GosubIf("SIP/NBN-00000000", "1?ctset,1():ctclear,1()") in new stack
-- Executing [ctset@macro-dial-one:1] Set("SIP/NBN-00000000", "DB(CALLTRACE/100)=9210000000") in new stack
-- Executing [ctset@macro-dial-one:2] Return("SIP/NBN-00000000", "") in new stack
-- Executing [s@macro-dial-one:30] Set("SIP/NBN-00000000", "D_OPTIONS=tr") in new stack
-- Executing [s@macro-dial-one:31] ExecIf("SIP/NBN-00000000", "0?SIPAddHeader(Alert-Info: )") in new stack
-- Executing [s@macro-dial-one:32] ExecIf("SIP/NBN-00000000", "0?SIPAddHeader()") in new stack
-- Executing [s@macro-dial-one:33] ExecIf("SIP/NBN-00000000", "1?Set(CHANNEL(musicclass)=default)") in new stack
-- Executing [s@macro-dial-one:34] GosubIf("SIP/NBN-00000000", "0?qwait,1()") in new stack
-- Executing [s@macro-dial-one:35] Set("SIP/NBN-00000000", "__CWIGNORE=") in new stack
-- Executing [s@macro-dial-one:36] Set("SIP/NBN-00000000", "__KEEPCID=TRUE") in new stack
-- Executing [s@macro-dial-one:37] GotoIf("SIP/NBN-00000000", "0?usegoto,1") in new stack
-- Executing [s@macro-dial-one:38] GotoIf("SIP/NBN-00000000", "1?godial") in new stack
-- Goto (macro-dial-one,s,43)
-- Executing [s@macro-dial-one:43] Dial("SIP/NBN-00000000", "SIP/100,,tr") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called SIP/100

<--- Transmitting (NAT) to ip_провайдера:5060 --->
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP ip_провайдера:5060;branch=z9hG4bK75c0e4f2;received=ip_провайдера;rport=5060
From: "9210000000" <sip:9210000000@ip_провайдера>;tag=as23d7e87a
To: <sip:s@9внешний_ip:5060>;tag=as3aa083f4
Call-ID: 5212f8813a96eb987106629b1736bbcc@ip_провайдера
CSeq: 102 INVITE
Server: FPBX-2.11.0(11.21.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Session-Expires: 1800;refresher=uas
Contact: <sip:s@9внешний_ip:5060>
Content-Length: 0


<------------>
-- SIP/100-00000001 is ringing

<--- Transmitting (NAT) to ip_провайдера:5060 --->
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP ip_провайдера:5060;branch=z9hG4bK75c0e4f2;received=ip_провайдера;rport=5060
From: "9210000000" <sip:9210000000@ip_провайдера>;tag=as23d7e87a
To: <sip:s@9внешний_ip:5060>;tag=as3aa083f4
Call-ID: 5212f8813a96eb987106629b1736bbcc@ip_провайдера
CSeq: 102 INVITE
Server: FPBX-2.11.0(11.21.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Session-Expires: 1800;refresher=uas
Contact: <sip:s@9внешний_ip:5060>
Content-Length: 0


<------------>
-- SIP/100-00000001 answered SIP/NBN-00000000
Audio is at 18562
Adding codec 100004 (alaw) to SDP
Adding non-codec 0x1 (telephone-event) to SDP

<--- Reliably Transmitting (NAT) to ip_провайдера:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP ip_провайдера:5060;branch=z9hG4bK75c0e4f2;received=ip_провайдера;rport=5060
From: "9210000000" <sip:9210000000@ip_провайдера>;tag=as23d7e87a
To: <sip:s@9внешний_ip:5060>;tag=as3aa083f4
Call-ID: 5212f8813a96eb987106629b1736bbcc@ip_провайдера
CSeq: 102 INVITE
Server: FPBX-2.11.0(11.21.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Session-Expires: 1800;refresher=uas
Contact: <sip:s@9внешний_ip:5060>
Content-Type: application/sdp
Require: timer
Content-Length: 236

v=0
o=root 71822330 71822330 IN IP4 9внешний_ip
s=Asterisk PBX 11.21.0
c=IN IP4 9внешний_ip
t=0 0
m=audio 18562 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv

<------------>

<--- SIP read from UDP:ip_провайдера:5060 --->
ACK sip:s@9внешний_ip:5060 SIP/2.0
Via: SIP/2.0/UDP ip_провайдера:5060;branch=z9hG4bK2858b673;rport
Max-Forwards: 70
From: "9210000000" <sip:9210000000@ip_провайдера>;tag=as23d7e87a
To: <sip:s@9внешний_ip:5060>;tag=as3aa083f4
Contact: <sip:9210000000@ip_провайдера>
Call-ID: 5212f8813a96eb987106629b1736bbcc@ip_провайдера
CSeq: 102 ACK
User-Agent: uartpbx
Remote-Party-ID: "9210000000" <sip:9210000000@ip_провайдера>;privacy=off;screen=no
Content-Length: 0

<------------->
--- (11 headers 0 lines) ---
> 0x7f1efc028de0 -- Probation passed - setting RTP source address to 192.168.0.176:11934
> 0x7f1ec40140e0 -- Probation passed - setting RTP source address to ip_провайдера:45898
[2016-09-08 10:41:49] NOTICE[13257]: chan_sip.c:15225 sip_reregister: -- Re-registration for 22222@ip_провайдера
REGISTER 11 headers, 0 lines
Reliably Transmitting (NAT) to ip_провайдера:5060:
REGISTER sip:ip_провайдера SIP/2.0
Via: SIP/2.0/UDP 9внешний_ip:5060;branch=z9hG4bK1a7a9bcc;rport
Max-Forwards: 70
From: <sip:22222@ip_провайдера>;tag=as5118b1f7
To: <sip:22222@ip_провайдера>
Call-ID: 7cef460929d0e47d5c7f82c361ae61e5@127.0.0.1
CSeq: 132 REGISTER
User-Agent: FPBX-2.11.0(11.21.0)
Authorization: Digest username="22222", realm="realmrtpbx", algorithm=MD5, uri="sip:ip_провайдера", nonce="3b4e9f79", response="4fb16ef75d5eaaecd40afb32e4aa432e"
Expires: 120
Contact: <sip:s@9внешний_ip:5060>
Content-Length: 0


---

<--- SIP read from UDP:ip_провайдера:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 9внешний_ip:5060;branch=z9hG4bK1a7a9bcc;received=9внешний_ip;rport=1043
From: <sip:22222@ip_провайдера>;tag=as5118b1f7
To: <sip:22222@ip_провайдера>;tag=as45510cd1
Call-ID: 7cef460929d0e47d5c7f82c361ae61e5@127.0.0.1
CSeq: 132 REGISTER
Server: uartpbx
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="realmrtpbx", nonce="15341ddd"
Content-Length: 0

<------------->
--- (11 headers 0 lines) ---
Responding to challenge, registration to domain/host name ip_провайдера
REGISTER 11 headers, 0 lines
Reliably Transmitting (NAT) to ip_провайдера:5060:
REGISTER sip:ip_провайдера SIP/2.0
Via: SIP/2.0/UDP 9внешний_ip:5060;branch=z9hG4bK41aa7755;rport
Max-Forwards: 70
From: <sip:22222@ip_провайдера>;tag=as5118b1f7
To: <sip:22222@ip_провайдера>
Call-ID: 7cef460929d0e47d5c7f82c361ae61e5@127.0.0.1
CSeq: 133 REGISTER
User-Agent: FPBX-2.11.0(11.21.0)
Authorization: Digest username="22222", realm="realmrtpbx", algorithm=MD5, uri="sip:ip_провайдера", nonce="15341ddd", response="c7d131d5201386b2f55d3dd410990cb3"
Expires: 120
Contact: <sip:s@9внешний_ip:5060>
Content-Length: 0


---

<--- SIP read from UDP:ip_провайдера:5060 --->
OPTIONS sip:s@9внешний_ip:5060 SIP/2.0
Via: SIP/2.0/UDP ip_провайдера:5060;branch=z9hG4bK12c42f58;rport
Max-Forwards: 70
From: "cidrtpbx" <sip:cidrtpbx@ip_провайдера>;tag=as3afc6aeb
To: <sip:s@9внешний_ip:5060>
Contact: <sip:cidrtpbx@ip_провайдера>
Call-ID: 5f586c4a0658d825667795f63ea31b8f@ip_провайдера
CSeq: 102 OPTIONS
User-Agent: uartpbx
Date: Thu, 08 Sep 2016 07:41:49 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Content-Length: 0

<------------->
--- (13 headers 0 lines) ---
Sending to ip_провайдера:5060 (NAT)
Looking for s in from-sip-external (domain 9внешний_ip)

<--- Transmitting (NAT) to ip_провайдера:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP ip_провайдера:5060;branch=z9hG4bK12c42f58;received=ip_провайдера;rport=5060
From: "cidrtpbx" <sip:cidrtpbx@ip_провайдера>;tag=as3afc6aeb
To: <sip:s@9внешний_ip:5060>;tag=as70fce21a
Call-ID: 5f586c4a0658d825667795f63ea31b8f@ip_провайдера
CSeq: 102 OPTIONS
Server: FPBX-2.11.0(11.21.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Contact: <sip:9внешний_ip:5060>
Accept: application/sdp
Content-Length: 0


<------------>
Scheduling destruction of SIP dialog '5f586c4a0658d825667795f63ea31b8f@ip_провайдера' in 32000 ms (Method: OPTIONS)

<--- SIP read from UDP:ip_провайдера:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 9внешний_ip:5060;branch=z9hG4bK41aa7755;received=9внешний_ip;rport=1043
From: <sip:22222@ip_провайдера>;tag=as5118b1f7
To: <sip:22222@ip_провайдера>;tag=as45510cd1
Call-ID: 7cef460929d0e47d5c7f82c361ae61e5@127.0.0.1
CSeq: 133 REGISTER
Server: uartpbx
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Expires: 120
Contact: <sip:s@9внешний_ip:5060>;expires=120
Date: Thu, 08 Sep 2016 07:41:49 GMT
Content-Length: 0

<------------->
--- (13 headers 0 lines) ---
[2016-09-08 10:41:49] NOTICE[13257]: chan_sip.c:23791 handle_response_register: Outbound Registration: Expiry for ip_провайдера is 120 sec (Scheduling reregistration in 105 s)
Really destroying SIP dialog '7cef460929d0e47d5c7f82c361ae61e5@127.0.0.1' Method: REGISTER
-- Executing [h@macro-dial-one:1] Macro("SIP/NBN-00000000", "hangupcall,") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/NBN-00000000", "1?endmixmoncheck") in new stack
-- Goto (macro-hangupcall,s,20)
-- Executing [s@macro-hangupcall:20] NoOp("SIP/NBN-00000000", "End of MIXMON check") in new stack
-- Executing [s@macro-hangupcall:21] GotoIf("SIP/NBN-00000000", "1?nomeetmemon") in new stack
-- Goto (macro-hangupcall,s,39)
-- Executing [s@macro-hangupcall:39] NoOp("SIP/NBN-00000000", "End of MEETME check") in new stack
-- Executing [s@macro-hangupcall:40] GotoIf("SIP/NBN-00000000", "1?noautomon") in new stack
-- Goto (macro-hangupcall,s,45)
-- Executing [s@macro-hangupcall:45] NoOp("SIP/NBN-00000000", "TOUCH_MONITOR_OUTPUT=") in new stack
-- Executing [s@macro-hangupcall:46] GotoIf("SIP/NBN-00000000", "1?noautomon2") in new stack
-- Goto (macro-hangupcall,s,52)
-- Executing [s@macro-hangupcall:52] NoOp("SIP/NBN-00000000", "MONITOR_FILENAME=") in new stack
-- Executing [s@macro-hangupcall:53] GotoIf("SIP/NBN-00000000", "1?noautomon3") in new stack
-- Goto (macro-hangupcall,s,59)
-- Executing [s@macro-hangupcall:59] NoOp("SIP/NBN-00000000", "MIXMONITOR_FILENAME=") in new stack
-- Executing [s@macro-hangupcall:60] GotoIf("SIP/NBN-00000000", "1?noautomon4") in new stack
-- Goto (macro-hangupcall,s,62)
-- Executing [s@macro-hangupcall:62] NoOp("SIP/NBN-00000000", "ONETOUCH_RECFILE=") in new stack
-- Executing [s@macro-hangupcall:63] NoOp("SIP/NBN-00000000", "CDR recordingfile set to: ") in new stack
-- Executing [s@macro-hangupcall:64] GotoIf("SIP/NBN-00000000", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,67)
-- Executing [s@macro-hangupcall:67] GotoIf("SIP/NBN-00000000", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,70)
-- Executing [s@macro-hangupcall:70] GotoIf("SIP/NBN-00000000", "1?theend") in new stack
-- Goto (macro-hangupcall,s,72)
-- Executing [s@macro-hangupcall:72] AGI("SIP/NBN-00000000", "hangup.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi
-- <SIP/NBN-00000000>AGI Script hangup.agi completed, returning 0
-- Executing [s@macro-hangupcall:73] Hangup("SIP/NBN-00000000", "") in new stack
== Spawn extension (macro-hangupcall, s, 73) exited non-zero on 'SIP/NBN-00000000' in macro 'hangupcall'
== Spawn extension (macro-dial-one, h, 1) exited non-zero on 'SIP/NBN-00000000'
== Spawn extension (macro-dial-one, s, 43) exited non-zero on 'SIP/NBN-00000000' in macro 'dial-one'
== Spawn extension (macro-exten-vm, s, 7) exited non-zero on 'SIP/NBN-00000000' in macro 'exten-vm'
== Spawn extension (from-did-direct, 100, 2) exited non-zero on 'SIP/NBN-00000000'
Scheduling destruction of SIP dialog '5212f8813a96eb987106629b1736bbcc@ip_провайдера' in 6400 ms (Method: ACK)
set_destination: Parsing <sip:9210000000@ip_провайдера> for address/port to send to
set_destination: set destination to ip_провайдера:5060
Reliably Transmitting (NAT) to ip_провайдера:5060:
BYE sip:9210000000@ip_провайдера SIP/2.0
Via: SIP/2.0/UDP 9внешний_ip:5060;branch=z9hG4bK4453c6cf;rport
Max-Forwards: 70
From: <sip:s@9внешний_ip:5060>;tag=as3aa083f4
To: "9210000000" <sip:9210000000@ip_провайдера>;tag=as23d7e87a
Call-ID: 5212f8813a96eb987106629b1736bbcc@ip_провайдера
CSeq: 102 BYE
User-Agent: FPBX-2.11.0(11.21.0)
X-Asterisk-HangupCause: Normal Clearing
X-Asterisk-HangupCauseCode: 16
Content-Length: 0


---

<--- SIP read from UDP:ip_провайдера:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 9внешний_ip:5060;branch=z9hG4bK4453c6cf;received=9внешний_ip;rport=1044
From: <sip:s@9внешний_ip:5060>;tag=as3aa083f4
To: "9210000000" <sip:9210000000@ip_провайдера>;tag=as23d7e87a
Call-ID: 5212f8813a96eb987106629b1736bbcc@ip_провайдера
CSeq: 102 BYE
Server: uartpbx
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Content-Length: 0

<------------->
--- (10 headers 0 lines) ---
SIP Response message for INCOMING dialog BYE arrived
Really destroying SIP dialog '5212f8813a96eb987106629b1736bbcc@ip_провайдера' Method: ACK
Really destroying SIP dialog '5f586c4a0658d825667795f63ea31b8f@ip_провайдера' Method: OPTIONS
[2016-09-08 10:42:22] NOTICE[13257]: chan_sip.c:28434 handle_request_register: Registration from '"79027" <sip:79027@9внешний_ip:5060>' failed for '192.168.0.1:5071' - Wrong password
[2016-09-08 10:42:22] NOTICE[13257]: chan_sip.c:28434 handle_request_register: Registration from '"49027" <sip:49027@9внешний_ip:5060>' failed for '192.168.0.1:5069' - Wrong password
Reliably Transmitting (NAT) to ip_провайдера:5060:
OPTIONS sip:ip_провайдера SIP/2.0
Via: SIP/2.0/UDP 9внешний_ip:5060;branch=z9hG4bK2cdf18c3;rport
Max-Forwards: 70
From: "Unknown" <sip:22222@9внешний_ip>;tag=as52991f0d
To: <sip:ip_провайдера>
Contact: <sip:22222@9внешний_ip:5060>
Call-ID: 015dc018702cb87e030ff0a110c3f7bb@9внешний_ip:5060
CSeq: 102 OPTIONS
User-Agent: FPBX-2.11.0(11.21.0)
Date: Thu, 08 Sep 2016 07:42:35 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0


---

<--- SIP read from UDP:ip_провайдера:5060 --->
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 9внешний_ip:5060;branch=z9hG4bK2cdf18c3;received=9внешний_ip;rport=1044
From: "Unknown" <sip:22222@9внешний_ip>;tag=as52991f0d
To: <sip:ip_провайдера>;tag=as3add339c
Call-ID: 015dc018702cb87e030ff0a110c3f7bb@9внешний_ip:5060
CSeq: 102 OPTIONS
Server: uartpbx
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Accept: application/sdp
Content-Length: 0

<------------->
--- (11 headers 0 lines) ---
Really destroying SIP dialog '015dc018702cb87e030ff0a110c3f7bb@9внешний_ip:5060' Method: OPTIONS
sip*CLI> rtp
Vlad1983
Сообщения: 4251
Зарегистрирован: 09 авг 2011, 11:51

Re: Нужна помощь в диагностике.

Сообщение Vlad1983 »

в PEER Details

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

type=peer
в register

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

22222:password@ip_sip_провайдера/22222
отлавливать по DID 22222
ЛС: @rostel
ytkanos
Сообщения: 6
Зарегистрирован: 08 сен 2016, 01:06

Re: Нужна помощь в диагностике.

Сообщение ytkanos »

Спасибо, поменял, но не помогло.
Vlad1983
Сообщения: 4251
Зарегистрирован: 09 авг 2011, 11:51

Re: Нужна помощь в диагностике.

Сообщение Vlad1983 »

когда ловите
ytkanos писал(а):[2016-09-08 00:44:19] NOTICE[27242][C-000000fc]: chan_sip.c:25853 handle_request_invite: Failed to authenticate device "9210000000" <sip:9210000000@ip_sip_провайдера>;tag=as7d120fd2

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

sip show user 9210000000
есть такие пиры с type user или friend?
ЛС: @rostel
ytkanos
Сообщения: 6
Зарегистрирован: 08 сен 2016, 01:06

Re: Нужна помощь в диагностике.

Сообщение ytkanos »

Нет такого пира. Такая ерунда на любой входящий номер.
Последний раз редактировалось ytkanos 08 сен 2016, 18:07, всего редактировалось 1 раз.
ded
Сообщения: 15648
Зарегистрирован: 26 авг 2010, 19:00

Re: Нужна помощь в диагностике.

Сообщение ded »

Поэтому

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

 Failed to authenticate device "9210000000" 
ytkanos
Сообщения: 6
Зарегистрирован: 08 сен 2016, 01:06

Re: Нужна помощь в диагностике.

Сообщение ytkanos »

В таком виде идут все входящие номера.
Samael28
Сообщения: 1057
Зарегистрирован: 08 янв 2011, 18:32
Откуда: Киев
Контактная информация:

Re: Нужна помощь в диагностике.

Сообщение Samael28 »

Покажите
sip show peers
Мой профайл на Upwork
ded
Сообщения: 15648
Зарегистрирован: 26 авг 2010, 19:00

Re: Нужна помощь в диагностике.

Сообщение ded »

Не надо показывать. Достатчно много мусора.
From: "9210000000" <sip:9210000000@ip_провайдера>;tag=as23d7e87a
To: <sip:s@9внешний_ip:5060>
говорит о том, что неверно зарегистрирован номер у провайдероа, надо именно через слэш в конце - номер DID (rкак выше указано было).

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

    22222:password@ip_sip_провайдера/22222
Далее - на пире провайдера указать insecure=invite, тогда входящие вызовы не будут пытаться аутентифицироваться.

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

Failed to authenticate device "9210000000" 
[2016-09-08 10:41:19] NOTICE[13257]: chan_sip.c:28434 handle_request_register: Registration from '"78028" <sip:78028@9внешний_ip:5060>' failed for '192.168.0.1:5096' - Wrong password
[2016-09-08 10:41:34] NOTICE[13257]: chan_sip.c:28434 handle_request_register: Registration from '"28" <sip:28@9внешний_ip:5060>' failed for '192.168.0.1:5076' - Wrong password
Бардак - он и есть бардак, даже комментировать не хочется.
Ответить
© 2008 — 2025 Asterisk.ru
Digium, Asterisk and AsteriskNOW are registered trademarks of Digium, Inc.
Design and development by PostMet-Netzwerk GmbH