Пожалуйста, войдите здесь. Часто задаваемые вопросы О нас
Задайте Ваш вопрос

История изменений [назад]

нажмите, чтобы скрыть/показать версии 1
изначальная версия
редактировать

спросил 2015-10-05 19:15:04 +0400

testsia Gravatar testsia

http://www.case.in.ua/

ZRTP как активировать?

Привет всем! Кто работал с ZRTP? В интернете очень мало информации. Не понимаю как этот протокол работает. Удалось выяснить что он работает как peer-to-peer. То Есть asterisk и знать о нем ничего не знает. Шифрование проходит на клиентах.

Вот то как настраивал:

Disable NAT support by setting nat to no on each peers
Disable SRTP by setting encryption to no on each peers, you can still use transport=tls
Enable peer-to-peer media path by setting directmedia to yes on each peers
Set directrtpsetup to yes globally
Set disallowed and allowed codec the same for all participating SIP accounts, for example by setting     disallow=all followed by allow=ulaw

Как результат становлюсь посредине и вижу что трафик вовсе не шифруется голос передается в открытом RTP.

HELP

ZRTP как активировать?

Привет всем! Кто работал с ZRTP? В интернете очень мало информации. Не понимаю как этот протокол работает. Удалось выяснить что он работает как peer-to-peer. То Есть asterisk и знать о нем ничего не знает. Шифрование проходит на клиентах.

Вот то как настраивал:

Disable NAT support by setting nat to no on each peers
Disable SRTP by setting encryption to no on each peers, you can still use transport=tls
Enable peer-to-peer media path by setting directmedia to yes on each peers
Set directrtpsetup to yes globally
Set disallowed and allowed codec the same for all participating SIP accounts, for example by setting     disallow=all followed by allow=ulaw

Как результат становлюсь посредине и вижу что трафик вовсе не шифруется голос передается в открытом RTP.

HELP

 Добавляю debag, не пойму как сделать его скрытым

> <--- SIP read from
> TLS:192.168.99.103:53118 ---> INVITE
> sip:9901@192.168.100.102;transport=TLS
> SIP/2.0 Via: SIP/2.0/TLS
> 192.168.99.103:53118;branch=z9hG4bK-524287-1---59097747d78d5203;rport
> Max-Forwards: 70 Contact:
> <sip:9900@192.168.99.103:53118;transport=TLS>
> To:
> <sip:9901@192.168.100.102;transport=TLS>
> From:
> "9900"<sip:9900@192.168.100.102;transport=TLS>;tag=26ff7c29 Call-ID: _Y6dytK7El42aOFI66tzew..
> CSeq: 1 INVITE Allow: INVITE, ACK,
> CANCEL, BYE, NOTIFY, REFER, MESSAGE,
> OPTIONS, INFO, SUBSCRIBE Content-Type:
> application/sdp Supported: replaces,
> norefersub, extended-refer, timer,
> outbound, path, X-cisco-serviceuri
> User-Agent: Zoiper r33049
> Allow-Events: presence, kpml
> Content-Length: 440
> 
> v=0 o=Z 0 0 IN IP4 192.168.99.103 s=Z
> c=IN IP4 192.168.99.103 t=0 0 m=audio
> 36452 RTP/AVP 3 110 97 8 0 9 111 112
> 102 106 101 a=rtpmap:110 speex/8000
> a=rtpmap:97 iLBC/8000 a=fmtp:97
> mode=20 a=rtpmap:111 speex/16000
> a=rtpmap:112 speex/32000 a=rtpmap:102
> G726-32/8000 a=rtpmap:106 opus/48000/2
> a=fmtp:106 minptime=20; cbr=1;
> maxaveragebitrate=40000;
> useinbandfec=1 a=rtpmap:101
> telephone-event/8000 a=fmtp:101 0-16
> a=sendrecv <------------->
> --- (14 headers 17 lines) --- Sending to 192.168.99.103:53118 (NAT) Sending
> to 192.168.99.103:53118 (NAT) Using
> INVITE request as basis request -
> _Y6dytK7El42aOFI66tzew.. Found peer '9900' for '9900' from
> 192.168.99.103:53118
> 
> <--- Reliably Transmitting (no NAT) to
> 192.168.99.103:53118 ---> SIP/2.0 401 Unauthorized Via: SIP/2.0/TLS
> 192.168.99.103:53118;branch=z9hG4bK-524287-1---59097747d78d5203;received=192.168.99.103;rport=53118
> From:
> "9900"<sip:9900@192.168.100.102;transport=TLS>;tag=26ff7c29 To:
> <sip:9901@192.168.100.102;transport=TLS>;tag=as536028c5
> Call-ID: _Y6dytK7El42aOFI66tzew..
> CSeq: 1 INVITE Server:
> FPBX-12.0.76.2(11.19.0) Allow: INVITE,
> ACK, CANCEL, OPTIONS, BYE, REFER,
> SUBSCRIBE, NOTIFY, INFO, PUBLISH,
> MESSAGE Supported: replaces, timer
> WWW-Authenticate: Digest
> algorithm=MD5, realm="asterisk",
> nonce="44d28063" Content-Length: 0
> 
> 
> <------------> Scheduling destruction
> of SIP dialog
> '_Y6dytK7El42aOFI66tzew..' in 6400 ms
> (Method: INVITE)
> 
> <--- SIP read from
> TLS:192.168.99.103:53118 ---> ACK
> sip:9901@192.168.100.102;transport=TLS
> SIP/2.0 Via: SIP/2.0/TLS
> 192.168.99.103:53118;branch=z9hG4bK-524287-1---59097747d78d5203;rport
> Max-Forwards: 70 To:
> <sip:9901@192.168.100.102;transport=TLS>;tag=as536028c5
> From:
> "9900"<sip:9900@192.168.100.102;transport=TLS>;tag=26ff7c29 Call-ID: _Y6dytK7El42aOFI66tzew..
> CSeq: 1 ACK Content-Length: 0
> 
> <------------->
> --- (8 headers 0 lines) ---
> 
> <--- SIP read from
> TLS:192.168.99.103:53118 ---> INVITE
> sip:9901@192.168.100.102;transport=TLS
> SIP/2.0 Via: SIP/2.0/TLS
> 192.168.99.103:53118;branch=z9hG4bK-524287-1---829f632ca9733f55;rport
> Max-Forwards: 70 Contact:
> <sip:9900@192.168.99.103:53118;transport=TLS>
> To:
> <sip:9901@192.168.100.102;transport=TLS>
> From:
> "9900"<sip:9900@192.168.100.102;transport=TLS>;tag=26ff7c29 Call-ID: _Y6dytK7El42aOFI66tzew..
> CSeq: 2 INVITE Allow: INVITE, ACK,
> CANCEL, BYE, NOTIFY, REFER, MESSAGE,
> OPTIONS, INFO, SUBSCRIBE Content-Type:
> application/sdp Supported: replaces,
> norefersub, extended-refer, timer,
> outbound, path, X-cisco-serviceuri
> User-Agent: Zoiper r33049
> Authorization: Digest
> username="9900",realm="asterisk",nonce="44d28063",uri="sip:9901@192.168.100.102;transport=TLS",response="beb0e3ddec76cd8378987db0cb9f7592",algorithm=MD5
> Allow-Events: presence, kpml
> Content-Length: 440
> 
> v=0 o=Z 0 0 IN IP4 192.168.99.103 s=Z
> c=IN IP4 192.168.99.103 t=0 0 m=audio
> 36452 RTP/AVP 3 110 97 8 0 9 111 112
> 102 106 101 a=rtpmap:110 speex/8000
> a=rtpmap:97 iLBC/8000 a=fmtp:97
> mode=20 a=rtpmap:111 speex/16000
> a=rtpmap:112 speex/32000 a=rtpmap:102
> G726-32/8000 a=rtpmap:106 opus/48000/2
> a=fmtp:106 minptime=20; cbr=1;
> maxaveragebitrate=40000;
> useinbandfec=1 a=rtpmap:101
> telephone-event/8000 a=fmtp:101 0-16
> a=sendrecv <------------->
> --- (15 headers 17 lines) --- Sending to 192.168.99.103:53118 (no NAT) Using
> INVITE request as basis request -
> _Y6dytK7El42aOFI66tzew.. Found peer '9900' for '9900' from
> 192.168.99.103:53118   == Using SIP RTP TOS bits 184   == Using SIP RTP
> CoS mark 5 Found RTP audio format 3
> Found RTP audio format 110 Found RTP
> audio format 97 Found RTP audio format
> 8 Found RTP audio format 0 Found RTP
> audio format 9 Found RTP audio format
> 111 Found RTP audio format 112 Found
> RTP audio format 102 Found RTP audio
> format 106 Found RTP audio format 101
> Found audio description format speex
> for ID 110 Found audio description
> format iLBC for ID 97 Found audio
> description format speex for ID 111
> Found audio description format speex
> for ID 112 Found audio description
> format G726-32 for ID 102 Found
> unknown media description format opus
> for ID 106 Found audio description
> format telephone-event for ID 101
> Capabilities: us - (ulaw), peer -
> audio=(gsm|ulaw|alaw|g726|speex|speex16|ilbc|g722|speex32)/video=(nothing)/text=(nothing),
> combined - (ulaw) Non-codec
> capabilities (dtmf): us - 0x1
> (telephone-event|), peer - 0x1
> (telephone-event|), combined - 0x1
> (telephone-event|) Peer audio RTP is
> at port 192.168.99.103:36452 Looking
> for 9901 in from-internal (domain
> 192.168.100.102) list_route: hop: <sip:9900@192.168.99.103:53118;transport=TLS>
> 
> <--- Transmitting (no NAT) to
> 192.168.99.103:53118 ---> SIP/2.0 100 Trying Via: SIP/2.0/TLS
> 192.168.99.103:53118;branch=z9hG4bK-524287-1---829f632ca9733f55;received=192.168.99.103;rport=53118
> From:
> "9900"<sip:9900@192.168.100.102;transport=TLS>;tag=26ff7c29 To:
> <sip:9901@192.168.100.102;transport=TLS>
> Call-ID: _Y6dytK7El42aOFI66tzew..
> CSeq: 2 INVITE Server:
> FPBX-12.0.76.2(11.19.0) Allow: INVITE,
> ACK, CANCEL, OPTIONS, BYE, REFER,
> SUBSCRIBE, NOTIFY, INFO, PUBLISH,
> MESSAGE Supported: replaces, timer
> Session-Expires: 1800;refresher=uas
> Contact:
> <sip:9901@192.168.100.102:5061;transport=TLS>
> Content-Length: 0
> 
> 
> <------------>
>     -- Executing [9901@from-internal:1]
> Set("SIP/9900-0000003a",
> "__RINGTIMER=15") in new stack
>     -- Executing [9901@from-internal:2]
> Macro("SIP/9900-0000003a",
> "exten-vm,novm,9901,0,0,0") in new
> stack
>     -- Executing [s@macro-exten-vm:1] Macro("SIP/9900-0000003a",
> "user-callerid,") in new stack
>     -- Executing [s@macro-user-callerid:1]
> Set("SIP/9900-0000003a",
> "TOUCH_MONITOR=1444061506.58") in new
> stack
>     -- Executing [s@macro-user-callerid:2]
> Set("SIP/9900-0000003a",
> "AMPUSER=9900") in new stack
>     -- Executing [s@macro-user-callerid:3]
> GotoIf("SIP/9900-0000003a",
> "0?report") in new stack
>     -- Executing [s@macro-user-callerid:4]
> ExecIf("SIP/9900-0000003a",
> "1?Set(REALCALLERIDNUM=9900)") in new
> stack
>     -- Executing [s@macro-user-callerid:5]
> Set("SIP/9900-0000003a",
> "AMPUSER=9900") in new stack
>     -- Executing [s@macro-user-callerid:6]
> GotoIf("SIP/9900-0000003a", "0?limit")
> in new stack
>     -- Executing [s@macro-user-callerid:7]
> Set("SIP/9900-0000003a",
> "AMPUSERCIDNAME=9900") in new stack
>     -- Executing [s@macro-user-callerid:8]
> GotoIf("SIP/9900-0000003a",
> "0?report") in new stack
>     -- Executing [s@macro-user-callerid:9]
> Set("SIP/9900-0000003a",
> "AMPUSERCID=9900") in new stack
>     -- Executing [s@macro-user-callerid:10]
> Set("SIP/9900-0000003a",
> "__DIAL_OPTIONS=Ttr") in new stack
>     -- Executing [s@macro-user-callerid:11]
> Set("SIP/9900-0000003a",
> "CALLERID(all)="9900" <9900>") in new
> stack
>     -- Executing [s@macro-user-callerid:12]
> GotoIf("SIP/9900-0000003a", "0?limit")
> in new stack
>     -- Executing [s@macro-user-callerid:13]
> ExecIf("SIP/9900-0000003a",
> "0?Set(GROUP(concurrency_limit)=9900)")
> in new stack
>     -- Executing [s@macro-user-callerid:14]
> GotoIf("SIP/9900-0000003a",
> "0?continue") in new stack
>     -- Executing [s@macro-user-callerid:15]
> ExecIf("SIP/9900-0000003a",
> "1?Set(__CALLEE_ACCOUNCODE=)") in new
> stack
>     -- Executing [s@macro-user-callerid:16]
> Set("SIP/9900-0000003a", "__TTL=64")
> in new stack
>     -- Executing [s@macro-user-callerid:17]
> GotoIf("SIP/9900-0000003a",
> "1?continue") in new stack
>     -- Goto (macro-user-callerid,s,28)
>     -- Executing [s@macro-user-callerid:28]
> Set("SIP/9900-0000003a",
> "CALLERID(number)=9900") in new stack
>     -- Executing [s@macro-user-callerid:29]
> Set("SIP/9900-0000003a",
> "CALLERID(name)=9900") in new stack
>     -- Executing [s@macro-user-callerid:30]
> Set("SIP/9900-0000003a",
> "CDR(cnum)=9900") in new stack
>     -- Executing [s@macro-user-callerid:31]
> Set("SIP/9900-0000003a",
> "CDR(cnam)=9900") in new stack
>     -- Executing [s@macro-user-callerid:32]
> Set("SIP/9900-0000003a",
> "CHANNEL(language)=en") in new stack
>     -- Executing [s@macro-exten-vm:2] Set("SIP/9900-0000003a",
> "RingGroupMethod=none") in new stack
>     -- Executing [s@macro-exten-vm:3] Set("SIP/9900-0000003a",
> "__EXTTOCALL=9901") in new stack
>     -- Executing [s@macro-exten-vm:4] Set("SIP/9900-0000003a",
> "__PICKUPMARK=9901") in new stack
>     -- Executing [s@macro-exten-vm:5] Set("SIP/9900-0000003a", "RT=") in new
> stack
>     -- Executing [s@macro-exten-vm:6] Gosub("SIP/9900-0000003a",
> "sub-record-check,s,1(exten,9901,dontcare)")
> in new stack
>     -- Executing [s@sub-record-check:1]
> GotoIf("SIP/9900-0000003a",
> "0?initialized") in new stack
>     -- Executing [s@sub-record-check:2]
> Set("SIP/9900-0000003a",
> "__REC_STATUS=INITIALIZED") in new
> stack
>     -- Executing [s@sub-record-check:3]
> Set("SIP/9900-0000003a",
> "NOW=1444061506") in new stack
>     -- Executing [s@sub-record-check:4]
> Set("SIP/9900-0000003a", "__DAY=05")
> in new stack
>     -- Executing [s@sub-record-check:5]
> Set("SIP/9900-0000003a", "__MONTH=10")
> in new stack
>     -- Executing [s@sub-record-check:6]
> Set("SIP/9900-0000003a",
> "__YEAR=2015") in new stack
>     -- Executing [s@sub-record-check:7]
> Set("SIP/9900-0000003a",
> "__TIMESTR=20151005-121146") in new
> stack
>     -- Executing [s@sub-record-check:8]
> Set("SIP/9900-0000003a",
> "__FROMEXTEN=9900") in new stack
>     -- Executing [s@sub-record-check:9]
> Set("SIP/9900-0000003a",
> "__MON_FMT=wav") in new stack
>     -- Executing [s@sub-record-check:10]
> NoOp("SIP/9900-0000003a", "Recordings
> initialized") in new stack
>     -- Executing [s@sub-record-check:11]
> ExecIf("SIP/9900-0000003a",
> "0?Set(ARG3=dontcare)") in new stack
>     -- Executing [s@sub-record-check:12]
> Set("SIP/9900-0000003a",
> "REC_POLICY_MODE_SAVE=") in new stack
>     -- Executing [s@sub-record-check:13]
> ExecIf("SIP/9900-0000003a",
> "0?Set(REC_STATUS=NO)") in new stack
>     -- Executing [s@sub-record-check:14]
> GotoIf("SIP/9900-0000003a",
> "5?checkaction") in new stack
>     -- Goto (sub-record-check,s,17)
>     -- Executing [s@sub-record-check:17]
> GotoIf("SIP/9900-0000003a",
> "1?sub-record-check,exten,1") in new
> stack
>     -- Goto (sub-record-check,exten,1)
>     -- Executing [exten@sub-record-check:1]
> NoOp("SIP/9900-0000003a", "Exten
> Recording Check between 9900 and
> 9901") in new stack
>     -- Executing [exten@sub-record-check:2]
> Set("SIP/9900-0000003a",
> "CALLTYPE=internal") in new stack
>     -- Executing [exten@sub-record-check:3]
> ExecIf("SIP/9900-0000003a",
> "0?Set(CALLTYPE=)") in new stack
>     -- Executing [exten@sub-record-check:4]
> Set("SIP/9900-0000003a",
> "CALLEE=dontcare") in new stack
>     -- Executing [exten@sub-record-check:5]
> ExecIf("SIP/9900-0000003a",
> "0?Set(CALLEE=dontcare)") in new stack
>     -- Executing [exten@sub-record-check:6]
> GotoIf("SIP/9900-0000003a",
> "0?callee") in new stack
>     -- Executing [exten@sub-record-check:7]
> GotoIf("SIP/9900-0000003a",
> "1?caller") in new stack
>     -- Goto (sub-record-check,exten,13)
>     -- Executing [exten@sub-record-check:13]
> Set("SIP/9900-0000003a",
> "RECMODE=dontcare") in new stack
>     -- Executing [exten@sub-record-check:14]
> ExecIf("SIP/9900-0000003a",
> "0?Set(RECMODE=dontcare)") in new
> stack
>     -- Executing [exten@sub-record-check:15]
> ExecIf("SIP/9900-0000003a",
> "1?Set(RECMODE=dontcare)") in new
> stack
>     -- Executing [exten@sub-record-check:16]
> Gosub("SIP/9900-0000003a",
> "recordcheck,1(dontcare,internal,9901)")
> in new stack
>     -- Executing [recordcheck@sub-record-check:1]
> NoOp("SIP/9900-0000003a", "Starting
> recording check against dontcare") in
> new stack
>     -- Executing [recordcheck@sub-record-check:2]
> Goto("SIP/9900-0000003a", "dontcare")
> in new stack
>     -- Goto (sub-record-check,recordcheck,3)
>     -- Executing [recordcheck@sub-record-check:3]
> Return("SIP/9900-0000003a", "") in new
> stack
>     -- Executing [exten@sub-record-check:17]
> Return("SIP/9900-0000003a", "") in new
> stack
>     -- Executing [s@macro-exten-vm:7] GotoIf("SIP/9900-0000003a",
> "1?macrodial") in new stack
>     -- Goto (macro-exten-vm,s,13)
>     -- Executing [s@macro-exten-vm:13] GosubIf("SIP/9900-0000003a",
> "0?clrheader,1()") in new stack
>     -- Executing [s@macro-exten-vm:14] Macro("SIP/9900-0000003a",
> "dial-one,,Ttr,9901") in new stack
>     -- Executing [s@macro-dial-one:1] Set("SIP/9900-0000003a",
> "DEXTEN=9901") in new stack
>     -- Executing [s@macro-dial-one:2] Set("SIP/9900-0000003a",
> "DIALSTATUS_CW=") in new stack
>     -- Executing [s@macro-dial-one:3] GosubIf("SIP/9900-0000003a",
> "0?screen,1()") in new stack
>     -- Executing [s@macro-dial-one:4] GosubIf("SIP/9900-0000003a",
> "0?cf,1()") in new stack
>     -- Executing [s@macro-dial-one:5] GotoIf("SIP/9900-0000003a", "1?skip1")
> in new stack
>     -- Goto (macro-dial-one,s,8)
>     -- Executing [s@macro-dial-one:8] GotoIf("SIP/9900-0000003a",
> "0?nodial") in new stack
>     -- Executing [s@macro-dial-one:9] GotoIf("SIP/9900-0000003a",
> "0?continue") in new stack
>     -- Executing [s@macro-dial-one:10] Set("SIP/9900-0000003a",
> "EXTHASCW=ENABLED") in new stack
>     -- Executing [s@macro-dial-one:11] GotoIf("SIP/9900-0000003a",
> "0?next1:cwinusebusy") in new stack
>     -- Goto (macro-dial-one,s,23)
>     -- Executing [s@macro-dial-one:23] GotoIf("SIP/9900-0000003a",
> "1?next3:continue") in new stack
>     -- Goto (macro-dial-one,s,24)
>     -- Executing [s@macro-dial-one:24] ExecIf("SIP/9900-0000003a",
> "0?Set(DIALSTATUS_CW=BUSY)") in new
> stack
>     -- Executing [s@macro-dial-one:25] GotoIf("SIP/9900-0000003a",
> "0?nodial") in new stack
>     -- Executing [s@macro-dial-one:26] GosubIf("SIP/9900-0000003a",
> "1?dstring,1():dlocal,1()") in new
> stack
>     -- Executing [dstring@macro-dial-one:1]
> Set("SIP/9900-0000003a", "DSTRING=")
> in new stack
>     -- Executing [dstring@macro-dial-one:2]
> Set("SIP/9900-0000003a",
> "DEVICES=9901") in new stack
>     -- Executing [dstring@macro-dial-one:3]
> ExecIf("SIP/9900-0000003a",
> "0?Return()") in new stack
>     -- Executing [dstring@macro-dial-one:4]
> ExecIf("SIP/9900-0000003a",
> "0?Set(DEVICES=901)") in new stack
>     -- Executing [dstring@macro-dial-one:5]
> Set("SIP/9900-0000003a", "LOOPCNT=1")
> in new stack
>     -- Executing [dstring@macro-dial-one:6]
> Set("SIP/9900-0000003a", "ITER=1") in
> new stack
>     -- Executing [dstring@macro-dial-one:7]
> Set("SIP/9900-0000003a",
> "THISDIAL=SIP/9901") in new stack
>     -- Executing [dstring@macro-dial-one:8]
> GosubIf("SIP/9900-0000003a",
> "1?zap2dahdi,1()") in new stack
>     -- Executing [zap2dahdi@macro-dial-one:1]
> ExecIf("SIP/9900-0000003a",
> "0?Return()") in new stack
>     -- Executing [zap2dahdi@macro-dial-one:2]
> Set("SIP/9900-0000003a", "NEWDIAL=")
> in new stack
>     -- Executing [zap2dahdi@macro-dial-one:3]
> Set("SIP/9900-0000003a", "LOOPCNT2=1")
> in new stack
>     -- Executing [zap2dahdi@macro-dial-one:4]
> Set("SIP/9900-0000003a", "ITER2=1") in
> new stack
>     -- Executing [zap2dahdi@macro-dial-one:5]
> Set("SIP/9900-0000003a",
> "THISPART2=SIP/9901") in new stack
>     -- Executing [zap2dahdi@macro-dial-one:6]
> ExecIf("SIP/9900-0000003a",
> "0?Set(THISPART2=DAHDI/9901)") in new
> stack
>     -- Executing [zap2dahdi@macro-dial-one:7]
> Set("SIP/9900-0000003a",
> "NEWDIAL=SIP/9901&") in new stack
>     -- Executing [zap2dahdi@macro-dial-one:8]
> Set("SIP/9900-0000003a", "ITER2=2") in
> new stack
>     -- Executing [zap2dahdi@macro-dial-one:9]
> GotoIf("SIP/9900-0000003a",
> "0?begin2") in new stack
>     -- Executing [zap2dahdi@macro-dial-one:10]
> Set("SIP/9900-0000003a",
> "THISDIAL=SIP/9901") in new stack
>     -- Executing [zap2dahdi@macro-dial-one:11]
> Return("SIP/9900-0000003a", "") in new
> stack
>     -- Executing [dstring@macro-dial-one:9]
> GotoIf("SIP/9900-0000003a", "1?doset")
> in new stack
>     -- Goto (macro-dial-one,dstring,13)
>     -- Executing [dstring@macro-dial-one:13]
> Set("SIP/9900-0000003a",
> "DSTRING=SIP/9901&") in new stack
>     -- Executing [dstring@macro-dial-one:14]
> Set("SIP/9900-0000003a", "ITER=2") in
> new stack
>     -- Executing [dstring@macro-dial-one:15]
> GotoIf("SIP/9900-0000003a", "0?begin")
> in new stack
>     -- Executing [dstring@macro-dial-one:16]
> ExecIf("SIP/9900-0000003a",
> "0?Return()") in new stack
>     -- Executing [dstring@macro-dial-one:17]
> Set("SIP/9900-0000003a",
> "DSTRING=SIP/9901") in new stack
>     -- Executing [dstring@macro-dial-one:18]
> Return("SIP/9900-0000003a", "") in new
> stack
>     -- Executing [s@macro-dial-one:27] GotoIf("SIP/9900-0000003a",
> "0?nodial") in new stack
>     -- Executing [s@macro-dial-one:28] GotoIf("SIP/9900-0000003a",
> "0?skiptrace") in new stack
>     -- Executing [s@macro-dial-one:29] GosubIf("SIP/9900-0000003a",
> "1?ctset,1():ctclear,1()") in new
> stack
>     -- Executing [ctset@macro-dial-one:1]
> Set("SIP/9900-0000003a",
> "DB(CALLTRACE/9901)=9900") in new
> stack
>     -- Executing [ctset@macro-dial-one:2]
> Return("SIP/9900-0000003a", "") in new
> stack
>     -- Executing [s@macro-dial-one:30] Set("SIP/9900-0000003a",
> "D_OPTIONS=Ttr") in new stack
>     -- Executing [s@macro-dial-one:31] ExecIf("SIP/9900-0000003a",
> "0?SIPAddHeader(Alert-Info: )") in new
> stack
>     -- Executing [s@macro-dial-one:32] ExecIf("SIP/9900-0000003a",
> "0?SIPAddHeader()") in new stack
>     -- Executing [s@macro-dial-one:33] ExecIf("SIP/9900-0000003a",
> "0?Set(CHANNEL(musicclass)=)") in new
> stack
>     -- Executing [s@macro-dial-one:34] GosubIf("SIP/9900-0000003a",
> "0?qwait,1()") in new stack
>     -- Executing [s@macro-dial-one:35] Set("SIP/9900-0000003a",
> "__CWIGNORE=") in new stack
>     -- Executing [s@macro-dial-one:36] Set("SIP/9900-0000003a",
> "__KEEPCID=TRUE") in new stack
>     -- Executing [s@macro-dial-one:37] GotoIf("SIP/9900-0000003a",
> "0?usegoto,1") in new stack
>     -- Executing [s@macro-dial-one:38] GotoIf("SIP/9900-0000003a",
> "0?godial") in new stack
>     -- Executing [s@macro-dial-one:39] Gosub("SIP/9900-0000003a",
> "sub-presencestate-display,s,1(9901)")
> in new stack [2015-10-05 12:11:46]
> WARNING[11899][C-00000020]:
> func_presencestate.c:132
> presence_read: PRESENCE_STATE unknown
>     -- Executing [s@sub-presencestate-display:1]
> Goto("SIP/9900-0000003a", "state-,1")
> in new stack
>     -- Goto (sub-presencestate-display,state-,1)
>     -- Executing [state-@sub-presencestate-display:1]
> Set("SIP/9900-0000003a",
> "PRESENCESTATE_DISPLAY=") in new stack
>     -- Executing [state-@sub-presencestate-display:2]
> Return("SIP/9900-0000003a", "") in new
> stack
>     -- Executing [s@macro-dial-one:40] Set("SIP/9900-0000003a",
> "CONNECTEDLINE(name,i)=9901") in new
> stack
>     -- Executing [s@macro-dial-one:41] Set("SIP/9900-0000003a",
> "CONNECTEDLINE(num)=9901") in new
> stack
>     -- Executing [s@macro-dial-one:42] Set("SIP/9900-0000003a",
> "D_OPTIONS=TtrI") in new stack
>     -- Executing [s@macro-dial-one:43] Macro("SIP/9900-0000003a",
> "dialout-one-predial-hook,") in new
> stack
>     -- Executing [s@macro-dialout-one-predial-hook:1]
> MacroExit("SIP/9900-0000003a", "") in
> new stack
>     -- Executing [s@macro-dial-one:44] Dial("SIP/9900-0000003a",
> "SIP/9901,,TtrI") in new stack   ==
> Using SIP RTP TOS bits 184   == Using
> SIP RTP CoS mark 5 Audio is at 11848
> Adding codec 100003 (ulaw) to SDP
> Adding non-codec 0x1 (telephone-event)
> to SDP Reliably Transmitting (no NAT)
> to 192.168.100.90:63934: INVITE
> sip:9901@192.168.100.90:63934;transport=TLS;rinstance=a584037e19e84fa4
> SIP/2.0 Via: SIP/2.0/TLS
> 192.168.100.102:5061;branch=z9hG4bK2255ec9f Max-Forwards: 70 From: "9900"
> <sip:9900@192.168.100.102>;tag=as7117d06a
> To:
> <sip:9901@192.168.100.90:63934;transport=TLS;rinstance=a584037e19e84fa4>
> Contact:
> <sip:9900@192.168.100.102:5061;transport=TLS>
> Call-ID:
> 325955bd473552852e80887637160cfc@192.168.100.102:5061
> CSeq: 102 INVITE User-Agent:
> FPBX-12.0.76.2(11.19.0) Date: Mon, 05
> Oct 2015 16:11:46 GMT Allow: INVITE,
> ACK, CANCEL, OPTIONS, BYE, REFER,
> SUBSCRIBE, NOTIFY, INFO, PUBLISH,
> MESSAGE Supported: replaces, timer
> Content-Type: application/sdp
> Content-Length: 240
> 
> v=0 o=root 273730281 273730281 IN IP4
> 192.168.100.102 s=Asterisk PBX 11.19.0 c=IN IP4 192.168.100.102 t=0 0 m=audio
> 11848 RTP/AVP 0 101 a=rtpmap:0
> PCMU/8000 a=rtpmap:101
> telephone-event/8000 a=fmtp:101 0-16
> a=ptime:20 a=sendrecv
> 
> ---
>     -- Called SIP/9901
> 
> <--- Transmitting (no NAT) to
> 192.168.99.103:53118 ---> SIP/2.0 180 Ringing Via: SIP/2.0/TLS
> 192.168.99.103:53118;branch=z9hG4bK-524287-1---829f632ca9733f55;received=192.168.99.103;rport=53118
> From:
> "9900"<sip:9900@192.168.100.102;transport=TLS>;tag=26ff7c29 To:
> <sip:9901@192.168.100.102;transport=TLS>;tag=as16ca9b7b
> Call-ID: _Y6dytK7El42aOFI66tzew..
> CSeq: 2 INVITE Server:
> FPBX-12.0.76.2(11.19.0) Allow: INVITE,
> ACK, CANCEL, OPTIONS, BYE, REFER,
> SUBSCRIBE, NOTIFY, INFO, PUBLISH,
> MESSAGE Supported: replaces, timer
> Session-Expires: 1800;refresher=uas
> Contact:
> <sip:9901@192.168.100.102:5061;transport=TLS>
> Content-Length: 0
> 
> 
> <------------>
>     -- Connected line update to SIP/9900-0000003a prevented.
> 
> <--- SIP read from
> TLS:192.168.100.90:63934 ---> SIP/2.0
> 100 Trying Via: SIP/2.0/TLS
> 192.168.100.102:5061;branch=z9hG4bK2255ec9f To:
> <sip:9901@192.168.100.90:63934;transport=TLS;rinstance=a584037e19e84fa4>
> From: "9900"
> <sip:9900@192.168.100.102>;tag=as7117d06a
> Call-ID:
> 325955bd473552852e80887637160cfc@192.168.100.102:5061
> CSeq: 102 INVITE Content-Length: 0
> 
> <------------->
> --- (7 headers 0 lines) ---
> 
> <--- SIP read from
> TLS:192.168.100.90:63934 ---> SIP/2.0
> 180 Ringing Via: SIP/2.0/TLS
> 192.168.100.102:5061;branch=z9hG4bK2255ec9f Contact:
> <sip:9901@192.168.100.90:63934;transport=TLS>
> To:
> <sip:9901@192.168.100.90:63934;transport=TLS;rinstance=a584037e19e84fa4>;tag=df76e643
> From: "9900"
> <sip:9900@192.168.100.102>;tag=as7117d06a
> Call-ID:
> 325955bd473552852e80887637160cfc@192.168.100.102:5061
> CSeq: 102 INVITE User-Agent: Z
> 3.9.32144 r32121 Content-Length: 0
> 
> <------------->
> --- (9 headers 0 lines) --- list_route: hop:
> <sip:9901@192.168.100.90:63934;transport=TLS>
>     -- SIP/9901-0000003b is ringing
> 
> <--- Transmitting (no NAT) to
> 192.168.99.103:53118 ---> SIP/2.0 180 Ringing Via: SIP/2.0/TLS
> 192.168.99.103:53118;branch=z9hG4bK-524287-1---829f632ca9733f55;received=192.168.99.103;rport=53118
> From:
> "9900"<sip:9900@192.168.100.102;transport=TLS>;tag=26ff7c29 To:
> <sip:9901@192.168.100.102;transport=TLS>;tag=as16ca9b7b
> Call-ID: _Y6dytK7El42aOFI66tzew..
> CSeq: 2 INVITE Server:
> FPBX-12.0.76.2(11.19.0) Allow: INVITE,
> ACK, CANCEL, OPTIONS, BYE, REFER,
> SUBSCRIBE, NOTIFY, INFO, PUBLISH,
> MESSAGE Supported: replaces, timer
> Session-Expires: 1800;refresher=uas
> Contact:
> <sip:9901@192.168.100.102:5061;transport=TLS>
> Content-Length: 0
> 
> 
> <------------>
> 
> <--- SIP read from
> TLS:192.168.100.90:63934 ---> SIP/2.0
> 200 OK Via: SIP/2.0/TLS
> 192.168.100.102:5061;branch=z9hG4bK2255ec9f Contact:
> <sip:9901@192.168.100.90:63934;transport=TLS>
> To:
> <sip:9901@192.168.100.90:63934;transport=TLS;rinstance=a584037e19e84fa4>;tag=df76e643
> From: "9900"
> <sip:9900@192.168.100.102>;tag=as7117d06a
> Call-ID:
> 325955bd473552852e80887637160cfc@192.168.100.102:5061
> CSeq: 102 INVITE Allow: INVITE, ACK,
> CANCEL, BYE, NOTIFY, REFER, MESSAGE,
> OPTIONS, INFO, SUBSCRIBE Content-Type:
> application/sdp Supported: replaces,
> norefersub, extended-refer, timer,
> outbound, path, X-cisco-serviceuri
> User-Agent: Z 3.9.32144 r32121
> Allow-Events: presence, kpml
> Content-Length: 243
> 
> v=0 o=Z 0 3 IN IP4 192.168.100.90 s=Z
> c=IN IP4 192.168.100.90 t=0 0 m=audio
> 8000 RTP/AVP 0 3 110 8 97 101
> a=rtpmap:110 speex/8000 a=rtpmap:97
> iLBC/8000 a=fmtp:97 mode=30
> a=rtpmap:101 telephone-event/8000
> a=fmtp:101 0-16 a=sendrecv
> <------------->
> --- (13 headers 12 lines) --- Found RTP audio format 0 Found RTP audio
> format 3 Found RTP audio format 110
> Found RTP audio format 8 Found RTP
> audio format 97 Found RTP audio format
> 101 Found audio description format
> speex for ID 110 Found audio
> description format iLBC for ID 97
> Found audio description format
> telephone-event for ID 101
> Capabilities: us - (ulaw), peer -
> audio=(gsm|ulaw|alaw|speex|ilbc)/video=(nothing)/text=(nothing),
> combined - (ulaw) Non-codec
> capabilities (dtmf): us - 0x1
> (telephone-event|), peer - 0x1
> (telephone-event|), combined - 0x1
> (telephone-event|) Peer audio RTP is
> at port 192.168.100.90:8000
> list_route: hop:
> <sip:9901@192.168.100.90:63934;transport=TLS>
> set_destination: Parsing
> <sip:9901@192.168.100.90:63934;transport=TLS>
> for address/port to send to
> set_destination: set destination to
> 192.168.100.90:63934 Transmitting (no NAT) to 192.168.100.90:63934: ACK
> sip:9901@192.168.100.90:63934;transport=TLS
> SIP/2.0 Via: SIP/2.0/TLS
> 192.168.100.102:5061;branch=z9hG4bK6b846678 Max-Forwards: 70 From: "9900"
> <sip:9900@192.168.100.102>;tag=as7117d06a
> To:
> <sip:9901@192.168.100.90:63934;transport=TLS;rinstance=a584037e19e84fa4>;tag=df76e643
> Contact:
> <sip:9900@192.168.100.102:5061;transport=TLS>
> Call-ID:
> 325955bd473552852e80887637160cfc@192.168.100.102:5061
> CSeq: 102 ACK User-Agent:
> FPBX-12.0.76.2(11.19.0)
> Content-Length: 0
> 
> 
> ---
>     -- Connected line update to SIP/9900-0000003a prevented.
>     -- SIP/9901-0000003b answered SIP/9900-0000003a Audio is at 10196
> Adding codec 100003 (ulaw) to SDP
> Adding non-codec 0x1 (telephone-event)
> to SDP
> 
> <--- Reliably Transmitting (no NAT) to
> 192.168.99.103:53118 ---> SIP/2.0 200 OK Via: SIP/2.0/TLS
> 192.168.99.103:53118;branch=z9hG4bK-524287-1---829f632ca9733f55;received=192.168.99.103;rport=53118
> From:
> "9900"<sip:9900@192.168.100.102;transport=TLS>;tag=26ff7c29 To:
> <sip:9901@192.168.100.102;transport=TLS>;tag=as16ca9b7b
> Call-ID: _Y6dytK7El42aOFI66tzew..
> CSeq: 2 INVITE Server:
> FPBX-12.0.76.2(11.19.0) Allow: INVITE,
> ACK, CANCEL, OPTIONS, BYE, REFER,
> SUBSCRIBE, NOTIFY, INFO, PUBLISH,
> MESSAGE Supported: replaces, timer
> Session-Expires: 1800;refresher=uas
> Contact:
> <sip:9901@192.168.100.102:5061;transport=TLS>
> Content-Type: application/sdp Require:
> timer Content-Length: 240
> 
> v=0 o=root 955759393 955759393 IN IP4
> 192.168.100.102 s=Asterisk PBX 11.19.0 c=IN IP4 192.168.100.102 t=0 0 m=audio
> 10196 RTP/AVP 0 101 a=rtpmap:0
> PCMU/8000 a=rtpmap:101
> telephone-event/8000 a=fmtp:101 0-16
> a=ptime:20 a=sendrecv
> 
> <------------>
> 
> <--- SIP read from
> TLS:192.168.100.90:63934 ---> PUBLISH
> sip:9901@192.168.100.102;transport=TLS
> SIP/2.0 Via: SIP/2.0/TLS
> 192.168.100.90:63934;branch=z9hG4bK-524287-1---c25b5ab5fc686506;rport
> Max-Forwards: 70 Contact:
> <sip:9901@192.168.100.90:63934;transport=TLS>
> To:
> "9901"<sip:9901@192.168.100.102;transport=TLS>
> From:
> "9901"<sip:9901@192.168.100.102;transport=TLS>;tag=11352b51 Call-ID: u-qpQZAUt4r22nyyAzlqxQ..
> CSeq: 1 PUBLISH Expires: 600 Allow:
> INVITE, ACK, CANCEL, BYE, NOTIFY,
> REFER, MESSAGE, OPTIONS, INFO,
> SUBSCRIBE Content-Type:
> application/pidf+xml Supported:
> replaces, norefersub, extended-refer,
> timer, outbound, path,
> X-cisco-serviceuri User-Agent: Z
> 3.9.32144 r32121 Event: presence Allow-Events: presence, kpml
> Content-Length: 269
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <presence
> xmlns="urn:ietf:params:xml:ns:pidf"
> entity="sip:9901@192.168.100.102;transport=TLS">
> <tuple id="9901" >
> <status><basic>open</basic></status>
> <note>On the phone</note> </tuple>
> </presence> <------------->
> --- (16 headers 3 lines) --- Sending to 192.168.100.90:63934 (NAT)
> 
> <--- Transmitting (NAT) to
> 192.168.100.90:63934 ---> SIP/2.0 489 Bad Event Via: SIP/2.0/TLS
> 192.168.100.90:63934;branch=z9hG4bK-524287-1---c25b5ab5fc686506;received=192.168.100.90;rport=63934
> From:
> "9901"<sip:9901@192.168.100.102;transport=TLS>;tag=11352b51 To:
> "9901"<sip:9901@192.168.100.102;transport=TLS>;tag=as405247d1
> Call-ID: u-qpQZAUt4r22nyyAzlqxQ..
> CSeq: 1 PUBLISH Server:
> FPBX-12.0.76.2(11.19.0) Allow: INVITE,
> ACK, CANCEL, OPTIONS, BYE, REFER,
> SUBSCRIBE, NOTIFY, INFO, PUBLISH,
> MESSAGE Supported: replaces, timer
> Content-Length: 0
> 
> 
> <------------>
> 
> <--- SIP read from
> TLS:192.168.100.90:63934 --->
> SUBSCRIBE
> sip:9901@192.168.100.102;transport=TLS
> SIP/2.0 Via: SIP/2.0/TLS
> 192.168.100.90:63934;branch=z9hG4bK-524287-1---78eeb47ffdaba946;rport
> Max-Forwards: 70 Contact:
> <sip:9901@192.168.100.90:63934;transport=TLS>
> To:
> "9901"<sip:9901@192.168.100.102;transport=TLS>
> From:
> "9901"<sip:9901@192.168.100.102;transport=TLS>;tag=a25e4354 Call-ID: 4HalztqPMmNW3Pqp-x3SMw..
> CSeq: 1 SUBSCRIBE Expires: 600 Accept:
> application/watcherinfo+xml Allow:
> INVITE, ACK, CANCEL, BYE, NOTIFY,
> REFER, MESSAGE, OPTIONS, INFO,
> SUBSCRIBE Supported: replaces,
> norefersub, extended-refer, timer,
> outbound, path, X-cisco-serviceuri
> User-Agent: Z 3.9.32144 r32121 Event:
> presence.winfo Allow-Events: presence,
> kpml Content-Length: 0
> 
> <------------->
> --- (16 headers 0 lines) --- Sending to 192.168.100.90:63934 (NAT) Creating
> new subscription Sending to
> 192.168.100.90:63934 (NAT) list_route: hop:
> <sip:9901@192.168.100.90:63934;transport=TLS>
> Found peer '9901' for '9901' from
> 192.168.100.90:63934
> 
> <--- Transmitting (no NAT) to
> 192.168.100.90:63934 ---> SIP/2.0 401 Unauthorized Via: SIP/2.0/TLS
> 192.168.100.90:63934;branch=z9hG4bK-524287-1---78eeb47ffdaba946;received=192.168.100.90;rport=63934
> From:
> "9901"<sip:9901@192.168.100.102;transport=TLS>;tag=a25e4354 To:
> "9901"<sip:9901@192.168.100.102;transport=TLS>;tag=as1ea24dc8
> Call-ID: 4HalztqPMmNW3Pqp-x3SMw..
> CSeq: 1 SUBSCRIBE Server:
> FPBX-12.0.76.2(11.19.0) Allow: INVITE,
> ACK, CANCEL, OPTIONS, BYE, REFER,
> SUBSCRIBE, NOTIFY, INFO, PUBLISH,
> MESSAGE Supported: replaces, timer
> WWW-Authenticate: Digest
> algorithm=MD5, realm="asterisk",
> nonce="16b0c5a5" Content-Length: 0
> 
> 
> <------------> Scheduling destruction
> of SIP dialog
> '4HalztqPMmNW3Pqp-x3SMw..' in 6400 ms
> (Method: SUBSCRIBE)
> 
> <--- SIP read from
> TLS:192.168.100.90:63934 --->
> SUBSCRIBE
> sip:9901@192.168.100.102;transport=TLS
> SIP/2.0 Via: SIP/2.0/TLS
> 192.168.100.90:63934;branch=z9hG4bK-524287-1---492a1afb9793b9cc;rport
> Max-Forwards: 70 Contact:
> <sip:9901@192.168.100.90:63934;transport=TLS>
> To:
> "9901"<sip:9901@192.168.100.102;transport=TLS>
> From:
> "9901"<sip:9901@192.168.100.102;transport=TLS>;tag=a25e4354 Call-ID: 4HalztqPMmNW3Pqp-x3SMw..
> CSeq: 2 SUBSCRIBE Expires: 600 Accept:
> application/watcherinfo+xml Allow:
> INVITE, ACK, CANCEL, BYE, NOTIFY,
> REFER, MESSAGE, OPTIONS, INFO,
> SUBSCRIBE Supported: replaces,
> norefersub, extended-refer, timer,
> outbound, path, X-cisco-serviceuri
> User-Agent: Z 3.9.32144 r32121
> Authorization: Digest
> username="9901",realm="asterisk",nonce="16b0c5a5",uri="sip:9901@192.168.100.102;transport=TLS",response="e301a2c70210abe84e707b0b52570d4e",algorithm=MD5
> Event: presence.winfo Allow-Events:
> presence, kpml Content-Length: 0
> 
> <------------->
> --- (17 headers 0 lines) --- Creating new subscription Sending to
> 192.168.100.90:63934 (no NAT) Found peer '9901' for '9901' from
> 192.168.100.90:63934
> 
> <--- Transmitting (no NAT) to
> 192.168.100.90:63934 ---> SIP/2.0 489 Bad Event Via: SIP/2.0/TLS
> 192.168.100.90:63934;branch=z9hG4bK-524287-1---492a1afb9793b9cc;received=192.168.100.90;rport=63934
> From:
> "9901"<sip:9901@192.168.100.102;transport=TLS>;tag=a25e4354 To:
> "9901"<sip:9901@192.168.100.102;transport=TLS>;tag=as1ea24dc8
> Call-ID: 4HalztqPMmNW3Pqp-x3SMw..
> CSeq: 2 SUBSCRIBE Server:
> FPBX-12.0.76.2(11.19.0) Allow: INVITE,
> ACK, CANCEL, OPTIONS, BYE, REFER,
> SUBSCRIBE, NOTIFY, INFO, PUBLISH,
> MESSAGE Supported: replaces, timer
> Content-Length: 0
> 
> 
> <------------>
> 
> <--- SIP read from
> TLS:192.168.100.90:63934 ---> PUBLISH
> sip:9901@192.168.100.102;transport=TLS
> SIP/2.0 Via: SIP/2.0/TLS
> 192.168.100.90:63934;branch=z9hG4bK-524287-1---d4cbb74dc9e935d6;rport
> Max-Forwards: 70 Contact:
> <sip:9901@192.168.100.90:63934;transport=TLS>
> To:
> "9901"<sip:9901@192.168.100.102;transport=TLS>
> From:
> "9901"<sip:9901@192.168.100.102;transport=TLS>;tag=9850ca16 Call-ID: 6vUL4lYNg9_CULFZBVzKHQ..
> CSeq: 1 PUBLISH Expires: 600 Allow:
> INVITE, ACK, CANCEL, BYE, NOTIFY,
> REFER, MESSAGE, OPTIONS, INFO,
> SUBSCRIBE Content-Type:
> application/pidf+xml Supported:
> replaces, norefersub, extended-refer,
> timer, outbound, path,
> X-cisco-serviceuri User-Agent: Z
> 3.9.32144 r32121 Event: presence Allow-Events: presence, kpml
> Content-Length: 269
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <presence
> xmlns="urn:ietf:params:xml:ns:pidf"
> entity="sip:9901@192.168.100.102;transport=TLS">
> <tuple id="9901" >
> <status><basic>open</basic></status>
> <note>On the phone</note> </tuple>
> </presence> <------------->
> --- (16 headers 3 lines) --- Sending to 192.168.100.90:63934 (NAT)
> 
> <--- Transmitting (NAT) to
> 192.168.100.90:63934 ---> SIP/2.0 489 Bad Event Via: SIP/2.0/TLS
> 192.168.100.90:63934;branch=z9hG4bK-524287-1---d4cbb74dc9e935d6;received=192.168.100.90;rport=63934
> From:
> "9901"<sip:9901@192.168.100.102;transport=TLS>;tag=9850ca16 To:
> "9901"<sip:9901@192.168.100.102;transport=TLS>;tag=as310c7076
> Call-ID: 6vUL4lYNg9_CULFZBVzKHQ..
> CSeq: 1 PUBLISH Server:
> FPBX-12.0.76.2(11.19.0) Allow: INVITE,
> ACK, CANCEL, OPTIONS, BYE, REFER,
> SUBSCRIBE, NOTIFY, INFO, PUBLISH,
> MESSAGE Supported: replaces, timer
> Content-Length: 0
> 
> 
> <------------>
> 
> <--- SIP read from
> TLS:192.168.100.90:63934 --->
> SUBSCRIBE
> sip:9901@192.168.100.102;transport=TLS
> SIP/2.0 Via: SIP/2.0/TLS
> 192.168.100.90:63934;branch=z9hG4bK-524287-1---a446da6ebdd88436;rport
> Max-Forwards: 70 Contact:
> <sip:9901@192.168.100.90:63934;transport=TLS>
> To:
> "9901"<sip:9901@192.168.100.102;transport=TLS>
> From:
> "9901"<sip:9901@192.168.100.102;transport=TLS>;tag=7e6d8160 Call-ID: diRMoVb8934eUUsdL8ZUzA..
> CSeq: 1 SUBSCRIBE Expires: 600 Accept:
> application/watcherinfo+xml Allow:
> INVITE, ACK, CANCEL, BYE, NOTIFY,
> REFER, MESSAGE, OPTIONS, INFO,
> SUBSCRIBE Supported: replaces,
> norefersub, extended-refer, timer,
> outbound, path, X-cisco-serviceuri
> User-Agent: Z 3.9.32144 r32121 Event:
> presence.winfo Allow-Events: presence,
> kpml Content-Length: 0
> 
> <------------->
> --- (16 headers 0 lines) --- Sending to 192.168.100.90:63934 (NAT) Creating
> new subscription Sending to
> 192.168.100.90:63934 (NAT) list_route: hop:
> <sip:9901@192.168.100.90:63934;transport=TLS>
> Found peer '9901' for '9901' from
> 192.168.100.90:63934
> 
> <--- Transmitting (no NAT) to
> 192.168.100.90:63934 ---> SIP/2.0 401 Unauthorized Via: SIP/2.0/TLS
> 192.168.100.90:63934;branch=z9hG4bK-524287-1---a446da6ebdd88436;received=192.168.100.90;rport=63934
> From:
> "9901"<sip:9901@192.168.100.102;transport=TLS>;tag=7e6d8160 To:
> "9901"<sip:9901@192.168.100.102;transport=TLS>;tag=as5d50bc48
> Call-ID: diRMoVb8934eUUsdL8ZUzA..
> CSeq: 1 SUBSCRIBE Server:
> FPBX-12.0.76.2(11.19.0) Allow: INVITE,
> ACK, CANCEL, OPTIONS, BYE, REFER,
> SUBSCRIBE, NOTIFY, INFO, PUBLISH,
> MESSAGE Supported: replaces, timer
> WWW-Authenticate: Digest
> algorithm=MD5, realm="asterisk",
> nonce="0cde7a2c" Content-Length: 0
> 
> 
> <------------> Scheduling destruction
> of SIP dialog
> 'diRMoVb8934eUUsdL8ZUzA..' in 6400 ms
> (Method: SUBSCRIBE)
> 
> <--- SIP read from
> TLS:192.168.100.90:63934 --->
> SUBSCRIBE
> sip:9901@192.168.100.102;transport=TLS
> SIP/2.0 Via: SIP/2.0/TLS
> 192.168.100.90:63934;branch=z9hG4bK-524287-1---9c16c6eb0eebc89e;rport
> Max-Forwards: 70 Contact:
> <sip:9901@192.168.100.90:63934;transport=TLS>
> To:
> "9901"<sip:9901@192.168.100.102;transport=TLS>
> From:
> "9901"<sip:9901@192.168.100.102;transport=TLS>;tag=7e6d8160 Call-ID: diRMoVb8934eUUsdL8ZUzA..
> CSeq: 2 SUBSCRIBE Expires: 600 Accept:
> application/watcherinfo+xml Allow:
> INVITE, ACK, CANCEL, BYE, NOTIFY,
> REFER, MESSAGE, OPTIONS, INFO,
> SUBSCRIBE Supported: replaces,
> norefersub, extended-refer, timer,
> outbound, path, X-cisco-serviceuri
> User-Agent: Z 3.9.32144 r32121
> Authorization: Digest
> username="9901",realm="asterisk",nonce="0cde7a2c",uri="sip:9901@192.168.100.102;transport=TLS",response="391e0fd2cb6c743badd345a61ca54e1b",algorithm=MD5
> Event: presence.winfo Allow-Events:
> presence, kpml Content-Length: 0
> 
> <------------->
> --- (17 headers 0 lines) --- Creating new subscription Sending to
> 192.168.100.90:63934 (no NAT) Found peer '9901' for '9901' from
> 192.168.100.90:63934
> 
> <--- Transmitting (no NAT) to
> 192.168.100.90:63934 ---> SIP/2.0 489 Bad Event Via: SIP/2.0/TLS
> 192.168.100.90:63934;branch=z9hG4bK-524287-1---9c16c6eb0eebc89e;received=192.168.100.90;rport=63934
> From:
> "9901"<sip:9901@192.168.100.102;transport=TLS>;tag=7e6d8160 To:
> "9901"<sip:9901@192.168.100.102;transport=TLS>;tag=as5d50bc48
> Call-ID: diRMoVb8934eUUsdL8ZUzA..
> CSeq: 2 SUBSCRIBE Server:
> FPBX-12.0.76.2(11.19.0) Allow: INVITE,
> ACK, CANCEL, OPTIONS, BYE, REFER,
> SUBSCRIBE, NOTIFY, INFO, PUBLISH,
> MESSAGE Supported: replaces, timer
> Content-Length: 0
> 
> 
> <------------>
> 
> <--- SIP read from
> TLS:192.168.99.103:53118 ---> ACK
> sip:9901@192.168.100.102:5061;transport=TLS
> SIP/2.0 Via: SIP/2.0/TLS
> 192.168.99.103:53118;branch=z9hG4bK-524287-1---98d5282328c3ef74;rport
> Max-Forwards: 70 Contact:
> <sip:9900@192.168.99.103:53118;transport=TLS>
> To:
> <sip:9901@192.168.100.102;transport=TLS>;tag=as16ca9b7b
> From:
> "9900"<sip:9900@192.168.100.102;transport=TLS>;tag=26ff7c29 Call-ID: _Y6dytK7El42aOFI66tzew..
> CSeq: 2 ACK User-Agent: Zoiper r33049
> Content-Length: 0
> 
> <------------->
> --- (10 headers 0 lines) --- Really destroying SIP dialog
> 'u-qpQZAUt4r22nyyAzlqxQ..' Method:
> PUBLISH Really destroying SIP dialog
> '4HalztqPMmNW3Pqp-x3SMw..' Method:
> SUBSCRIBE Really destroying SIP dialog
> '6vUL4lYNg9_CULFZBVzKHQ..' Method:
> PUBLISH Really destroying SIP dialog
> 'diRMoVb8934eUUsdL8ZUzA..' Method:
> SUBSCRIBE Reliably Transmitting (no
> NAT) to 192.168.100.90:63934: OPTIONS
> sip:9901@192.168.100.90:63934;transport=TLS;rinstance=a584037e19e84fa4
> SIP/2.0 Via: SIP/2.0/TLS
> 192.168.100.102:5061;branch=z9hG4bK64c49752 Max-Forwards: 70 From: "Unknown"
> <sip:Unknown@192.168.100.102>;tag=as2b55a86f
> To:
> <sip:9901@192.168.100.90:63934;transport=TLS;rinstance=a584037e19e84fa4>
> Contact:
> <sip:Unknown@192.168.100.102:5061;transport=TLS>
> Call-ID:
> 721915ea0ccf8ab3256fab347b4530d3@192.168.100.102:5061
> CSeq: 102 OPTIONS User-Agent:
> FPBX-12.0.76.2(11.19.0) Date: Mon, 05
> Oct 2015 16:11:56 GMT Allow: INVITE,
> ACK, CANCEL, OPTIONS, BYE, REFER,
> SUBSCRIBE, NOTIFY, INFO, PUBLISH,
> MESSAGE Supported: replaces, timer
> Content-Length: 0
> 
> 
> ---
> 
> <--- SIP read from
> TLS:192.168.100.90:63934 ---> SIP/2.0
> 200 OK Via: SIP/2.0/TLS
> 192.168.100.102:5061;branch=z9hG4bK64c49752 Contact:
> <sip:192.168.100.90:50805;transport=tls>
> To:
> <sip:9901@192.168.100.90:63934;transport=TLS;rinstance=a584037e19e84fa4>;tag=db524c59
> From: "Unknown"
> <sip:Unknown@192.168.100.102>;tag=as2b55a86f
> Call-ID:
> 721915ea0ccf8ab3256fab347b4530d3@192.168.100.102:5061
> CSeq: 102 OPTIONS Accept:
> application/sdp, application/sdp
> Accept-Language: en Allow: INVITE,
> ACK, CANCEL, BYE, NOTIFY, REFER,
> MESSAGE, OPTIONS, INFO, SUBSCRIBE
> Supported: replaces, norefersub,
> extended-refer, timer, outbound, path,
> X-cisco-serviceuri User-Agent: Z
> 3.9.32144 r32121 Allow-Events: presence, kpml Content-Length: 0
> 
> <------------->
> --- (14 headers 0 lines) --- Really destroying SIP dialog
> '721915ea0ccf8ab3256fab347b4530d3@192.168.100.102:5061'
> Method: OPTIONS
> 
> <--- SIP read from
> TLS:192.168.99.103:53118 ---> BYE
> sip:9901@192.168.100.102:5061;transport=TLS
> SIP/2.0 Via: SIP/2.0/TLS
> 192.168.99.103:53118;branch=z9hG4bK-524287-1---d635ac75a9c92d1d;rport
> Max-Forwards: 70 Contact:
> <sip:9900@192.168.99.103:53118;transport=TLS>
> To:
> <sip:9901@192.168.100.102;transport=TLS>;tag=as16ca9b7b
> From:
> "9900"<sip:9900@192.168.100.102;transport=TLS>;tag=26ff7c29 Call-ID: _Y6dytK7El42aOFI66tzew..
> CSeq: 3 BYE User-Agent: Zoiper r33049
> Authorization: Digest
> username="9900",realm="asterisk",nonce="44d28063",uri="sip:9901@192.168.100.102:5061;transport=TLS",response="cc319bfb1a2e71c0a4b92bb76c94321b",algorithm=MD5
> Content-Length: 0
> 
> <------------->
> --- (11 headers 0 lines) --- Sending to 192.168.99.103:53118 (no NAT)
> Scheduling destruction of SIP dialog
> '_Y6dytK7El42aOFI66tzew..' in 6400 ms
> (Method: BYE)
> 
> <--- Transmitting (no NAT) to
> 192.168.99.103:53118 ---> SIP/2.0 200 OK Via: SIP/2.0/TLS
> 192.168.99.103:53118;branch=z9hG4bK-524287-1---d635ac75a9c92d1d;received=192.168.99.103;rport=53118
> From:
> "9900"<sip:9900@192.168.100.102;transport=TLS>;tag=26ff7c29 To:
> <sip:9901@192.168.100.102;transport=TLS>;tag=as16ca9b7b
> Call-ID: _Y6dytK7El42aOFI66tzew..
> CSeq: 3 BYE Server:
> FPBX-12.0.76.2(11.19.0) Allow: INVITE,
> ACK, CANCEL, OPTIONS, BYE, REFER,
> SUBSCRIBE, NOTIFY, INFO, PUBLISH,
> MESSAGE Supported: replaces, timer
> Content-Length: 0
> 
> 
> <------------>
>     -- Executing [h@macro-dial-one:1] Macro("SIP/9900-0000003a",
> "hangupcall,") in new stack
>     -- Executing [s@macro-hangupcall:1]
> ExecIf("SIP/9900-0000003a",
> "0?Set(CDR(recordingfile)=.wav)") in
> new stack
>     -- Executing [s@macro-hangupcall:2]
> GotoIf("SIP/9900-0000003a",
> "1?theend") in new stack
>     -- Goto (macro-hangupcall,s,4)
>     -- Executing [s@macro-hangupcall:4]
> Hangup("SIP/9900-0000003a", "") in new
> stack   == Spawn extension
> (macro-hangupcall, s, 4) exited
> non-zero on 'SIP/9900-0000003a' in
> macro 'hangupcall'   == Spawn
> extension (macro-dial-one, h, 1)
> exited non-zero on 'SIP/9900-0000003a'
> Scheduling destruction of SIP dialog
> '325955bd473552852e80887637160cfc@192.168.100.102:5061'
> in 6400 ms (Method: INVITE)
> set_destination: Parsing
> <sip:9901@192.168.100.90:63934;transport=TLS>
> for address/port to send to
> set_destination: set destination to
> 192.168.100.90:63934 Reliably Transmitting (no NAT) to
> 192.168.100.90:63934: BYE sip:9901@192.168.100.90:63934;transport=TLS
> SIP/2.0 Via: SIP/2.0/TLS
> 192.168.100.102:5061;branch=z9hG4bK2b5fc225 Max-Forwards: 70 From: "9900"
> <sip:9900@192.168.100.102>;tag=as7117d06a
> To:
> <sip:9901@192.168.100.90:63934;transport=TLS;rinstance=a584037e19e84fa4>;tag=df76e643
> Call-ID:
> 325955bd473552852e80887637160cfc@192.168.100.102:5061
> CSeq: 103 BYE User-Agent:
> FPBX-12.0.76.2(11.19.0)
> X-Asterisk-HangupCause: Normal
> Clearing X-Asterisk-HangupCauseCode:
> 16 Content-Length: 0
> 
> 
> ---   == Spawn extension (macro-dial-one, s, 44) exited
> non-zero on 'SIP/9900-0000003a' in
> macro 'dial-one'   == Spawn extension
> (macro-exten-vm, s, 14) exited
> non-zero on 'SIP/9900-0000003a' in
> macro 'exten-vm'   == Spawn extension
> (from-internal, 9901, 2) exited
> non-zero on 'SIP/9900-0000003a'
> 
> <--- SIP read from
> TLS:192.168.100.90:63934 ---> SIP/2.0
> 200 OK Via: SIP/2.0/TLS
> 192.168.100.102:5061;branch=z9hG4bK2b5fc225 Contact:
> <sip:9901@192.168.100.90:63934;transport=TLS>
> To:
> <sip:9901@192.168.100.90:63934;transport=TLS;rinstance=a584037e19e84fa4>;tag=df76e643
> From: "9900"
> <sip:9900@192.168.100.102>;tag=as7117d06a
> Call-ID:
> 325955bd473552852e80887637160cfc@192.168.100.102:5061
> CSeq: 103 BYE User-Agent: Z 3.9.32144
> r32121 Content-Length: 0
> 
> <------------->
> --- (9 headers 0 lines) ---
> 
> <--- SIP read from
> TLS:192.168.100.90:63934 ---> PUBLISH
> sip:9901@192.168.100.102;transport=TLS
> SIP/2.0 Via: SIP/2.0/TLS
> 192.168.100.90:63934;branch=z9hG4bK-524287-1---7cfe66b9b72de08f;rport
> Max-Forwards: 70 Contact:
> <sip:9901@192.168.100.90:63934;transport=TLS>
> To:
> "9901"<sip:9901@192.168.100.102;transport=TLS>
> From:
> "9901"<sip:9901@192.168.100.102;transport=TLS>;tag=10089c66 Call-ID: ST8cEXA8p5ip6MiF9sKsvA..
> CSeq: 1 PUBLISH Expires: 600 Allow:
> INVITE, ACK, CANCEL, BYE, NOTIFY,
> REFER, MESSAGE, OPTIONS, INFO,
> SUBSCRIBE Content-Type:
> application/pidf+xml Supported:
> replaces, norefersub, extended-refer,
> timer, outbound, path,
> X-cisco-serviceuri User-Agent: Z
> 3.9.32144 r32121 Event: presence Allow-Events: presence, kpml
> Content-Length: 263
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <presence
> xmlns="urn:ietf:params:xml:ns:pidf"
> entity="sip:9901@192.168.100.102;transport=TLS">
> <tuple id="9901" >
> <status><basic>open</basic></status>
> <note>Online</note> </tuple>
> </presence> <------------->
> --- (16 headers 3 lines) --- Sending to 192.168.100.90:63934 (NAT)
> 
> <--- Transmitting (NAT) to
> 192.168.100.90:63934 ---> SIP/2.0 489 Bad Event Via: SIP/2.0/TLS
> 192.168.100.90:63934;branch=z9hG4bK-524287-1---7cfe66b9b72de08f;received=192.168.100.90;rport=63934
> From:
> "9901"<sip:9901@192.168.100.102;transport=TLS>;tag=10089c66 To:
> "9901"<sip:9901@192.168.100.102;transport=TLS>;tag=as1117c4a2
> Call-ID: ST8cEXA8p5ip6MiF9sKsvA..
> CSeq: 1 PUBLISH Server:
> FPBX-12.0.76.2(11.19.0) Allow: INVITE,
> ACK, CANCEL, OPTIONS, BYE, REFER,
> SUBSCRIBE, NOTIFY, INFO, PUBLISH,
> MESSAGE Supported: replaces, timer
> Content-Length: 0
> 
> 
> <------------>
> 
> <--- SIP read from
> TLS:192.168.100.90:63934 --->
> SUBSCRIBE
> sip:9901@192.168.100.102;transport=TLS
> SIP/2.0 Via: SIP/2.0/TLS
> 192.168.100.90:63934;branch=z9hG4bK-524287-1---e47acc1f6ea7b9f0;rport
> Max-Forwards: 70 Contact:
> <sip:9901@192.168.100.90:63934;transport=TLS>
> To:
> "9901"<sip:9901@192.168.100.102;transport=TLS>
> From:
> "9901"<sip:9901@192.168.100.102;transport=TLS>;tag=b03b7358 Call-ID: aa2LVkyWlovBqQXC95gw_A..
> CSeq: 1 SUBSCRIBE Expires: 600 Accept:
> application/watcherinfo+xml Allow:
> INVITE, ACK, CANCEL, BYE, NOTIFY,
> REFER, MESSAGE, OPTIONS, INFO,
> SUBSCRIBE Supported: replaces,
> norefersub, extended-refer, timer,
> outbound, path, X-cisco-serviceuri
> User-Agent: Z 3.9.32144 r32121 Event:
> presence.winfo Allow-Events: presence,
> kpml Content-Length: 0
> 
> <------------->
> --- (16 headers 0 lines) --- Sending to 192.168.100.90:63934 (NAT) Creating
> new subscription Sending to
> 192.168.100.90:63934 (NAT) list_route: hop:
> <sip:9901@192.168.100.90:63934;transport=TLS>
> Found peer '9901' for '9901' from
> 192.168.100.90:63934
> 
> <--- Transmitting (no NAT) to
> 192.168.100.90:63934 ---> SIP/2.0 401 Unauthorized Via: SIP/2.0/TLS
> 192.168.100.90:63934;branch=z9hG4bK-524287-1---e47acc1f6ea7b9f0;received=192.168.100.90;rport=63934
> From:
> "9901"<sip:9901@192.168.100.102;transport=TLS>;tag=b03b7358 To:
> "9901"<sip:9901@192.168.100.102;transport=TLS>;tag=as76d2e028
> Call-ID: aa2LVkyWlovBqQXC95gw_A..
> CSeq: 1 SUBSCRIBE Server:
> FPBX-12.0.76.2(11.19.0) Allow: INVITE,
> ACK, CANCEL, OPTIONS, BYE, REFER,
> SUBSCRIBE, NOTIFY, INFO, PUBLISH,
> MESSAGE Supported: replaces, timer
> WWW-Authenticate: Digest
> algorithm=MD5, realm="asterisk",
> nonce="73d30fe8" Content-Length: 0
> 
> 
> <------------> Scheduling destruction
> of SIP dialog
> 'aa2LVkyWlovBqQXC95gw_A..' in 6400 ms
> (Method: SUBSCRIBE) Really destroying
> SIP dialog
> '325955bd473552852e80887637160cfc@192.168.100.102:5061'
> Method: INVITE Really destroying SIP
> dialog 'ST8cEXA8p5ip6MiF9sKsvA..'
> Method: PUBLISH
> 
> <--- SIP read from
> TLS:192.168.100.90:63934 --->
> SUBSCRIBE
> sip:9901@192.168.100.102;transport=TLS
> SIP/2.0 Via: SIP/2.0/TLS
> 192.168.100.90:63934;branch=z9hG4bK-524287-1---2a4cf10abcc5819f;rport
> Max-Forwards: 70 Contact:
> <sip:9901@192.168.100.90:63934;transport=TLS>
> To:
> "9901"<sip:9901@192.168.100.102;transport=TLS>
> From:
> "9901"<sip:9901@192.168.100.102;transport=TLS>;tag=b03b7358 Call-ID: aa2LVkyWlovBqQXC95gw_A..
> CSeq: 2 SUBSCRIBE Expires: 600 Accept:
> application/watcherinfo+xml Allow:
> INVITE, ACK, CANCEL, BYE, NOTIFY,
> REFER, MESSAGE, OPTIONS, INFO,
> SUBSCRIBE Supported: replaces,
> norefersub, extended-refer, timer,
> outbound, path, X-cisco-serviceuri
> User-Agent: Z 3.9.32144 r32121
> Authorization: Digest
> username="9901",realm="asterisk",nonce="73d30fe8",uri="sip:9901@192.168.100.102;transport=TLS",response="92120615e2e637086307e2ff391a3d97",algorithm=MD5
> Event: presence.winfo Allow-Events:
> presence, kpml Content-Length: 0
> 
> <------------->
> --- (17 headers 0 lines) --- Creating new subscription Sending to
> 192.168.100.90:63934 (no NAT) Found peer '9901' for '9901' from
> 192.168.100.90:63934
> 
> <--- Transmitting (no NAT) to
> 192.168.100.90:63934 ---> SIP/2.0 489 Bad Event Via: SIP/2.0/TLS
> 192.168.100.90:63934;branch=z9hG4bK-524287-1---2a4cf10abcc5819f;received=192.168.100.90;rport=63934
> From:
> "9901"<sip:9901@192.168.100.102;transport=TLS>;tag=b03b7358 To:
> "9901"<sip:9901@192.168.100.102;transport=TLS>;tag=as76d2e028
> Call-ID: aa2LVkyWlovBqQXC95gw_A..
> CSeq: 2 SUBSCRIBE Server:
> FPBX-12.0.76.2(11.19.0) Allow: INVITE,
> ACK, CANCEL, OPTIONS, BYE, REFER,
> SUBSCRIBE, NOTIFY, INFO, PUBLISH,
> MESSAGE Supported: replaces, timer
> Content-Length: 0
> 
> 
> <------------> Really destroying SIP
> dialog 'aa2LVkyWlovBqQXC95gw_A..'
> Method: SUBSCRIBE Reliably
> Transmitting (no NAT) to
> 192.168.99.103:53118: OPTIONS sip:9900@192.168.99.103:53118;transport=TLS;rinstance=002a7f9c7e1bd23d
> SIP/2.0 Via: SIP/2.0/TLS
> 192.168.100.102:5061;branch=z9hG4bK543f1a82 Max-Forwards: 70 From: "Unknown"
> <sip:Unknown@192.168.100.102>;tag=as0989fb49
> To:
> <sip:9900@192.168.99.103:53118;transport=TLS;rinstance=002a7f9c7e1bd23d>
> Contact:
> <sip:Unknown@192.168.100.102:5061;transport=TLS>
> Call-ID:
> 5a68fe37519a2b610388792527fbdc1c@192.168.100.102:5061
> CSeq: 102 OPTIONS User-Agent:
> FPBX-12.0.76.2(11.19.0) Date: Mon, 05
> Oct 2015 16:12:04 GMT Allow: INVITE,
> ACK, CANCEL, OPTIONS, BYE, REFER,
> SUBSCRIBE, NOTIFY, INFO, PUBLISH,
> MESSAGE Supported: replaces, timer
> Content-Length: 0
> 
> 
> ---
> 
> <--- SIP read from
> TLS:192.168.99.103:53118 --->
> 
> 
> <------------->
> 
> <--- SIP read from
> TLS:192.168.99.103:53118 ---> SIP/2.0
> 200 OK Via: SIP/2.0/TLS
> 192.168.100.102:5061;branch=z9hG4bK543f1a82 Contact:
> <sip:192.168.99.103:49013;transport=tls>
> To:
> <sip:9900@192.168.99.103:53118;transport=TLS;rinstance=002a7f9c7e1bd23d>;tag=42183f26
> From: "Unknown"
> <sip:Unknown@192.168.100.102>;tag=as0989fb49
> Call-ID:
> 5a68fe37519a2b610388792527fbdc1c@192.168.100.102:5061
> CSeq: 102 OPTIONS Accept:
> application/sdp, application/sdp
> Accept-Language: en Allow: INVITE,
> ACK, CANCEL, BYE, NOTIFY, REFER,
> MESSAGE, OPTIONS, INFO, SUBSCRIBE
> Supported: replaces, norefersub,
> extended-refer, timer, outbound, path,
> X-cisco-serviceuri User-Agent: Zoiper
> r33049 Allow-Events: presence, kpml
> Content-Length: 0
> 
> <------------->
> --- (14 headers 0 lines) --- Really destroying SIP dialog
> '_Y6dytK7El42aOFI66tzew..' Method: BYE
> Really destroying SIP dialog
> '5a68fe37519a2b610388792527fbdc1c@192.168.100.102:5061'
> Method: OPTIONS
> 
> <--- SIP read from
> UDP:192.168.99.103:52396 ---> REGISTER
> sip:192.168.100.102 SIP/2.0 Via:
> SIP/2.0/UDP
> 192.168.99.103:52396;branch=z9hG4bK.e6A3rKr5-;rport
> From:
> <sip:9901@192.168.100.102>;tag=me-lQokrw
> To: sip:9901@192.168.100.102 CSeq: 33
> REGISTER Call-ID: W0pmWzGj04
> Max-Forwards: 70 Supported: outbound
> Accept: application/sdp, text/plain,
> application/vnd.gsma.rcs-ft-http+xml
> Contact:
> <sip:9901@192.168.99.103:52396;app-id=org.linphone.phone.prod;pn-type=apple;pn-tok=6CC4AEC890B736D33B4EB4368035AD28BB0830AC9D4896C87B74EB3D52B6C2B2;pn-msg-str=IM_MSG;pn-call-str=IC_MSG;pn-call-snd=ring.caf;pn-msg-snd=msg.caf>;+sip.instance="<urn:uuid:c38249a9-effe-4add-a68d-4679800980e1>"
> Expires: 3600 User-Agent:
> LinphoneIphone/2.3 (belle-sip/1.4.1)
> 
> <------------->
> --- (12 headers 0 lines) --- Sending to 192.168.99.103:52396 (NAT) Sending
> to 192.168.99.103:52396 (NAT)
> 
> <--- Transmitting (no NAT) to
> 192.168.99.103:52396 ---> SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP
> 192.168.99.103:52396;branch=z9hG4bK.e6A3rKr5-;received=192.168.99.103;rport=52396
> From:
> <sip:9901@192.168.100.102>;tag=me-lQokrw
> To:
> sip:9901@192.168.100.102;tag=as287d9cba
> Call-ID: W0pmWzGj04 CSeq: 33 REGISTER
> Server: FPBX-12.0.76.2(11.19.0) Allow:
> INVITE, ACK, CANCEL, OPTIONS, BYE,
> REFER, SUBSCRIBE, NOTIFY, INFO,
> PUBLISH, MESSAGE Supported: replaces,
> timer WWW-Authenticate: Digest
> algorithm=MD5, realm="asterisk",
> nonce="77d23928" Content-Length: 0
> 
> 
> <------------> Scheduling destruction
> of SIP dialog 'W0pmWzGj04' in 32000 ms
> (Method: REGISTER)
> 
> <--- SIP read from
> UDP:192.168.99.103:52396 ---> REGISTER
> sip:192.168.100.102 SIP/2.0 Via:
> SIP/2.0/UDP
> 192.168.99.103:52396;branch=z9hG4bK.e6A3rKr5-;rport
> From:
> <sip:9901@192.168.100.102>;tag=me-lQokrw
> To: sip:9901@192.168.100.102 CSeq: 33
> REGISTER Call-ID: W0pmWzGj04
> Max-Forwards: 70 Supported: outbound
> Accept: application/sdp, text/plain,
> application/vnd.gsma.rcs-ft-http+xml
> Contact:
> <sip:9901@192.168.99.103:52396;app-id=org.linphone.phone.prod;pn-type=apple;pn-tok=6CC4AEC890B736D33B4EB4368035AD28BB0830AC9D4896C87B74EB3D52B6C2B2;pn-msg-str=IM_MSG;pn-call-str=IC_MSG;pn-call-snd=ring.caf;pn-msg-snd=msg.caf>;+sip.instance="<urn:uuid:c38249a9-effe-4add-a68d-4679800980e1>"
> Expires: 3600 User-Agent:
> LinphoneIphone/2.3 (belle-sip/1.4.1)
> 
> <------------->
> --- (12 headers 0 lines) --- Sending to 192.168.99.103:52396 (no NAT)
> 
> <--- Transmitting (no NAT) to
> 192.168.99.103:52396 ---> SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP
> 192.168.99.103:52396;branch=z9hG4bK.e6A3rKr5-;received=192.168.99.103;rport=52396
> From:
> <sip:9901@192.168.100.102>;tag=me-lQokrw
> To:
> sip:9901@192.168.100.102;tag=as287d9cba
> Call-ID: W0pmWzGj04 CSeq: 33 REGISTER
> Server: FPBX-12.0.76.2(11.19.0) Allow:
> INVITE, ACK, CANCEL, OPTIONS, BYE,
> REFER, SUBSCRIBE, NOTIFY, INFO,
> PUBLISH, MESSAGE Supported: replaces,
> timer WWW-Authenticate: Digest
> algorithm=MD5, realm="asterisk",
> nonce="77d23928" Content-Length: 0
> 
> 
> <------------> Scheduling destruction
> of SIP dialog 'W0pmWzGj04' in 32000 ms
> (Method: REGISTER)
> 
> <--- SIP read from
> UDP:192.168.99.103:52396 ---> REGISTER
> sip:192.168.100.102 SIP/2.0 Via:
> SIP/2.0/UDP
> 192.168.99.103:52396;branch=z9hG4bK.KG8IajdqW;rport
> From:
> <sip:9901@192.168.100.102>;tag=me-lQokrw
> To: sip:9901@192.168.100.102 CSeq: 34
> REGISTER Call-ID: W0pmWzGj04
> Max-Forwards: 70 Supported: outbound
> Accept: application/sdp, text/plain,
> application/vnd.gsma.rcs-ft-http+xml
> Contact:
> <sip:9901@192.168.99.103:52396;app-id=org.linphone.phone.prod;pn-type=apple;pn-tok=6CC4AEC890B736D33B4EB4368035AD28BB0830AC9D4896C87B74EB3D52B6C2B2;pn-msg-str=IM_MSG;pn-call-str=IC_MSG;pn-call-snd=ring.caf;pn-msg-snd=msg.caf>;+sip.instance="<urn:uuid:c38249a9-effe-4add-a68d-4679800980e1>"
> Expires: 3600 User-Agent:
> LinphoneIphone/2.3 (belle-sip/1.4.1)
> Authorization: Digest
> realm="asterisk", nonce="77d23928",
> algorithm=MD5, username="9901",
> uri="sip:192.168.100.102",
> response="152a8829baf13329bde4d96d576ecfd4"
> 
> <------------->
> --- (13 headers 0 lines) --- Sending to 192.168.99.103:52396 (no NAT)
> [2015-10-05 12:12:18] ERROR[5846]:
> chan_sip.c:17033 register_verify:
> 'UDP' is not a valid transport for
> '9901'. we only use 'TLS'! ending
> call.
> 
> <--- Transmitting (no NAT) to
> 192.168.99.103:52396 ---> SIP/2.0 403 Forbidden Via: SIP/2.0/UDP
> 192.168.99.103:52396;branch=z9hG4bK.KG8IajdqW;received=192.168.99.103;rport=52396
> From:
> <sip:9901@192.168.100.102>;tag=me-lQokrw
> To:
> sip:9901@192.168.100.102;tag=as287d9cba
> Call-ID: W0pmWzGj04 CSeq: 34 REGISTER
> Server: FPBX-12.0.76.2(11.19.0) Allow:
> INVITE, ACK, CANCEL, OPTIONS, BYE,
> REFER, SUBSCRIBE, NOTIFY, INFO,
> PUBLISH, MESSAGE Supported: replaces,
> timer Date: Mon, 05 Oct 2015 16:12:18
> GMT Content-Length: 0
> 
> 
> <------------> [2015-10-05 12:12:18]
> NOTICE[5846]: chan_sip.c:28309
> handle_request_register: Registration
> from 'sip:9901@192.168.100.102' failed
> for '192.168.99.103:52396' - Device
> not configured to use this transport
> type Scheduling destruction of SIP
> dialog 'W0pmWzGj04' in 32000 ms
> (Method: REGISTER)
> 
> <--- SIP read from
> UDP:192.168.99.103:52396 ---> REGISTER
> sip:192.168.100.102 SIP/2.0 Via:
> SIP/2.0/UDP
> 192.168.99.103:52396;branch=z9hG4bK.KG8IajdqW;rport
> From:
> <sip:9901@192.168.100.102>;tag=me-lQokrw
> To: sip:9901@192.168.100.102 CSeq: 34
> REGISTER Call-ID: W0pmWzGj04
> Max-Forwards: 70 Supported: outbound
> Accept: application/sdp, text/plain,
> application/vnd.gsma.rcs-ft-http+xml
> Contact:
> <sip:9901@192.168.99.103:52396;app-id=org.linphone.phone.prod;pn-type=apple;pn-tok=6CC4AEC890B736D33B4EB4368035AD28BB0830AC9D4896C87B74EB3D52B6C2B2;pn-msg-str=IM_MSG;pn-call-str=IC_MSG;pn-call-snd=ring.caf;pn-msg-snd=msg.caf>;+sip.instance="<urn:uuid:c38249a9-effe-4add-a68d-4679800980e1>"
> Expires: 3600 User-Agent:
> LinphoneIphone/2.3 (belle-sip/1.4.1)
> Authorization: Digest
> realm="asterisk", nonce="77d23928",
> algorithm=MD5, username="9901",
> uri="sip:192.168.100.102",
> response="152a8829baf13329bde4d96d576ecfd4"
> 
> <------------->
> --- (13 headers 0 lines) --- Sending to 192.168.99.103:52396 (no NAT)
> [2015-10-05 12:12:18] NOTICE[5846]:
> chan_sip.c:16558 check_auth: Correct
> auth, but based on stale nonce
> received from
> '<sip:9901@192.168.100.102>;tag=me-lQokrw'
> 
> <--- Transmitting (no NAT) to
> 192.168.99.103:52396 ---> SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP
> 192.168.99.103:52396;branch=z9hG4bK.KG8IajdqW;received=192.168.99.103;rport=52396
> From:
> <sip:9901@192.168.100.102>;tag=me-lQokrw
> To:
> sip:9901@192.168.100.102;tag=as287d9cba
> Call-ID: W0pmWzGj04 CSeq: 34 REGISTER
> Server: FPBX-12.0.76.2(11.19.0) Allow:
> INVITE, ACK, CANCEL, OPTIONS, BYE,
> REFER, SUBSCRIBE, NOTIFY, INFO,
> PUBLISH, MESSAGE Supported: replaces,
> timer WWW-Authenticate: Digest
> algorithm=MD5, realm="asterisk",
> nonce="595fa7a7", stale=true
> Content-Length: 0
> 
> 
> <------------> Scheduling destruction
> of SIP dialog 'W0pmWzGj04' in 32000 ms
> (Method: REGISTER) PBX*CLI>

ZRTP как активировать?

Привет всем! Кто работал с ZRTP? В интернете очень мало информации. Не понимаю как этот протокол работает. Удалось выяснить что он работает как peer-to-peer. То Есть asterisk и знать о нем ничего не знает. Шифрование проходит на клиентах.

Вот то как настраивал:

Disable NAT support by setting nat to no on each peers
Disable SRTP by setting encryption to no on each peers, you can still use transport=tls
Enable peer-to-peer media path by setting directmedia to yes on each peers
Set directrtpsetup to yes globally
Set disallowed and allowed codec the same for all participating SIP accounts, for example by setting     disallow=all followed by allow=ulaw

Как результат становлюсь посредине и вижу что трафик вовсе не шифруется голос передается в открытом RTP.

HELP

 Добавляю debag, не пойму как сделать его скрытым 

> <--- SIP read from
> TLS:192.168.99.103:53118 ---> INVITE
> sip:9901@192.168.100.102;transport=TLS
> SIP/2.0 Via: SIP/2.0/TLS
> 192.168.99.103:53118;branch=z9hG4bK-524287-1---59097747d78d5203;rport
> Max-Forwards: 70 Contact:
> <sip:9900@192.168.99.103:53118;transport=TLS>
> To:
> <sip:9901@192.168.100.102;transport=TLS>
> From:
> "9900"<sip:9900@192.168.100.102;transport=TLS>;tag=26ff7c29 Call-ID: _Y6dytK7El42aOFI66tzew..
> CSeq: 1 INVITE Allow: INVITE, ACK,
> CANCEL, BYE, NOTIFY, REFER, MESSAGE,
> OPTIONS, INFO, SUBSCRIBE Content-Type:
> application/sdp Supported: replaces,
> norefersub, extended-refer, timer,
> outbound, path, X-cisco-serviceuri
> User-Agent: Zoiper r33049
> Allow-Events: presence, kpml
> Content-Length: 440
> 
> v=0 o=Z 0 0 IN IP4 192.168.99.103 s=Z
> c=IN IP4 192.168.99.103 t=0 0 m=audio
> 36452 RTP/AVP 3 110 97 8 0 9 111 112
> 102 106 101 a=rtpmap:110 speex/8000
> a=rtpmap:97 iLBC/8000 a=fmtp:97
> mode=20 a=rtpmap:111 speex/16000
> a=rtpmap:112 speex/32000 a=rtpmap:102
> G726-32/8000 a=rtpmap:106 opus/48000/2
> a=fmtp:106 minptime=20; cbr=1;
> maxaveragebitrate=40000;
> useinbandfec=1 a=rtpmap:101
> telephone-event/8000 a=fmtp:101 0-16
> a=sendrecv <------------->
> --- (14 headers 17 lines) --- Sending to 192.168.99.103:53118 (NAT) Sending
> to 192.168.99.103:53118 (NAT) Using
> INVITE request as basis request -
> _Y6dytK7El42aOFI66tzew.. Found peer '9900' for '9900' from
> 192.168.99.103:53118
> 
> <--- Reliably Transmitting (no NAT) to
> 192.168.99.103:53118 ---> SIP/2.0 401 Unauthorized Via: SIP/2.0/TLS
> 192.168.99.103:53118;branch=z9hG4bK-524287-1---59097747d78d5203;received=192.168.99.103;rport=53118
> From:
> "9900"<sip:9900@192.168.100.102;transport=TLS>;tag=26ff7c29 To:
> <sip:9901@192.168.100.102;transport=TLS>;tag=as536028c5
> Call-ID: _Y6dytK7El42aOFI66tzew..
> CSeq: 1 INVITE Server:
> FPBX-12.0.76.2(11.19.0) Allow: INVITE,
> ACK, CANCEL, OPTIONS, BYE, REFER,
> SUBSCRIBE, NOTIFY, INFO, PUBLISH,
> MESSAGE Supported: replaces, timer
> WWW-Authenticate: Digest
> algorithm=MD5, realm="asterisk",
> nonce="44d28063" Content-Length: 0
> 
> 
> <------------> Scheduling destruction
> of SIP dialog
> '_Y6dytK7El42aOFI66tzew..' in 6400 ms
> (Method: INVITE)
> 
> <--- SIP read from
> TLS:192.168.99.103:53118 ---> ACK
> sip:9901@192.168.100.102;transport=TLS
> SIP/2.0 Via: SIP/2.0/TLS
> 192.168.99.103:53118;branch=z9hG4bK-524287-1---59097747d78d5203;rport
> Max-Forwards: 70 To:
> <sip:9901@192.168.100.102;transport=TLS>;tag=as536028c5
> From:
> "9900"<sip:9900@192.168.100.102;transport=TLS>;tag=26ff7c29 Call-ID: _Y6dytK7El42aOFI66tzew..
> CSeq: 1 ACK Content-Length: 0
> 
> <------------->
> --- (8 headers 0 lines) ---
> 
> <--- SIP read from
> TLS:192.168.99.103:53118 ---> INVITE
> sip:9901@192.168.100.102;transport=TLS
> SIP/2.0 Via: SIP/2.0/TLS
> 192.168.99.103:53118;branch=z9hG4bK-524287-1---829f632ca9733f55;rport
> Max-Forwards: 70 Contact:
> <sip:9900@192.168.99.103:53118;transport=TLS>
> To:
> <sip:9901@192.168.100.102;transport=TLS>
> From:
> "9900"<sip:9900@192.168.100.102;transport=TLS>;tag=26ff7c29 Call-ID: _Y6dytK7El42aOFI66tzew..
> CSeq: 2 INVITE Allow: INVITE, ACK,
> CANCEL, BYE, NOTIFY, REFER, MESSAGE,
> OPTIONS, INFO, SUBSCRIBE Content-Type:
> application/sdp Supported: replaces,
> norefersub, extended-refer, timer,
> outbound, path, X-cisco-serviceuri
> User-Agent: Zoiper r33049
> Authorization: Digest
> username="9900",realm="asterisk",nonce="44d28063",uri="sip:9901@192.168.100.102;transport=TLS",response="beb0e3ddec76cd8378987db0cb9f7592",algorithm=MD5
> Allow-Events: presence, kpml
> Content-Length: 440
> 
> v=0 o=Z 0 0 IN IP4 192.168.99.103 s=Z
> c=IN IP4 192.168.99.103 t=0 0 m=audio
> 36452 RTP/AVP 3 110 97 8 0 9 111 112
> 102 106 101 a=rtpmap:110 speex/8000
> a=rtpmap:97 iLBC/8000 a=fmtp:97
> mode=20 a=rtpmap:111 speex/16000
> a=rtpmap:112 speex/32000 a=rtpmap:102
> G726-32/8000 a=rtpmap:106 opus/48000/2
> a=fmtp:106 minptime=20; cbr=1;
> maxaveragebitrate=40000;
> useinbandfec=1 a=rtpmap:101
> telephone-event/8000 a=fmtp:101 0-16
> a=sendrecv <------------->
> --- (15 headers 17 lines) --- Sending to 192.168.99.103:53118 (no NAT) Using
> INVITE request as basis request -
> _Y6dytK7El42aOFI66tzew.. Found peer '9900' for '9900' from
> 192.168.99.103:53118   == Using SIP RTP TOS bits 184   == Using SIP RTP
> CoS mark 5 Found RTP audio format 3
> Found RTP audio format 110 Found RTP
> audio format 97 Found RTP audio format
> 8 Found RTP audio format 0 Found RTP
> audio format 9 Found RTP audio format
> 111 Found RTP audio format 112 Found
> RTP audio format 102 Found RTP audio
> format 106 Found RTP audio format 101
> Found audio description format speex
> for ID 110 Found audio description
> format iLBC for ID 97 Found audio
> description format speex for ID 111
> Found audio description format speex
> for ID 112 Found audio description
> format G726-32 for ID 102 Found
> unknown media description format opus
> for ID 106 Found audio description
> format telephone-event for ID 101
> Capabilities: us - (ulaw), peer -
> audio=(gsm|ulaw|alaw|g726|speex|speex16|ilbc|g722|speex32)/video=(nothing)/text=(nothing),
> combined - (ulaw) Non-codec
> capabilities (dtmf): us - 0x1
> (telephone-event|), peer - 0x1
> (telephone-event|), combined - 0x1
> (telephone-event|) Peer audio RTP is
> at port 192.168.99.103:36452 Looking
> for 9901 in from-internal (domain
> 192.168.100.102) list_route: hop: <sip:9900@192.168.99.103:53118;transport=TLS>
> 
> <--- Transmitting (no NAT) to
> 192.168.99.103:53118 ---> SIP/2.0 100 Trying Via: SIP/2.0/TLS
> 192.168.99.103:53118;branch=z9hG4bK-524287-1---829f632ca9733f55;received=192.168.99.103;rport=53118
> From:
> "9900"<sip:9900@192.168.100.102;transport=TLS>;tag=26ff7c29 To:
> <sip:9901@192.168.100.102;transport=TLS>
> Call-ID: _Y6dytK7El42aOFI66tzew..
> CSeq: 2 INVITE Server:
> FPBX-12.0.76.2(11.19.0) Allow: INVITE,
> ACK, CANCEL, OPTIONS, BYE, REFER,
> SUBSCRIBE, NOTIFY, INFO, PUBLISH,
> MESSAGE Supported: replaces, timer
> Session-Expires: 1800;refresher=uas
> Contact:
> <sip:9901@192.168.100.102:5061;transport=TLS>
> Content-Length: 0
> 
> 
> <------------>
>     -- Executing [9901@from-internal:1]
> Set("SIP/9900-0000003a",
> "__RINGTIMER=15") in new stack
>     -- Executing [9901@from-internal:2]
> Macro("SIP/9900-0000003a",
> "exten-vm,novm,9901,0,0,0") in new
> stack
>     -- Executing [s@macro-exten-vm:1] Macro("SIP/9900-0000003a",
> "user-callerid,") in new stack
>     -- Executing [s@macro-user-callerid:1]
> Set("SIP/9900-0000003a",
> "TOUCH_MONITOR=1444061506.58") in new
> stack
>     -- Executing [s@macro-user-callerid:2]
> Set("SIP/9900-0000003a",
> "AMPUSER=9900") in new stack
>     -- Executing [s@macro-user-callerid:3]
> GotoIf("SIP/9900-0000003a",
> "0?report") in new stack
>     -- Executing [s@macro-user-callerid:4]
> ExecIf("SIP/9900-0000003a",
> "1?Set(REALCALLERIDNUM=9900)") in new
> stack
>     -- Executing [s@macro-user-callerid:5]
> Set("SIP/9900-0000003a",
> "AMPUSER=9900") in new stack
>     -- Executing [s@macro-user-callerid:6]
> GotoIf("SIP/9900-0000003a", "0?limit")
> in new stack
>     -- Executing [s@macro-user-callerid:7]
> Set("SIP/9900-0000003a",
> "AMPUSERCIDNAME=9900") in new stack
>     -- Executing [s@macro-user-callerid:8]
> GotoIf("SIP/9900-0000003a",
> "0?report") in new stack
>     -- Executing [s@macro-user-callerid:9]
> Set("SIP/9900-0000003a",
> "AMPUSERCID=9900") in new stack
>     -- Executing [s@macro-user-callerid:10]
> Set("SIP/9900-0000003a",
> "__DIAL_OPTIONS=Ttr") in new stack
>     -- Executing [s@macro-user-callerid:11]
> Set("SIP/9900-0000003a",
> "CALLERID(all)="9900" <9900>") in new
> stack
>     -- Executing [s@macro-user-callerid:12]
> GotoIf("SIP/9900-0000003a", "0?limit")
> in new stack
>     -- Executing [s@macro-user-callerid:13]
> ExecIf("SIP/9900-0000003a",
> "0?Set(GROUP(concurrency_limit)=9900)")
> in new stack
>     -- Executing [s@macro-user-callerid:14]
> GotoIf("SIP/9900-0000003a",
> "0?continue") in new stack
>     -- Executing [s@macro-user-callerid:15]
> ExecIf("SIP/9900-0000003a",
> "1?Set(__CALLEE_ACCOUNCODE=)") in new
> stack
>     -- Executing [s@macro-user-callerid:16]
> Set("SIP/9900-0000003a", "__TTL=64")
> in new stack
>     -- Executing [s@macro-user-callerid:17]
> GotoIf("SIP/9900-0000003a",
> "1?continue") in new stack
>     -- Goto (macro-user-callerid,s,28)
>     -- Executing [s@macro-user-callerid:28]
> Set("SIP/9900-0000003a",
> "CALLERID(number)=9900") in new stack
>     -- Executing [s@macro-user-callerid:29]
> Set("SIP/9900-0000003a",
> "CALLERID(name)=9900") in new stack
>     -- Executing [s@macro-user-callerid:30]
> Set("SIP/9900-0000003a",
> "CDR(cnum)=9900") in new stack
>     -- Executing [s@macro-user-callerid:31]
> Set("SIP/9900-0000003a",
> "CDR(cnam)=9900") in new stack
>     -- Executing [s@macro-user-callerid:32]
> Set("SIP/9900-0000003a",
> "CHANNEL(language)=en") in new stack
>     -- Executing [s@macro-exten-vm:2] Set("SIP/9900-0000003a",
> "RingGroupMethod=none") in new stack
>     -- Executing [s@macro-exten-vm:3] Set("SIP/9900-0000003a",
> "__EXTTOCALL=9901") in new stack
>     -- Executing [s@macro-exten-vm:4] Set("SIP/9900-0000003a",
> "__PICKUPMARK=9901") in new stack
>     -- Executing [s@macro-exten-vm:5] Set("SIP/9900-0000003a", "RT=") in new
> stack
>     -- Executing [s@macro-exten-vm:6] Gosub("SIP/9900-0000003a",
> "sub-record-check,s,1(exten,9901,dontcare)")
> in new stack
>     -- Executing [s@sub-record-check:1]
> GotoIf("SIP/9900-0000003a",
> "0?initialized") in new stack
>     -- Executing [s@sub-record-check:2]
> Set("SIP/9900-0000003a",
> "__REC_STATUS=INITIALIZED") in new
> stack
>     -- Executing [s@sub-record-check:3]
> Set("SIP/9900-0000003a",
> "NOW=1444061506") in new stack
>     -- Executing [s@sub-record-check:4]
> Set("SIP/9900-0000003a", "__DAY=05")
> in new stack
>     -- Executing [s@sub-record-check:5]
> Set("SIP/9900-0000003a", "__MONTH=10")
> in new stack
>     -- Executing [s@sub-record-check:6]
> Set("SIP/9900-0000003a",
> "__YEAR=2015") in new stack
>     -- Executing [s@sub-record-check:7]
> Set("SIP/9900-0000003a",
> "__TIMESTR=20151005-121146") in new
> stack
>     -- Executing [s@sub-record-check:8]
> Set("SIP/9900-0000003a",
> "__FROMEXTEN=9900") in new stack
>     -- Executing [s@sub-record-check:9]
> Set("SIP/9900-0000003a",
> "__MON_FMT=wav") in new stack
>     -- Executing [s@sub-record-check:10]
> NoOp("SIP/9900-0000003a", "Recordings
> initialized") in new stack
>     -- Executing [s@sub-record-check:11]
> ExecIf("SIP/9900-0000003a",
> "0?Set(ARG3=dontcare)") in new stack
>     -- Executing [s@sub-record-check:12]
> Set("SIP/9900-0000003a",
> "REC_POLICY_MODE_SAVE=") in new stack
>     -- Executing [s@sub-record-check:13]
> ExecIf("SIP/9900-0000003a",
> "0?Set(REC_STATUS=NO)") in new stack
>     -- Executing [s@sub-record-check:14]
> GotoIf("SIP/9900-0000003a",
> "5?checkaction") in new stack
>     -- Goto (sub-record-check,s,17)
>     -- Executing [s@sub-record-check:17]
> GotoIf("SIP/9900-0000003a",
> "1?sub-record-check,exten,1") in new
> stack
>     -- Goto (sub-record-check,exten,1)
>     -- Executing [exten@sub-record-check:1]
> NoOp("SIP/9900-0000003a", "Exten
> Recording Check between 9900 and
> 9901") in new stack
>     -- Executing [exten@sub-record-check:2]
> Set("SIP/9900-0000003a",
> "CALLTYPE=internal") in new stack
>     -- Executing [exten@sub-record-check:3]
> ExecIf("SIP/9900-0000003a",
> "0?Set(CALLTYPE=)") in new stack
>     -- Executing [exten@sub-record-check:4]
> Set("SIP/9900-0000003a",
> "CALLEE=dontcare") in new stack
>     -- Executing [exten@sub-record-check:5]
> ExecIf("SIP/9900-0000003a",
> "0?Set(CALLEE=dontcare)") in new stack
>     -- Executing [exten@sub-record-check:6]
> GotoIf("SIP/9900-0000003a",
> "0?callee") in new stack
>     -- Executing [exten@sub-record-check:7]
> GotoIf("SIP/9900-0000003a",
> "1?caller") in new stack
>     -- Goto (sub-record-check,exten,13)
>     -- Executing [exten@sub-record-check:13]
> Set("SIP/9900-0000003a",
> "RECMODE=dontcare") in new stack
>     -- Executing [exten@sub-record-check:14]
> ExecIf("SIP/9900-0000003a",
> "0?Set(RECMODE=dontcare)") in new
> stack
>     -- Executing [exten@sub-record-check:15]
> ExecIf("SIP/9900-0000003a",
> "1?Set(RECMODE=dontcare)") in new
> stack
>     -- Executing [exten@sub-record-check:16]
> Gosub("SIP/9900-0000003a",
> "recordcheck,1(dontcare,internal,9901)")
> in new stack
>     -- Executing [recordcheck@sub-record-check:1]
> NoOp("SIP/9900-0000003a", "Starting
> recording check against dontcare") in
> new stack
>     -- Executing [recordcheck@sub-record-check:2]
> Goto("SIP/9900-0000003a", "dontcare")
> in new stack
>     -- Goto (sub-record-check,recordcheck,3)
>     -- Executing [recordcheck@sub-record-check:3]
> Return("SIP/9900-0000003a", "") in new
> stack
>     -- Executing [exten@sub-record-check:17]
> Return("SIP/9900-0000003a", "") in new
> stack
>     -- Executing [s@macro-exten-vm:7] GotoIf("SIP/9900-0000003a",
> "1?macrodial") in new stack
>     -- Goto (macro-exten-vm,s,13)
>     -- Executing [s@macro-exten-vm:13] GosubIf("SIP/9900-0000003a",
> "0?clrheader,1()") in new stack
>     -- Executing [s@macro-exten-vm:14] Macro("SIP/9900-0000003a",
> "dial-one,,Ttr,9901") in new stack
>     -- Executing [s@macro-dial-one:1] Set("SIP/9900-0000003a",
> "DEXTEN=9901") in new stack
>     -- Executing [s@macro-dial-one:2] Set("SIP/9900-0000003a",
> "DIALSTATUS_CW=") in new stack
>     -- Executing [s@macro-dial-one:3] GosubIf("SIP/9900-0000003a",
> "0?screen,1()") in new stack
>     -- Executing [s@macro-dial-one:4] GosubIf("SIP/9900-0000003a",
> "0?cf,1()") in new stack
>     -- Executing [s@macro-dial-one:5] GotoIf("SIP/9900-0000003a", "1?skip1")
> in new stack
>     -- Goto (macro-dial-one,s,8)
>     -- Executing [s@macro-dial-one:8] GotoIf("SIP/9900-0000003a",
> "0?nodial") in new stack
>     -- Executing [s@macro-dial-one:9] GotoIf("SIP/9900-0000003a",
> "0?continue") in new stack
>     -- Executing [s@macro-dial-one:10] Set("SIP/9900-0000003a",
> "EXTHASCW=ENABLED") in new stack
>     -- Executing [s@macro-dial-one:11] GotoIf("SIP/9900-0000003a",
> "0?next1:cwinusebusy") in new stack
>     -- Goto (macro-dial-one,s,23)
>     -- Executing [s@macro-dial-one:23] GotoIf("SIP/9900-0000003a",
> "1?next3:continue") in new stack
>     -- Goto (macro-dial-one,s,24)
>     -- Executing [s@macro-dial-one:24] ExecIf("SIP/9900-0000003a",
> "0?Set(DIALSTATUS_CW=BUSY)") in new
> stack
>     -- Executing [s@macro-dial-one:25] GotoIf("SIP/9900-0000003a",
> "0?nodial") in new stack
>     -- Executing [s@macro-dial-one:26] GosubIf("SIP/9900-0000003a",
> "1?dstring,1():dlocal,1()") in new
> stack
>     -- Executing [dstring@macro-dial-one:1]
> Set("SIP/9900-0000003a", "DSTRING=")
> in new stack
>     -- Executing [dstring@macro-dial-one:2]
> Set("SIP/9900-0000003a",
> "DEVICES=9901") in new stack
>     -- Executing [dstring@macro-dial-one:3]
> ExecIf("SIP/9900-0000003a",
> "0?Return()") in new stack
>     -- Executing [dstring@macro-dial-one:4]
> ExecIf("SIP/9900-0000003a",
> "0?Set(DEVICES=901)") in new stack
>     -- Executing [dstring@macro-dial-one:5]
> Set("SIP/9900-0000003a", "LOOPCNT=1")
> in new stack
>     -- Executing [dstring@macro-dial-one:6]
> Set("SIP/9900-0000003a", "ITER=1") in
> new stack
>     -- Executing [dstring@macro-dial-one:7]
> Set("SIP/9900-0000003a",
> "THISDIAL=SIP/9901") in new stack
>     -- Executing [dstring@macro-dial-one:8]
> GosubIf("SIP/9900-0000003a",
> "1?zap2dahdi,1()") in new stack
>     -- Executing [zap2dahdi@macro-dial-one:1]
> ExecIf("SIP/9900-0000003a",
> "0?Return()") in new stack
>     -- Executing [zap2dahdi@macro-dial-one:2]
> Set("SIP/9900-0000003a", "NEWDIAL=")
> in new stack
>     -- Executing [zap2dahdi@macro-dial-one:3]
> Set("SIP/9900-0000003a", "LOOPCNT2=1")
> in new stack
>     -- Executing [zap2dahdi@macro-dial-one:4]
> Set("SIP/9900-0000003a", "ITER2=1") in
> new stack
>     -- Executing [zap2dahdi@macro-dial-one:5]
> Set("SIP/9900-0000003a",
> "THISPART2=SIP/9901") in new stack
>     -- Executing [zap2dahdi@macro-dial-one:6]
> ExecIf("SIP/9900-0000003a",
> "0?Set(THISPART2=DAHDI/9901)") in new
> stack
>     -- Executing [zap2dahdi@macro-dial-one:7]
> Set("SIP/9900-0000003a",
> "NEWDIAL=SIP/9901&") in new stack
>     -- Executing [zap2dahdi@macro-dial-one:8]
> Set("SIP/9900-0000003a", "ITER2=2") in
> new stack
>     -- Executing [zap2dahdi@macro-dial-one:9]
> GotoIf("SIP/9900-0000003a",
> "0?begin2") in new stack
>     -- Executing [zap2dahdi@macro-dial-one:10]
> Set("SIP/9900-0000003a",
> "THISDIAL=SIP/9901") in new stack
>     -- Executing [zap2dahdi@macro-dial-one:11]
> Return("SIP/9900-0000003a", "") in new
> stack
>     -- Executing [dstring@macro-dial-one:9]
> GotoIf("SIP/9900-0000003a", "1?doset")
> in new stack
>     -- Goto (macro-dial-one,dstring,13)
>     -- Executing [dstring@macro-dial-one:13]
> Set("SIP/9900-0000003a",
> "DSTRING=SIP/9901&") in new stack
>     -- Executing [dstring@macro-dial-one:14]
> Set("SIP/9900-0000003a", "ITER=2") in
> new stack
>     -- Executing [dstring@macro-dial-one:15]
> GotoIf("SIP/9900-0000003a", "0?begin")
> in new stack
>     -- Executing [dstring@macro-dial-one:16]
> ExecIf("SIP/9900-0000003a",
> "0?Return()") in new stack
>     -- Executing [dstring@macro-dial-one:17]
> Set("SIP/9900-0000003a",
> "DSTRING=SIP/9901") in new stack
>     -- Executing [dstring@macro-dial-one:18]
> Return("SIP/9900-0000003a", "") in new
> stack
>     -- Executing [s@macro-dial-one:27] GotoIf("SIP/9900-0000003a",
> "0?nodial") in new stack
>     -- Executing [s@macro-dial-one:28] GotoIf("SIP/9900-0000003a",
> "0?skiptrace") in new stack
>     -- Executing [s@macro-dial-one:29] GosubIf("SIP/9900-0000003a",
> "1?ctset,1():ctclear,1()") in new
> stack
>     -- Executing [ctset@macro-dial-one:1]
> Set("SIP/9900-0000003a",
> "DB(CALLTRACE/9901)=9900") in new
> stack
>     -- Executing [ctset@macro-dial-one:2]
> Return("SIP/9900-0000003a", "") in new
> stack
>     -- Executing [s@macro-dial-one:30] Set("SIP/9900-0000003a",
> "D_OPTIONS=Ttr") in new stack
>     -- Executing [s@macro-dial-one:31] ExecIf("SIP/9900-0000003a",
> "0?SIPAddHeader(Alert-Info: )") in new
> stack
>     -- Executing [s@macro-dial-one:32] ExecIf("SIP/9900-0000003a",
> "0?SIPAddHeader()") in new stack
>     -- Executing [s@macro-dial-one:33] ExecIf("SIP/9900-0000003a",
> "0?Set(CHANNEL(musicclass)=)") in new
> stack
>     -- Executing [s@macro-dial-one:34] GosubIf("SIP/9900-0000003a",
> "0?qwait,1()") in new stack
>     -- Executing [s@macro-dial-one:35] Set("SIP/9900-0000003a",
> "__CWIGNORE=") in new stack
>     -- Executing [s@macro-dial-one:36] Set("SIP/9900-0000003a",
> "__KEEPCID=TRUE") in new stack
>     -- Executing [s@macro-dial-one:37] GotoIf("SIP/9900-0000003a",
> "0?usegoto,1") in new stack
>     -- Executing [s@macro-dial-one:38] GotoIf("SIP/9900-0000003a",
> "0?godial") in new stack
>     -- Executing [s@macro-dial-one:39] Gosub("SIP/9900-0000003a",
> "sub-presencestate-display,s,1(9901)")
> in new stack [2015-10-05 12:11:46]
> WARNING[11899][C-00000020]:
> func_presencestate.c:132
> presence_read: PRESENCE_STATE unknown
>     -- Executing [s@sub-presencestate-display:1]
> Goto("SIP/9900-0000003a", "state-,1")
> in new stack
>     -- Goto (sub-presencestate-display,state-,1)
>     -- Executing [state-@sub-presencestate-display:1]
> Set("SIP/9900-0000003a",
> "PRESENCESTATE_DISPLAY=") in new stack
>     -- Executing [state-@sub-presencestate-display:2]
> Return("SIP/9900-0000003a", "") in new
> stack
>     -- Executing [s@macro-dial-one:40] Set("SIP/9900-0000003a",
> "CONNECTEDLINE(name,i)=9901") in new
> stack
>     -- Executing [s@macro-dial-one:41] Set("SIP/9900-0000003a",
> "CONNECTEDLINE(num)=9901") in new
> stack
>     -- Executing [s@macro-dial-one:42] Set("SIP/9900-0000003a",
> "D_OPTIONS=TtrI") in new stack
>     -- Executing [s@macro-dial-one:43] Macro("SIP/9900-0000003a",
> "dialout-one-predial-hook,") in new
> stack
>     -- Executing [s@macro-dialout-one-predial-hook:1]
> MacroExit("SIP/9900-0000003a", "") in
> new stack
>     -- Executing [s@macro-dial-one:44] Dial("SIP/9900-0000003a",
> "SIP/9901,,TtrI") in new stack   ==
> Using SIP RTP TOS bits 184   == Using
> SIP RTP CoS mark 5 Audio is at 11848
> Adding codec 100003 (ulaw) to SDP
> Adding non-codec 0x1 (telephone-event)
> to SDP Reliably Transmitting (no NAT)
> to 192.168.100.90:63934: INVITE
> sip:9901@192.168.100.90:63934;transport=TLS;rinstance=a584037e19e84fa4
> SIP/2.0 Via: SIP/2.0/TLS
> 192.168.100.102:5061;branch=z9hG4bK2255ec9f Max-Forwards: 70 From: "9900"
> <sip:9900@192.168.100.102>;tag=as7117d06a
> To:
> <sip:9901@192.168.100.90:63934;transport=TLS;rinstance=a584037e19e84fa4>
> Contact:
> <sip:9900@192.168.100.102:5061;transport=TLS>
> Call-ID:
> 325955bd473552852e80887637160cfc@192.168.100.102:5061
> CSeq: 102 INVITE User-Agent:
> FPBX-12.0.76.2(11.19.0) Date: Mon, 05
> Oct 2015 16:11:46 GMT Allow: INVITE,
> ACK, CANCEL, OPTIONS, BYE, REFER,
> SUBSCRIBE, NOTIFY, INFO, PUBLISH,
> MESSAGE Supported: replaces, timer
> Content-Type: application/sdp
> Content-Length: 240
> 
> v=0 o=root 273730281 273730281 IN IP4
> 192.168.100.102 s=Asterisk PBX 11.19.0 c=IN IP4 192.168.100.102 t=0 0 m=audio
> 11848 RTP/AVP 0 101 a=rtpmap:0
> PCMU/8000 a=rtpmap:101
> telephone-event/8000 a=fmtp:101 0-16
> a=ptime:20 a=sendrecv
> 
> ---
>     -- Called SIP/9901
> 
> <--- Transmitting (no NAT) to
> 192.168.99.103:53118 ---> SIP/2.0 180 Ringing Via: SIP/2.0/TLS
> 192.168.99.103:53118;branch=z9hG4bK-524287-1---829f632ca9733f55;received=192.168.99.103;rport=53118
> From:
> "9900"<sip:9900@192.168.100.102;transport=TLS>;tag=26ff7c29 To:
> <sip:9901@192.168.100.102;transport=TLS>;tag=as16ca9b7b
> Call-ID: _Y6dytK7El42aOFI66tzew..
> CSeq: 2 INVITE Server:
> FPBX-12.0.76.2(11.19.0) Allow: INVITE,
> ACK, CANCEL, OPTIONS, BYE, REFER,
> SUBSCRIBE, NOTIFY, INFO, PUBLISH,
> MESSAGE Supported: replaces, timer
> Session-Expires: 1800;refresher=uas
> Contact:
> <sip:9901@192.168.100.102:5061;transport=TLS>
> Content-Length: 0
> 
> 
> <------------>
>     -- Connected line update to SIP/9900-0000003a prevented.
> 
> <--- SIP read from
> TLS:192.168.100.90:63934 ---> SIP/2.0
> 100 Trying Via: SIP/2.0/TLS
> 192.168.100.102:5061;branch=z9hG4bK2255ec9f To:
> <sip:9901@192.168.100.90:63934;transport=TLS;rinstance=a584037e19e84fa4>
> From: "9900"
> <sip:9900@192.168.100.102>;tag=as7117d06a
> Call-ID:
> 325955bd473552852e80887637160cfc@192.168.100.102:5061
> CSeq: 102 INVITE Content-Length: 0
> 
> <------------->
> --- (7 headers 0 lines) ---
> 
> <--- SIP read from
> TLS:192.168.100.90:63934 ---> SIP/2.0
> 180 Ringing Via: SIP/2.0/TLS
> 192.168.100.102:5061;branch=z9hG4bK2255ec9f Contact:
> <sip:9901@192.168.100.90:63934;transport=TLS>
> To:
> <sip:9901@192.168.100.90:63934;transport=TLS;rinstance=a584037e19e84fa4>;tag=df76e643
> From: "9900"
> <sip:9900@192.168.100.102>;tag=as7117d06a
> Call-ID:
> 325955bd473552852e80887637160cfc@192.168.100.102:5061
> CSeq: 102 INVITE User-Agent: Z
> 3.9.32144 r32121 Content-Length: 0
> 
> <------------->
> --- (9 headers 0 lines) --- list_route: hop:
> <sip:9901@192.168.100.90:63934;transport=TLS>
>     -- SIP/9901-0000003b is ringing
> 
> <--- Transmitting (no NAT) to
> 192.168.99.103:53118 ---> SIP/2.0 180 Ringing Via: SIP/2.0/TLS
> 192.168.99.103:53118;branch=z9hG4bK-524287-1---829f632ca9733f55;received=192.168.99.103;rport=53118
> From:
> "9900"<sip:9900@192.168.100.102;transport=TLS>;tag=26ff7c29 To:
> <sip:9901@192.168.100.102;transport=TLS>;tag=as16ca9b7b
> Call-ID: _Y6dytK7El42aOFI66tzew..
> CSeq: 2 INVITE Server:
> FPBX-12.0.76.2(11.19.0) Allow: INVITE,
> ACK, CANCEL, OPTIONS, BYE, REFER,
> SUBSCRIBE, NOTIFY, INFO, PUBLISH,
> MESSAGE Supported: replaces, timer
> Session-Expires: 1800;refresher=uas
> Contact:
> <sip:9901@192.168.100.102:5061;transport=TLS>
> Content-Length: 0
> 
> 
> <------------>
> 
> <--- SIP read from
> TLS:192.168.100.90:63934 ---> SIP/2.0
> 200 OK Via: SIP/2.0/TLS
> 192.168.100.102:5061;branch=z9hG4bK2255ec9f Contact:
> <sip:9901@192.168.100.90:63934;transport=TLS>
> To:
> <sip:9901@192.168.100.90:63934;transport=TLS;rinstance=a584037e19e84fa4>;tag=df76e643
> From: "9900"
> <sip:9900@192.168.100.102>;tag=as7117d06a
> Call-ID:
> 325955bd473552852e80887637160cfc@192.168.100.102:5061
> CSeq: 102 INVITE Allow: INVITE, ACK,
> CANCEL, BYE, NOTIFY, REFER, MESSAGE,
> OPTIONS, INFO, SUBSCRIBE Content-Type:
> application/sdp Supported: replaces,
> norefersub, extended-refer, timer,
> outbound, path, X-cisco-serviceuri
> User-Agent: Z 3.9.32144 r32121
> Allow-Events: presence, kpml
> Content-Length: 243
> 
> v=0 o=Z 0 3 IN IP4 192.168.100.90 s=Z
> c=IN IP4 192.168.100.90 t=0 0 m=audio
> 8000 RTP/AVP 0 3 110 8 97 101
> a=rtpmap:110 speex/8000 a=rtpmap:97
> iLBC/8000 a=fmtp:97 mode=30
> a=rtpmap:101 telephone-event/8000
> a=fmtp:101 0-16 a=sendrecv
> <------------->
> --- (13 headers 12 lines) --- Found RTP audio format 0 Found RTP audio
> format 3 Found RTP audio format 110
> Found RTP audio format 8 Found RTP
> audio format 97 Found RTP audio format
> 101 Found audio description format
> speex for ID 110 Found audio
> description format iLBC for ID 97
> Found audio description format
> telephone-event for ID 101
> Capabilities: us - (ulaw), peer -
> audio=(gsm|ulaw|alaw|speex|ilbc)/video=(nothing)/text=(nothing),
> combined - (ulaw) Non-codec
> capabilities (dtmf): us - 0x1
> (telephone-event|), peer - 0x1
> (telephone-event|), combined - 0x1
> (telephone-event|) Peer audio RTP is
> at port 192.168.100.90:8000
> list_route: hop:
> <sip:9901@192.168.100.90:63934;transport=TLS>
> set_destination: Parsing
> <sip:9901@192.168.100.90:63934;transport=TLS>
> for address/port to send to
> set_destination: set destination to
> 192.168.100.90:63934 Transmitting (no NAT) to 192.168.100.90:63934: ACK
> sip:9901@192.168.100.90:63934;transport=TLS
> SIP/2.0 Via: SIP/2.0/TLS
> 192.168.100.102:5061;branch=z9hG4bK6b846678 Max-Forwards: 70 From: "9900"
> <sip:9900@192.168.100.102>;tag=as7117d06a
> To:
> <sip:9901@192.168.100.90:63934;transport=TLS;rinstance=a584037e19e84fa4>;tag=df76e643
> Contact:
> <sip:9900@192.168.100.102:5061;transport=TLS>
> Call-ID:
> 325955bd473552852e80887637160cfc@192.168.100.102:5061
> CSeq: 102 ACK User-Agent:
> FPBX-12.0.76.2(11.19.0)
> Content-Length: 0
> 
> 
> ---
>     -- Connected line update to SIP/9900-0000003a prevented.
>     -- SIP/9901-0000003b answered SIP/9900-0000003a Audio is at 10196
> Adding codec 100003 (ulaw) to SDP
> Adding non-codec 0x1 (telephone-event)
> to SDP
> 
> <--- Reliably Transmitting (no NAT) to
> 192.168.99.103:53118 ---> SIP/2.0 200 OK Via: SIP/2.0/TLS
> 192.168.99.103:53118;branch=z9hG4bK-524287-1---829f632ca9733f55;received=192.168.99.103;rport=53118
> From:
> "9900"<sip:9900@192.168.100.102;transport=TLS>;tag=26ff7c29 To:
> <sip:9901@192.168.100.102;transport=TLS>;tag=as16ca9b7b
> Call-ID: _Y6dytK7El42aOFI66tzew..
> CSeq: 2 INVITE Server:
> FPBX-12.0.76.2(11.19.0) Allow: INVITE,
> ACK, CANCEL, OPTIONS, BYE, REFER,
> SUBSCRIBE, NOTIFY, INFO, PUBLISH,
> MESSAGE Supported: replaces, timer
> Session-Expires: 1800;refresher=uas
> Contact:
> <sip:9901@192.168.100.102:5061;transport=TLS>
> Content-Type: application/sdp Require:
> timer Content-Length: 240
> 
> v=0 o=root 955759393 955759393 IN IP4
> 192.168.100.102 s=Asterisk PBX 11.19.0 c=IN IP4 192.168.100.102 t=0 0 m=audio
> 10196 RTP/AVP 0 101 a=rtpmap:0
> PCMU/8000 a=rtpmap:101
> telephone-event/8000 a=fmtp:101 0-16
> a=ptime:20 a=sendrecv
> 
> <------------>
> 
> <--- SIP read from
> TLS:192.168.100.90:63934 ---> PUBLISH
> sip:9901@192.168.100.102;transport=TLS
> SIP/2.0 Via: SIP/2.0/TLS
> 192.168.100.90:63934;branch=z9hG4bK-524287-1---c25b5ab5fc686506;rport
> Max-Forwards: 70 Contact:
> <sip:9901@192.168.100.90:63934;transport=TLS>
> To:
> "9901"<sip:9901@192.168.100.102;transport=TLS>
> From:
> "9901"<sip:9901@192.168.100.102;transport=TLS>;tag=11352b51 Call-ID: u-qpQZAUt4r22nyyAzlqxQ..
> CSeq: 1 PUBLISH Expires: 600 Allow:
> INVITE, ACK, CANCEL, BYE, NOTIFY,
> REFER, MESSAGE, OPTIONS, INFO,
> SUBSCRIBE Content-Type:
> application/pidf+xml Supported:
> replaces, norefersub, extended-refer,
> timer, outbound, path,
> X-cisco-serviceuri User-Agent: Z
> 3.9.32144 r32121 Event: presence Allow-Events: presence, kpml
> Content-Length: 269
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <presence
> xmlns="urn:ietf:params:xml:ns:pidf"
> entity="sip:9901@192.168.100.102;transport=TLS">
> <tuple id="9901" >
> <status><basic>open</basic></status>
> <note>On the phone</note> </tuple>
> </presence> <------------->
> --- (16 headers 3 lines) --- Sending to 192.168.100.90:63934 (NAT)
> 
> <--- Transmitting (NAT) to
> 192.168.100.90:63934 ---> SIP/2.0 489 Bad Event Via: SIP/2.0/TLS
> 192.168.100.90:63934;branch=z9hG4bK-524287-1---c25b5ab5fc686506;received=192.168.100.90;rport=63934
> From:
> "9901"<sip:9901@192.168.100.102;transport=TLS>;tag=11352b51 To:
> "9901"<sip:9901@192.168.100.102;transport=TLS>;tag=as405247d1
> Call-ID: u-qpQZAUt4r22nyyAzlqxQ..
> CSeq: 1 PUBLISH Server:
> FPBX-12.0.76.2(11.19.0) Allow: INVITE,
> ACK, CANCEL, OPTIONS, BYE, REFER,
> SUBSCRIBE, NOTIFY, INFO, PUBLISH,
> MESSAGE Supported: replaces, timer
> Content-Length: 0
> 
> 
> <------------>
> 
> <--- SIP read from
> TLS:192.168.100.90:63934 --->
> SUBSCRIBE
> sip:9901@192.168.100.102;transport=TLS
> SIP/2.0 Via: SIP/2.0/TLS
> 192.168.100.90:63934;branch=z9hG4bK-524287-1---78eeb47ffdaba946;rport
> Max-Forwards: 70 Contact:
> <sip:9901@192.168.100.90:63934;transport=TLS>
> To:
> "9901"<sip:9901@192.168.100.102;transport=TLS>
> From:
> "9901"<sip:9901@192.168.100.102;transport=TLS>;tag=a25e4354 Call-ID: 4HalztqPMmNW3Pqp-x3SMw..
> CSeq: 1 SUBSCRIBE Expires: 600 Accept:
> application/watcherinfo+xml Allow:
> INVITE, ACK, CANCEL, BYE, NOTIFY,
> REFER, MESSAGE, OPTIONS, INFO,
> SUBSCRIBE Supported: replaces,
> norefersub, extended-refer, timer,
> outbound, path, X-cisco-serviceuri
> User-Agent: Z 3.9.32144 r32121 Event:
> presence.winfo Allow-Events: presence,
> kpml Content-Length: 0
> 
> <------------->
> --- (16 headers 0 lines) --- Sending to 192.168.100.90:63934 (NAT) Creating
> new subscription Sending to
> 192.168.100.90:63934 (NAT) list_route: hop:
> <sip:9901@192.168.100.90:63934;transport=TLS>
> Found peer '9901' for '9901' from
> 192.168.100.90:63934
> 
> <--- Transmitting (no NAT) to
> 192.168.100.90:63934 ---> SIP/2.0 401 Unauthorized Via: SIP/2.0/TLS
> 192.168.100.90:63934;branch=z9hG4bK-524287-1---78eeb47ffdaba946;received=192.168.100.90;rport=63934
> From:
> "9901"<sip:9901@192.168.100.102;transport=TLS>;tag=a25e4354 To:
> "9901"<sip:9901@192.168.100.102;transport=TLS>;tag=as1ea24dc8
> Call-ID: 4HalztqPMmNW3Pqp-x3SMw..
> CSeq: 1 SUBSCRIBE Server:
> FPBX-12.0.76.2(11.19.0) Allow: INVITE,
> ACK, CANCEL, OPTIONS, BYE, REFER,
> SUBSCRIBE, NOTIFY, INFO, PUBLISH,
> MESSAGE Supported: replaces, timer
> WWW-Authenticate: Digest
> algorithm=MD5, realm="asterisk",
> nonce="16b0c5a5" Content-Length: 0
> 
> 
> <------------> Scheduling destruction
> of SIP dialog
> '4HalztqPMmNW3Pqp-x3SMw..' in 6400 ms
> (Method: SUBSCRIBE)
> 
> <--- SIP read from
> TLS:192.168.100.90:63934 --->
> SUBSCRIBE
> sip:9901@192.168.100.102;transport=TLS
> SIP/2.0 Via: SIP/2.0/TLS
> 192.168.100.90:63934;branch=z9hG4bK-524287-1---492a1afb9793b9cc;rport
> Max-Forwards: 70 Contact:
> <sip:9901@192.168.100.90:63934;transport=TLS>
> To:
> "9901"<sip:9901@192.168.100.102;transport=TLS>
> From:
> "9901"<sip:9901@192.168.100.102;transport=TLS>;tag=a25e4354 Call-ID: 4HalztqPMmNW3Pqp-x3SMw..
> CSeq: 2 SUBSCRIBE Expires: 600 Accept:
> application/watcherinfo+xml Allow:
> INVITE, ACK, CANCEL, BYE, NOTIFY,
> REFER, MESSAGE, OPTIONS, INFO,
> SUBSCRIBE Supported: replaces,
> norefersub, extended-refer, timer,
> outbound, path, X-cisco-serviceuri
> User-Agent: Z 3.9.32144 r32121
> Authorization: Digest
> username="9901",realm="asterisk",nonce="16b0c5a5",uri="sip:9901@192.168.100.102;transport=TLS",response="e301a2c70210abe84e707b0b52570d4e",algorithm=MD5
> Event: presence.winfo Allow-Events:
> presence, kpml Content-Length: 0
> 
> <------------->
> --- (17 headers 0 lines) --- Creating new subscription Sending to
> 192.168.100.90:63934 (no NAT) Found peer '9901' for '9901' from
> 192.168.100.90:63934
> 
> <--- Transmitting (no NAT) to
> 192.168.100.90:63934 ---> SIP/2.0 489 Bad Event Via: SIP/2.0/TLS
> 192.168.100.90:63934;branch=z9hG4bK-524287-1---492a1afb9793b9cc;received=192.168.100.90;rport=63934
> From:
> "9901"<sip:9901@192.168.100.102;transport=TLS>;tag=a25e4354 To:
> "9901"<sip:9901@192.168.100.102;transport=TLS>;tag=as1ea24dc8
> Call-ID: 4HalztqPMmNW3Pqp-x3SMw..
> CSeq: 2 SUBSCRIBE Server:
> FPBX-12.0.76.2(11.19.0) Allow: INVITE,
> ACK, CANCEL, OPTIONS, BYE, REFER,
> SUBSCRIBE, NOTIFY, INFO, PUBLISH,
> MESSAGE Supported: replaces, timer
> Content-Length: 0
> 
> 
> <------------>
> 
> <--- SIP read from
> TLS:192.168.100.90:63934 ---> PUBLISH
> sip:9901@192.168.100.102;transport=TLS
> SIP/2.0 Via: SIP/2.0/TLS
> 192.168.100.90:63934;branch=z9hG4bK-524287-1---d4cbb74dc9e935d6;rport
> Max-Forwards: 70 Contact:
> <sip:9901@192.168.100.90:63934;transport=TLS>
> To:
> "9901"<sip:9901@192.168.100.102;transport=TLS>
> From:
> "9901"<sip:9901@192.168.100.102;transport=TLS>;tag=9850ca16 Call-ID: 6vUL4lYNg9_CULFZBVzKHQ..
> CSeq: 1 PUBLISH Expires: 600 Allow:
> INVITE, ACK, CANCEL, BYE, NOTIFY,
> REFER, MESSAGE, OPTIONS, INFO,
> SUBSCRIBE Content-Type:
> application/pidf+xml Supported:
> replaces, norefersub, extended-refer,
> timer, outbound, path,
> X-cisco-serviceuri User-Agent: Z
> 3.9.32144 r32121 Event: presence Allow-Events: presence, kpml
> Content-Length: 269
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <presence
> xmlns="urn:ietf:params:xml:ns:pidf"
> entity="sip:9901@192.168.100.102;transport=TLS">
> <tuple id="9901" >
> <status><basic>open</basic></status>
> <note>On the phone</note> </tuple>
> </presence> <------------->
> --- (16 headers 3 lines) --- Sending to 192.168.100.90:63934 (NAT)
> 
> <--- Transmitting (NAT) to
> 192.168.100.90:63934 ---> SIP/2.0 489 Bad Event Via: SIP/2.0/TLS
> 192.168.100.90:63934;branch=z9hG4bK-524287-1---d4cbb74dc9e935d6;received=192.168.100.90;rport=63934
> From:
> "9901"<sip:9901@192.168.100.102;transport=TLS>;tag=9850ca16 To:
> "9901"<sip:9901@192.168.100.102;transport=TLS>;tag=as310c7076
> Call-ID: 6vUL4lYNg9_CULFZBVzKHQ..
> CSeq: 1 PUBLISH Server:
> FPBX-12.0.76.2(11.19.0) Allow: INVITE,
> ACK, CANCEL, OPTIONS, BYE, REFER,
> SUBSCRIBE, NOTIFY, INFO, PUBLISH,
> MESSAGE Supported: replaces, timer
> Content-Length: 0
> 
> 
> <------------>
> 
> <--- SIP read from
> TLS:192.168.100.90:63934 --->
> SUBSCRIBE
> sip:9901@192.168.100.102;transport=TLS
> SIP/2.0 Via: SIP/2.0/TLS
> 192.168.100.90:63934;branch=z9hG4bK-524287-1---a446da6ebdd88436;rport
> Max-Forwards: 70 Contact:
> <sip:9901@192.168.100.90:63934;transport=TLS>
> To:
> "9901"<sip:9901@192.168.100.102;transport=TLS>
> From:
> "9901"<sip:9901@192.168.100.102;transport=TLS>;tag=7e6d8160 Call-ID: diRMoVb8934eUUsdL8ZUzA..
> CSeq: 1 SUBSCRIBE Expires: 600 Accept:
> application/watcherinfo+xml Allow:
> INVITE, ACK, CANCEL, BYE, NOTIFY,
> REFER, MESSAGE, OPTIONS, INFO,
> SUBSCRIBE Supported: replaces,
> norefersub, extended-refer, timer,
> outbound, path, X-cisco-serviceuri
> User-Agent: Z 3.9.32144 r32121 Event:
> presence.winfo Allow-Events: presence,
> kpml Content-Length: 0
> 
> <------------->
> --- (16 headers 0 lines) --- Sending to 192.168.100.90:63934 (NAT) Creating
> new subscription Sending to
> 192.168.100.90:63934 (NAT) list_route: hop:
> <sip:9901@192.168.100.90:63934;transport=TLS>
> Found peer '9901' for '9901' from
> 192.168.100.90:63934
> 
> <--- Transmitting (no NAT) to
> 192.168.100.90:63934 ---> SIP/2.0 401 Unauthorized Via: SIP/2.0/TLS
> 192.168.100.90:63934;branch=z9hG4bK-524287-1---a446da6ebdd88436;received=192.168.100.90;rport=63934
> From:
> "9901"<sip:9901@192.168.100.102;transport=TLS>;tag=7e6d8160 To:
> "9901"<sip:9901@192.168.100.102;transport=TLS>;tag=as5d50bc48
> Call-ID: diRMoVb8934eUUsdL8ZUzA..
> CSeq: 1 SUBSCRIBE Server:
> FPBX-12.0.76.2(11.19.0) Allow: INVITE,
> ACK, CANCEL, OPTIONS, BYE, REFER,
> SUBSCRIBE, NOTIFY, INFO, PUBLISH,
> MESSAGE Supported: replaces, timer
> WWW-Authenticate: Digest
> algorithm=MD5, realm="asterisk",
> nonce="0cde7a2c" Content-Length: 0
> 
> 
> <------------> Scheduling destruction
> of SIP dialog
> 'diRMoVb8934eUUsdL8ZUzA..' in 6400 ms
> (Method: SUBSCRIBE)
> 
> <--- SIP read from
> TLS:192.168.100.90:63934 --->
> SUBSCRIBE
> sip:9901@192.168.100.102;transport=TLS
> SIP/2.0 Via: SIP/2.0/TLS
> 192.168.100.90:63934;branch=z9hG4bK-524287-1---9c16c6eb0eebc89e;rport
> Max-Forwards: 70 Contact:
> <sip:9901@192.168.100.90:63934;transport=TLS>
> To:
> "9901"<sip:9901@192.168.100.102;transport=TLS>
> From:
> "9901"<sip:9901@192.168.100.102;transport=TLS>;tag=7e6d8160 Call-ID: diRMoVb8934eUUsdL8ZUzA..
> CSeq: 2 SUBSCRIBE Expires: 600 Accept:
> application/watcherinfo+xml Allow:
> INVITE, ACK, CANCEL, BYE, NOTIFY,
> REFER, MESSAGE, OPTIONS, INFO,
> SUBSCRIBE Supported: replaces,
> norefersub, extended-refer, timer,
> outbound, path, X-cisco-serviceuri
> User-Agent: Z 3.9.32144 r32121
> Authorization: Digest
> username="9901",realm="asterisk",nonce="0cde7a2c",uri="sip:9901@192.168.100.102;transport=TLS",response="391e0fd2cb6c743badd345a61ca54e1b",algorithm=MD5
> Event: presence.winfo Allow-Events:
> presence, kpml Content-Length: 0
> 
> <------------->
> --- (17 headers 0 lines) --- Creating new subscription Sending to
> 192.168.100.90:63934 (no NAT) Found peer '9901' for '9901' from
> 192.168.100.90:63934
> 
> <--- Transmitting (no NAT) to
> 192.168.100.90:63934 ---> SIP/2.0 489 Bad Event Via: SIP/2.0/TLS
> 192.168.100.90:63934;branch=z9hG4bK-524287-1---9c16c6eb0eebc89e;received=192.168.100.90;rport=63934
> From:
> "9901"<sip:9901@192.168.100.102;transport=TLS>;tag=7e6d8160 To:
> "9901"<sip:9901@192.168.100.102;transport=TLS>;tag=as5d50bc48
> Call-ID: diRMoVb8934eUUsdL8ZUzA..
> CSeq: 2 SUBSCRIBE Server:
> FPBX-12.0.76.2(11.19.0) Allow: INVITE,
> ACK, CANCEL, OPTIONS, BYE, REFER,
> SUBSCRIBE, NOTIFY, INFO, PUBLISH,
> MESSAGE Supported: replaces, timer
> Content-Length: 0
> 
> 
> <------------>
> 
> <--- SIP read from
> TLS:192.168.99.103:53118 ---> ACK
> sip:9901@192.168.100.102:5061;transport=TLS
> SIP/2.0 Via: SIP/2.0/TLS
> 192.168.99.103:53118;branch=z9hG4bK-524287-1---98d5282328c3ef74;rport
> Max-Forwards: 70 Contact:
> <sip:9900@192.168.99.103:53118;transport=TLS>
> To:
> <sip:9901@192.168.100.102;transport=TLS>;tag=as16ca9b7b
> From:
> "9900"<sip:9900@192.168.100.102;transport=TLS>;tag=26ff7c29 Call-ID: _Y6dytK7El42aOFI66tzew..
> CSeq: 2 ACK User-Agent: Zoiper r33049
> Content-Length: 0
> 
> <------------->
> --- (10 headers 0 lines) --- Really destroying SIP dialog
> 'u-qpQZAUt4r22nyyAzlqxQ..' Method:
> PUBLISH Really destroying SIP dialog
> '4HalztqPMmNW3Pqp-x3SMw..' Method:
> SUBSCRIBE Really destroying SIP dialog
> '6vUL4lYNg9_CULFZBVzKHQ..' Method:
> PUBLISH Really destroying SIP dialog
> 'diRMoVb8934eUUsdL8ZUzA..' Method:
> SUBSCRIBE Reliably Transmitting (no
> NAT) to 192.168.100.90:63934: OPTIONS
> sip:9901@192.168.100.90:63934;transport=TLS;rinstance=a584037e19e84fa4
> SIP/2.0 Via: SIP/2.0/TLS
> 192.168.100.102:5061;branch=z9hG4bK64c49752 Max-Forwards: 70 From: "Unknown"
> <sip:Unknown@192.168.100.102>;tag=as2b55a86f
> To:
> <sip:9901@192.168.100.90:63934;transport=TLS;rinstance=a584037e19e84fa4>
> Contact:
> <sip:Unknown@192.168.100.102:5061;transport=TLS>
> Call-ID:
> 721915ea0ccf8ab3256fab347b4530d3@192.168.100.102:5061
> CSeq: 102 OPTIONS User-Agent:
> FPBX-12.0.76.2(11.19.0) Date: Mon, 05
> Oct 2015 16:11:56 GMT Allow: INVITE,
> ACK, CANCEL, OPTIONS, BYE, REFER,
> SUBSCRIBE, NOTIFY, INFO, PUBLISH,
> MESSAGE Supported: replaces, timer
> Content-Length: 0
> 
> 
> ---
> 
> <--- SIP read from
> TLS:192.168.100.90:63934 ---> SIP/2.0
> 200 OK Via: SIP/2.0/TLS
> 192.168.100.102:5061;branch=z9hG4bK64c49752 Contact:
> <sip:192.168.100.90:50805;transport=tls>
> To:
> <sip:9901@192.168.100.90:63934;transport=TLS;rinstance=a584037e19e84fa4>;tag=db524c59
> From: "Unknown"
> <sip:Unknown@192.168.100.102>;tag=as2b55a86f
> Call-ID:
> 721915ea0ccf8ab3256fab347b4530d3@192.168.100.102:5061
> CSeq: 102 OPTIONS Accept:
> application/sdp, application/sdp
> Accept-Language: en Allow: INVITE,
> ACK, CANCEL, BYE, NOTIFY, REFER,
> MESSAGE, OPTIONS, INFO, SUBSCRIBE
> Supported: replaces, norefersub,
> extended-refer, timer, outbound, path,
> X-cisco-serviceuri User-Agent: Z
> 3.9.32144 r32121 Allow-Events: presence, kpml Content-Length: 0
> 
> <------------->
> --- (14 headers 0 lines) --- Really destroying SIP dialog
> '721915ea0ccf8ab3256fab347b4530d3@192.168.100.102:5061'
> Method: OPTIONS
> 
> <--- SIP read from
> TLS:192.168.99.103:53118 ---> BYE
> sip:9901@192.168.100.102:5061;transport=TLS
> SIP/2.0 Via: SIP/2.0/TLS
> 192.168.99.103:53118;branch=z9hG4bK-524287-1---d635ac75a9c92d1d;rport
> Max-Forwards: 70 Contact:
> <sip:9900@192.168.99.103:53118;transport=TLS>
> To:
> <sip:9901@192.168.100.102;transport=TLS>;tag=as16ca9b7b
> From:
> "9900"<sip:9900@192.168.100.102;transport=TLS>;tag=26ff7c29 Call-ID: _Y6dytK7El42aOFI66tzew..
> CSeq: 3 BYE User-Agent: Zoiper r33049
> Authorization: Digest
> username="9900",realm="asterisk",nonce="44d28063",uri="sip:9901@192.168.100.102:5061;transport=TLS",response="cc319bfb1a2e71c0a4b92bb76c94321b",algorithm=MD5
> Content-Length: 0
> 
> <------------->
> --- (11 headers 0 lines) --- Sending to 192.168.99.103:53118 (no NAT)
> Scheduling destruction of SIP dialog
> '_Y6dytK7El42aOFI66tzew..' in 6400 ms
> (Method: BYE)
> 
> <--- Transmitting (no NAT) to
> 192.168.99.103:53118 ---> SIP/2.0 200 OK Via: SIP/2.0/TLS
> 192.168.99.103:53118;branch=z9hG4bK-524287-1---d635ac75a9c92d1d;received=192.168.99.103;rport=53118
> From:
> "9900"<sip:9900@192.168.100.102;transport=TLS>;tag=26ff7c29 To:
> <sip:9901@192.168.100.102;transport=TLS>;tag=as16ca9b7b
> Call-ID: _Y6dytK7El42aOFI66tzew..
> CSeq: 3 BYE Server:
> FPBX-12.0.76.2(11.19.0) Allow: INVITE,
> ACK, CANCEL, OPTIONS, BYE, REFER,
> SUBSCRIBE, NOTIFY, INFO, PUBLISH,
> MESSAGE Supported: replaces, timer
> Content-Length: 0
> 
> 
> <------------>
>     -- Executing [h@macro-dial-one:1] Macro("SIP/9900-0000003a",
> "hangupcall,") in new stack
>     -- Executing [s@macro-hangupcall:1]
> ExecIf("SIP/9900-0000003a",
> "0?Set(CDR(recordingfile)=.wav)") in
> new stack
>     -- Executing [s@macro-hangupcall:2]
> GotoIf("SIP/9900-0000003a",
> "1?theend") in new stack
>     -- Goto (macro-hangupcall,s,4)
>     -- Executing [s@macro-hangupcall:4]
> Hangup("SIP/9900-0000003a", "") in new
> stack   == Spawn extension
> (macro-hangupcall, s, 4) exited
> non-zero on 'SIP/9900-0000003a' in
> macro 'hangupcall'   == Spawn
> extension (macro-dial-one, h, 1)
> exited non-zero on 'SIP/9900-0000003a'
> Scheduling destruction of SIP dialog
> '325955bd473552852e80887637160cfc@192.168.100.102:5061'
> in 6400 ms (Method: INVITE)
> set_destination: Parsing
> <sip:9901@192.168.100.90:63934;transport=TLS>
> for address/port to send to
> set_destination: set destination to
> 192.168.100.90:63934 Reliably Transmitting (no NAT) to
> 192.168.100.90:63934: BYE sip:9901@192.168.100.90:63934;transport=TLS
> SIP/2.0 Via: SIP/2.0/TLS
> 192.168.100.102:5061;branch=z9hG4bK2b5fc225 Max-Forwards: 70 From: "9900"
> <sip:9900@192.168.100.102>;tag=as7117d06a
> To:
> <sip:9901@192.168.100.90:63934;transport=TLS;rinstance=a584037e19e84fa4>;tag=df76e643
> Call-ID:
> 325955bd473552852e80887637160cfc@192.168.100.102:5061
> CSeq: 103 BYE User-Agent:
> FPBX-12.0.76.2(11.19.0)
> X-Asterisk-HangupCause: Normal
> Clearing X-Asterisk-HangupCauseCode:
> 16 Content-Length: 0
> 
> 
> ---   == Spawn extension (macro-dial-one, s, 44) exited
> non-zero on 'SIP/9900-0000003a' in
> macro 'dial-one'   == Spawn extension
> (macro-exten-vm, s, 14) exited
> non-zero on 'SIP/9900-0000003a' in
> macro 'exten-vm'   == Spawn extension
> (from-internal, 9901, 2) exited
> non-zero on 'SIP/9900-0000003a'
> 
> <--- SIP read from
> TLS:192.168.100.90:63934 ---> SIP/2.0
> 200 OK Via: SIP/2.0/TLS
> 192.168.100.102:5061;branch=z9hG4bK2b5fc225 Contact:
> <sip:9901@192.168.100.90:63934;transport=TLS>
> To:
> <sip:9901@192.168.100.90:63934;transport=TLS;rinstance=a584037e19e84fa4>;tag=df76e643
> From: "9900"
> <sip:9900@192.168.100.102>;tag=as7117d06a
> Call-ID:
> 325955bd473552852e80887637160cfc@192.168.100.102:5061
> CSeq: 103 BYE User-Agent: Z 3.9.32144
> r32121 Content-Length: 0
> 
> <------------->
> --- (9 headers 0 lines) ---
> 
> <--- SIP read from
> TLS:192.168.100.90:63934 ---> PUBLISH
> sip:9901@192.168.100.102;transport=TLS
> SIP/2.0 Via: SIP/2.0/TLS
> 192.168.100.90:63934;branch=z9hG4bK-524287-1---7cfe66b9b72de08f;rport
> Max-Forwards: 70 Contact:
> <sip:9901@192.168.100.90:63934;transport=TLS>
> To:
> "9901"<sip:9901@192.168.100.102;transport=TLS>
> From:
> "9901"<sip:9901@192.168.100.102;transport=TLS>;tag=10089c66 Call-ID: ST8cEXA8p5ip6MiF9sKsvA..
> CSeq: 1 PUBLISH Expires: 600 Allow:
> INVITE, ACK, CANCEL, BYE, NOTIFY,
> REFER, MESSAGE, OPTIONS, INFO,
> SUBSCRIBE Content-Type:
> application/pidf+xml Supported:
> replaces, norefersub, extended-refer,
> timer, outbound, path,
> X-cisco-serviceuri User-Agent: Z
> 3.9.32144 r32121 Event: presence Allow-Events: presence, kpml
> Content-Length: 263
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <presence
> xmlns="urn:ietf:params:xml:ns:pidf"
> entity="sip:9901@192.168.100.102;transport=TLS">
> <tuple id="9901" >
> <status><basic>open</basic></status>
> <note>Online</note> </tuple>
> </presence> <------------->
> --- (16 headers 3 lines) --- Sending to 192.168.100.90:63934 (NAT)
> 
> <--- Transmitting (NAT) to
> 192.168.100.90:63934 ---> SIP/2.0 489 Bad Event Via: SIP/2.0/TLS
> 192.168.100.90:63934;branch=z9hG4bK-524287-1---7cfe66b9b72de08f;received=192.168.100.90;rport=63934
> From:
> "9901"<sip:9901@192.168.100.102;transport=TLS>;tag=10089c66 To:
> "9901"<sip:9901@192.168.100.102;transport=TLS>;tag=as1117c4a2
> Call-ID: ST8cEXA8p5ip6MiF9sKsvA..
> CSeq: 1 PUBLISH Server:
> FPBX-12.0.76.2(11.19.0) Allow: INVITE,
> ACK, CANCEL, OPTIONS, BYE, REFER,
> SUBSCRIBE, NOTIFY, INFO, PUBLISH,
> MESSAGE Supported: replaces, timer
> Content-Length: 0
> 
> 
> <------------>
> 
> <--- SIP read from
> TLS:192.168.100.90:63934 --->
> SUBSCRIBE
> sip:9901@192.168.100.102;transport=TLS
> SIP/2.0 Via: SIP/2.0/TLS
> 192.168.100.90:63934;branch=z9hG4bK-524287-1---e47acc1f6ea7b9f0;rport
> Max-Forwards: 70 Contact:
> <sip:9901@192.168.100.90:63934;transport=TLS>
> To:
> "9901"<sip:9901@192.168.100.102;transport=TLS>
> From:
> "9901"<sip:9901@192.168.100.102;transport=TLS>;tag=b03b7358 Call-ID: aa2LVkyWlovBqQXC95gw_A..
> CSeq: 1 SUBSCRIBE Expires: 600 Accept:
> application/watcherinfo+xml Allow:
> INVITE, ACK, CANCEL, BYE, NOTIFY,
> REFER, MESSAGE, OPTIONS, INFO,
> SUBSCRIBE Supported: replaces,
> norefersub, extended-refer, timer,
> outbound, path, X-cisco-serviceuri
> User-Agent: Z 3.9.32144 r32121 Event:
> presence.winfo Allow-Events: presence,
> kpml Content-Length: 0
> 
> <------------->
> --- (16 headers 0 lines) --- Sending to 192.168.100.90:63934 (NAT) Creating
> new subscription Sending to
> 192.168.100.90:63934 (NAT) list_route: hop:
> <sip:9901@192.168.100.90:63934;transport=TLS>
> Found peer '9901' for '9901' from
> 192.168.100.90:63934
> 
> <--- Transmitting (no NAT) to
> 192.168.100.90:63934 ---> SIP/2.0 401 Unauthorized Via: SIP/2.0/TLS
> 192.168.100.90:63934;branch=z9hG4bK-524287-1---e47acc1f6ea7b9f0;received=192.168.100.90;rport=63934
> From:
> "9901"<sip:9901@192.168.100.102;transport=TLS>;tag=b03b7358 To:
> "9901"<sip:9901@192.168.100.102;transport=TLS>;tag=as76d2e028
> Call-ID: aa2LVkyWlovBqQXC95gw_A..
> CSeq: 1 SUBSCRIBE Server:
> FPBX-12.0.76.2(11.19.0) Allow: INVITE,
> ACK, CANCEL, OPTIONS, BYE, REFER,
> SUBSCRIBE, NOTIFY, INFO, PUBLISH,
> MESSAGE Supported: replaces, timer
> WWW-Authenticate: Digest
> algorithm=MD5, realm="asterisk",
> nonce="73d30fe8" Content-Length: 0
> 
> 
> <------------> Scheduling destruction
> of SIP dialog
> 'aa2LVkyWlovBqQXC95gw_A..' in 6400 ms
> (Method: SUBSCRIBE) Really destroying
> SIP dialog
> '325955bd473552852e80887637160cfc@192.168.100.102:5061'
> Method: INVITE Really destroying SIP
> dialog 'ST8cEXA8p5ip6MiF9sKsvA..'
> Method: PUBLISH
> 
> <--- SIP read from
> TLS:192.168.100.90:63934 --->
> SUBSCRIBE
> sip:9901@192.168.100.102;transport=TLS
> SIP/2.0 Via: SIP/2.0/TLS
> 192.168.100.90:63934;branch=z9hG4bK-524287-1---2a4cf10abcc5819f;rport
> Max-Forwards: 70 Contact:
> <sip:9901@192.168.100.90:63934;transport=TLS>
> To:
> "9901"<sip:9901@192.168.100.102;transport=TLS>
> From:
> "9901"<sip:9901@192.168.100.102;transport=TLS>;tag=b03b7358 Call-ID: aa2LVkyWlovBqQXC95gw_A..
> CSeq: 2 SUBSCRIBE Expires: 600 Accept:
> application/watcherinfo+xml Allow:
> INVITE, ACK, CANCEL, BYE, NOTIFY,
> REFER, MESSAGE, OPTIONS, INFO,
> SUBSCRIBE Supported: replaces,
> norefersub, extended-refer, timer,
> outbound, path, X-cisco-serviceuri
> User-Agent: Z 3.9.32144 r32121
> Authorization: Digest
> username="9901",realm="asterisk",nonce="73d30fe8",uri="sip:9901@192.168.100.102;transport=TLS",response="92120615e2e637086307e2ff391a3d97",algorithm=MD5
> Event: presence.winfo Allow-Events:
> presence, kpml Content-Length: 0
> 
> <------------->
> --- (17 headers 0 lines) --- Creating new subscription Sending to
> 192.168.100.90:63934 (no NAT) Found peer '9901' for '9901' from
> 192.168.100.90:63934
> 
> <--- Transmitting (no NAT) to
> 192.168.100.90:63934 ---> SIP/2.0 489 Bad Event Via: SIP/2.0/TLS
> 192.168.100.90:63934;branch=z9hG4bK-524287-1---2a4cf10abcc5819f;received=192.168.100.90;rport=63934
> From:
> "9901"<sip:9901@192.168.100.102;transport=TLS>;tag=b03b7358 To:
> "9901"<sip:9901@192.168.100.102;transport=TLS>;tag=as76d2e028
> Call-ID: aa2LVkyWlovBqQXC95gw_A..
> CSeq: 2 SUBSCRIBE Server:
> FPBX-12.0.76.2(11.19.0) Allow: INVITE,
> ACK, CANCEL, OPTIONS, BYE, REFER,
> SUBSCRIBE, NOTIFY, INFO, PUBLISH,
> MESSAGE Supported: replaces, timer
> Content-Length: 0
> 
> 
> <------------> Really destroying SIP
> dialog 'aa2LVkyWlovBqQXC95gw_A..'
> Method: SUBSCRIBE Reliably
> Transmitting (no NAT) to
> 192.168.99.103:53118: OPTIONS sip:9900@192.168.99.103:53118;transport=TLS;rinstance=002a7f9c7e1bd23d
> SIP/2.0 Via: SIP/2.0/TLS
> 192.168.100.102:5061;branch=z9hG4bK543f1a82 Max-Forwards: 70 From: "Unknown"
> <sip:Unknown@192.168.100.102>;tag=as0989fb49
> To:
> <sip:9900@192.168.99.103:53118;transport=TLS;rinstance=002a7f9c7e1bd23d>
> Contact:
> <sip:Unknown@192.168.100.102:5061;transport=TLS>
> Call-ID:
> 5a68fe37519a2b610388792527fbdc1c@192.168.100.102:5061
> CSeq: 102 OPTIONS User-Agent:
> FPBX-12.0.76.2(11.19.0) Date: Mon, 05
> Oct 2015 16:12:04 GMT Allow: INVITE,
> ACK, CANCEL, OPTIONS, BYE, REFER,
> SUBSCRIBE, NOTIFY, INFO, PUBLISH,
> MESSAGE Supported: replaces, timer
> Content-Length: 0
> 
> 
> ---
> 
> <--- SIP read from
> TLS:192.168.99.103:53118 --->
> 
> 
> <------------->
> 
> <--- SIP read from
> TLS:192.168.99.103:53118 ---> SIP/2.0
> 200 OK Via: SIP/2.0/TLS
> 192.168.100.102:5061;branch=z9hG4bK543f1a82 Contact:
> <sip:192.168.99.103:49013;transport=tls>
> To:
> <sip:9900@192.168.99.103:53118;transport=TLS;rinstance=002a7f9c7e1bd23d>;tag=42183f26
> From: "Unknown"
> <sip:Unknown@192.168.100.102>;tag=as0989fb49
> Call-ID:
> 5a68fe37519a2b610388792527fbdc1c@192.168.100.102:5061
> CSeq: 102 OPTIONS Accept:
> application/sdp, application/sdp
> Accept-Language: en Allow: INVITE,
> ACK, CANCEL, BYE, NOTIFY, REFER,
> MESSAGE, OPTIONS, INFO, SUBSCRIBE
> Supported: replaces, norefersub,
> extended-refer, timer, outbound, path,
> X-cisco-serviceuri User-Agent: Zoiper
> r33049 Allow-Events: presence, kpml
> Content-Length: 0
> 
> <------------->
> --- (14 headers 0 lines) --- Really destroying SIP dialog
> '_Y6dytK7El42aOFI66tzew..' Method: BYE
> Really destroying SIP dialog
> '5a68fe37519a2b610388792527fbdc1c@192.168.100.102:5061'
> Method: OPTIONS
> 
> <--- SIP read from
> UDP:192.168.99.103:52396 ---> REGISTER
> sip:192.168.100.102 SIP/2.0 Via:
> SIP/2.0/UDP
> 192.168.99.103:52396;branch=z9hG4bK.e6A3rKr5-;rport
> From:
> <sip:9901@192.168.100.102>;tag=me-lQokrw
> To: sip:9901@192.168.100.102 CSeq: 33
> REGISTER Call-ID: W0pmWzGj04
> Max-Forwards: 70 Supported: outbound
> Accept: application/sdp, text/plain,
> application/vnd.gsma.rcs-ft-http+xml
> Contact:
> <sip:9901@192.168.99.103:52396;app-id=org.linphone.phone.prod;pn-type=apple;pn-tok=6CC4AEC890B736D33B4EB4368035AD28BB0830AC9D4896C87B74EB3D52B6C2B2;pn-msg-str=IM_MSG;pn-call-str=IC_MSG;pn-call-snd=ring.caf;pn-msg-snd=msg.caf>;+sip.instance="<urn:uuid:c38249a9-effe-4add-a68d-4679800980e1>"
> Expires: 3600 User-Agent:
> LinphoneIphone/2.3 (belle-sip/1.4.1)
> 
> <------------->
> --- (12 headers 0 lines) --- Sending to 192.168.99.103:52396 (NAT) Sending
> to 192.168.99.103:52396 (NAT)
> 
> <--- Transmitting (no NAT) to
> 192.168.99.103:52396 ---> SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP
> 192.168.99.103:52396;branch=z9hG4bK.e6A3rKr5-;received=192.168.99.103;rport=52396
> From:
> <sip:9901@192.168.100.102>;tag=me-lQokrw
> To:
> sip:9901@192.168.100.102;tag=as287d9cba
> Call-ID: W0pmWzGj04 CSeq: 33 REGISTER
> Server: FPBX-12.0.76.2(11.19.0) Allow:
> INVITE, ACK, CANCEL, OPTIONS, BYE,
> REFER, SUBSCRIBE, NOTIFY, INFO,
> PUBLISH, MESSAGE Supported: replaces,
> timer WWW-Authenticate: Digest
> algorithm=MD5, realm="asterisk",
> nonce="77d23928" Content-Length: 0
> 
> 
> <------------> Scheduling destruction
> of SIP dialog 'W0pmWzGj04' in 32000 ms
> (Method: REGISTER)
> 
> <--- SIP read from
> UDP:192.168.99.103:52396 ---> REGISTER
> sip:192.168.100.102 SIP/2.0 Via:
> SIP/2.0/UDP
> 192.168.99.103:52396;branch=z9hG4bK.e6A3rKr5-;rport
> From:
> <sip:9901@192.168.100.102>;tag=me-lQokrw
> To: sip:9901@192.168.100.102 CSeq: 33
> REGISTER Call-ID: W0pmWzGj04
> Max-Forwards: 70 Supported: outbound
> Accept: application/sdp, text/plain,
> application/vnd.gsma.rcs-ft-http+xml
> Contact:
> <sip:9901@192.168.99.103:52396;app-id=org.linphone.phone.prod;pn-type=apple;pn-tok=6CC4AEC890B736D33B4EB4368035AD28BB0830AC9D4896C87B74EB3D52B6C2B2;pn-msg-str=IM_MSG;pn-call-str=IC_MSG;pn-call-snd=ring.caf;pn-msg-snd=msg.caf>;+sip.instance="<urn:uuid:c38249a9-effe-4add-a68d-4679800980e1>"
> Expires: 3600 User-Agent:
> LinphoneIphone/2.3 (belle-sip/1.4.1)
> 
> <------------->
> --- (12 headers 0 lines) --- Sending to 192.168.99.103:52396 (no NAT)
> 
> <--- Transmitting (no NAT) to
> 192.168.99.103:52396 ---> SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP
> 192.168.99.103:52396;branch=z9hG4bK.e6A3rKr5-;received=192.168.99.103;rport=52396
> From:
> <sip:9901@192.168.100.102>;tag=me-lQokrw
> To:
> sip:9901@192.168.100.102;tag=as287d9cba
> Call-ID: W0pmWzGj04 CSeq: 33 REGISTER
> Server: FPBX-12.0.76.2(11.19.0) Allow:
> INVITE, ACK, CANCEL, OPTIONS, BYE,
> REFER, SUBSCRIBE, NOTIFY, INFO,
> PUBLISH, MESSAGE Supported: replaces,
> timer WWW-Authenticate: Digest
> algorithm=MD5, realm="asterisk",
> nonce="77d23928" Content-Length: 0
> 
> 
> <------------> Scheduling destruction
> of SIP dialog 'W0pmWzGj04' in 32000 ms
> (Method: REGISTER)
> 
> <--- SIP read from
> UDP:192.168.99.103:52396 ---> REGISTER
> sip:192.168.100.102 SIP/2.0 Via:
> SIP/2.0/UDP
> 192.168.99.103:52396;branch=z9hG4bK.KG8IajdqW;rport
> From:
> <sip:9901@192.168.100.102>;tag=me-lQokrw
> To: sip:9901@192.168.100.102 CSeq: 34
> REGISTER Call-ID: W0pmWzGj04
> Max-Forwards: 70 Supported: outbound
> Accept: application/sdp, text/plain,
> application/vnd.gsma.rcs-ft-http+xml
> Contact:
> <sip:9901@192.168.99.103:52396;app-id=org.linphone.phone.prod;pn-type=apple;pn-tok=6CC4AEC890B736D33B4EB4368035AD28BB0830AC9D4896C87B74EB3D52B6C2B2;pn-msg-str=IM_MSG;pn-call-str=IC_MSG;pn-call-snd=ring.caf;pn-msg-snd=msg.caf>;+sip.instance="<urn:uuid:c38249a9-effe-4add-a68d-4679800980e1>"
> Expires: 3600 User-Agent:
> LinphoneIphone/2.3 (belle-sip/1.4.1)
> Authorization: Digest
> realm="asterisk", nonce="77d23928",
> algorithm=MD5, username="9901",
> uri="sip:192.168.100.102",
> response="152a8829baf13329bde4d96d576ecfd4"
> 
> <------------->
> --- (13 headers 0 lines) --- Sending to 192.168.99.103:52396 (no NAT)
> [2015-10-05 12:12:18] ERROR[5846]:
> chan_sip.c:17033 register_verify:
> 'UDP' is not a valid transport for
> '9901'. we only use 'TLS'! ending
> call.
> 
> <--- Transmitting (no NAT) to
> 192.168.99.103:52396 ---> SIP/2.0 403 Forbidden Via: SIP/2.0/UDP
> 192.168.99.103:52396;branch=z9hG4bK.KG8IajdqW;received=192.168.99.103;rport=52396
> From:
> <sip:9901@192.168.100.102>;tag=me-lQokrw
> To:
> sip:9901@192.168.100.102;tag=as287d9cba
> Call-ID: W0pmWzGj04 CSeq: 34 REGISTER
> Server: FPBX-12.0.76.2(11.19.0) Allow:
> INVITE, ACK, CANCEL, OPTIONS, BYE,
> REFER, SUBSCRIBE, NOTIFY, INFO,
> PUBLISH, MESSAGE Supported: replaces,
> timer Date: Mon, 05 Oct 2015 16:12:18
> GMT Content-Length: 0
> 
> 
> <------------> [2015-10-05 12:12:18]
> NOTICE[5846]: chan_sip.c:28309
> handle_request_register: Registration
> from 'sip:9901@192.168.100.102' failed
> for '192.168.99.103:52396' - Device
> not configured to use this transport
> type Scheduling destruction of SIP
> dialog 'W0pmWzGj04' in 32000 ms
> (Method: REGISTER)
> 
> <--- SIP read from
> UDP:192.168.99.103:52396 ---> REGISTER
> sip:192.168.100.102 SIP/2.0 Via:
> SIP/2.0/UDP
> 192.168.99.103:52396;branch=z9hG4bK.KG8IajdqW;rport
> From:
> <sip:9901@192.168.100.102>;tag=me-lQokrw
> To: sip:9901@192.168.100.102 CSeq: 34
> REGISTER Call-ID: W0pmWzGj04
> Max-Forwards: 70 Supported: outbound
> Accept: application/sdp, text/plain,
> application/vnd.gsma.rcs-ft-http+xml
> Contact:
> <sip:9901@192.168.99.103:52396;app-id=org.linphone.phone.prod;pn-type=apple;pn-tok=6CC4AEC890B736D33B4EB4368035AD28BB0830AC9D4896C87B74EB3D52B6C2B2;pn-msg-str=IM_MSG;pn-call-str=IC_MSG;pn-call-snd=ring.caf;pn-msg-snd=msg.caf>;+sip.instance="<urn:uuid:c38249a9-effe-4add-a68d-4679800980e1>"
> Expires: 3600 User-Agent:
> LinphoneIphone/2.3 (belle-sip/1.4.1)
> Authorization: Digest
> realm="asterisk", nonce="77d23928",
> algorithm=MD5, username="9901",
> uri="sip:192.168.100.102",
> response="152a8829baf13329bde4d96d576ecfd4"
> 
> <------------->
> --- (13 headers 0 lines) --- Sending to 192.168.99.103:52396 (no NAT)
> [2015-10-05 12:12:18] NOTICE[5846]:
> chan_sip.c:16558 check_auth: Correct
> auth, but based on stale nonce
> received from
> '<sip:9901@192.168.100.102>;tag=me-lQokrw'
> 
> <--- Transmitting (no NAT) to
> 192.168.99.103:52396 ---> SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP
> 192.168.99.103:52396;branch=z9hG4bK.KG8IajdqW;received=192.168.99.103;rport=52396
> From:
> <sip:9901@192.168.100.102>;tag=me-lQokrw
> To:
> sip:9901@192.168.100.102;tag=as287d9cba
> Call-ID: W0pmWzGj04 CSeq: 34 REGISTER
> Server: FPBX-12.0.76.2(11.19.0) Allow:
> INVITE, ACK, CANCEL, OPTIONS, BYE,
> REFER, SUBSCRIBE, NOTIFY, INFO,
> PUBLISH, MESSAGE Supported: replaces,
> timer WWW-Authenticate: Digest
> algorithm=MD5, realm="asterisk",
> nonce="595fa7a7", stale=true
> Content-Length: 0
> 
> 
> <------------> Scheduling destruction
> of SIP dialog 'W0pmWzGj04' in 32000 ms
> (Method: REGISTER) PBX*CLI>

Проект компании "АТС Дизайн"
Asterisk® и Digium® являются зарегистрированными торговыми марками компании Digium, Inc., США.
IP АТС Asterisk распространяется под лицензией GNU GPL.