PJSIP транк, BYE без кода причины
Добавлено: 10 фев 2017, 15:26
Приветствую коллеги.
Не могу понять, почему не приходит код отбоя, звонок попадает в транк, но в трубке девушка говорит что сервис недоступен, или чтото там, хотя по сигналке обмен идет нормально
Не могу понять, почему не приходит код отбоя, звонок попадает в транк, но в трубке девушка говорит что сервис недоступен, или чтото там, хотя по сигналке обмен идет нормально
Код: Выделить всё
INVITE sip:7047@10.11.0.4:5060 SIP/2.0
Via: SIP/2.0/UDP 10.0.15.2:5060;rport;branch=z9hG4bKPj9RuZSt4wNYrhlq1oBWIFrErCwzsOCL42
From: "Dmitrij Ivanov" <sip:9996@10.0.15.2>;tag=MgTugmL62HG8gYU.sD5NesyG8927xaqq
To: <sip:7047@10.11.0.4>
Contact: <sip:asterisk@10.0.15.2:5060>
Call-ID: 1F6tBfyPqBMjOnsp8nO-KSJ-stwhYnNQ
CSeq: 10289 INVITE
Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, REFER, MESSAGE
Supported: 100rel, timer, replaces, norefersub
Session-Expires: 1800
Min-SE: 90
Max-Forwards: 70
User-Agent: FPBX-13.0.190.11(13.11.2)
Content-Type: application/sdp
Content-Length: 309
v=0
o=- 2071759352 2071759352 IN IP4 10.0.15.2
s=Asterisk
c=IN IP4 10.0.15.2
t=0 0
m=audio 17070 RTP/AVP 0 8 3 111 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:3 GSM/8000
a=rtpmap:111 G726-32/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=maxptime:150
a=sendrecv
[2017-02-10 15:17:50] VERBOSE[1891] res_pjsip_logger.c: <--- Received SIP response (538 bytes) from UDP:10.11.0.4:5060 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 10.0.15.2:5060;branch=z9hG4bKPj9RuZSt4wNYrhlq1oBWIFrErCwzsOCL42;received=10.11.22.2;rport=5060
From: "Dmitrij Ivanov" <sip:9996@10.0.15.2>;tag=MgTugmL62HG8gYU.sD5NesyG8927xaqq
To: <sip:7047@10.11.0.4>
Call-ID: 1F6tBfyPqBMjOnsp8nO-KSJ-stwhYnNQ
CSeq: 10289 INVITE
Server: FPBX-2.10.1(1.8.10.1)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Session-Expires: 1800;refresher=uas
Contact: <sip:7047@10.11.0.4:5060>
Content-Length: 0
[2017-02-10 15:17:50] VERBOSE[1891] res_pjsip_logger.c: <--- Received SIP response (887 bytes) from UDP:10.11.0.4:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.0.15.2:5060;branch=z9hG4bKPj9RuZSt4wNYrhlq1oBWIFrErCwzsOCL42;received=10.11.22.2;rport=5060
From: "Dmitrij Ivanov" <sip:9996@10.0.15.2>;tag=MgTugmL62HG8gYU.sD5NesyG8927xaqq
To: <sip:7047@10.11.0.4>;tag=as4cd223db
Call-ID: 1F6tBfyPqBMjOnsp8nO-KSJ-stwhYnNQ
CSeq: 10289 INVITE
Server: FPBX-2.10.1(1.8.10.1)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Session-Expires: 1800;refresher=uas
Contact: <sip:7047@10.11.0.4:5060>
Content-Type: application/sdp
Content-Length: 305
v=0
o=root 2084800297 2084800297 IN IP4 10.11.0.4
s=Asterisk PBX 1.8.10.1
c=IN IP4 10.11.0.4
t=0 0
m=audio 14376 RTP/AVP 0 8 3 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv
[2017-02-10 15:17:50] VERBOSE[29543] res_pjsip_logger.c: <--- Transmitting SIP request (385 bytes) to UDP:10.11.0.4:5060 --->
ACK sip:7047@10.11.0.4:5060 SIP/2.0
Via: SIP/2.0/UDP 10.0.15.2:5060;rport;branch=z9hG4bKPjvHKIDJVer0cxNbwVkRitbtMv9Gr5rsJx
From: "Dmitrij Ivanov" <sip:9996@10.0.15.2>;tag=MgTugmL62HG8gYU.sD5NesyG8927xaqq
To: <sip:7047@10.11.0.4>;tag=as4cd223db
Call-ID: 1F6tBfyPqBMjOnsp8nO-KSJ-stwhYnNQ
CSeq: 10289 ACK
Max-Forwards: 70
User-Agent: FPBX-13.0.190.11(13.11.2)
Content-Length: 0
[2017-02-10 15:17:50] VERBOSE[20076][C-00000116] app_dial.c: PJSIP/kf-pjsip-0000003c answered SIP/9996-00000202
[2017-02-10 15:17:50] VERBOSE[20079][C-00000116] bridge_channel.c: Channel PJSIP/kf-pjsip-0000003c joined 'simple_bridge' basic-bridge <fef5ef6e-5e30-4dc4-84f2-1f16294e9102>
[2017-02-10 15:17:50] VERBOSE[20076][C-00000116] bridge_channel.c: Channel SIP/9996-00000202 joined 'simple_bridge' basic-bridge <fef5ef6e-5e30-4dc4-84f2-1f16294e9102>
[2017-02-10 15:17:53] VERBOSE[20076][C-00000116] bridge_channel.c: Channel SIP/9996-00000202 left 'simple_bridge' basic-bridge <fef5ef6e-5e30-4dc4-84f2-1f16294e9102>
[2017-02-10 15:17:53] VERBOSE[20079][C-00000116] bridge_channel.c: Channel PJSIP/kf-pjsip-0000003c left 'simple_bridge' basic-bridge <fef5ef6e-5e30-4dc4-84f2-1f16294e9102>
[2017-02-10 15:17:53] VERBOSE[8770] res_pjsip_logger.c: <--- Transmitting SIP request (409 bytes) to UDP:10.11.0.4:5060 --->
BYE sip:7047@10.11.0.4:5060 SIP/2.0
Via: SIP/2.0/UDP 10.0.15.2:5060;rport;branch=z9hG4bKPj2JDBfy7K0YFhN7bc3Vo-dNauHzwW6QfS
From: "Dmitrij Ivanov" <sip:9996@10.0.15.2>;tag=MgTugmL62HG8gYU.sD5NesyG8927xaqq
To: <sip:7047@10.11.0.4>;tag=as4cd223db
Call-ID: 1F6tBfyPqBMjOnsp8nO-KSJ-stwhYnNQ
CSeq: 10290 BYE
Reason: Q.850;cause=16
Max-Forwards: 70
User-Agent: FPBX-13.0.190.11(13.11.2)
Content-Length: 0
[2017-02-10 15:17:53] VERBOSE[20076][C-00000116] app_macro.c: Spawn extension (macro-dialout-trunk, s, 23) exited non-zero on 'SIP/9996-00000202' in macro 'dialout-trunk'
[2017-02-10 15:17:53] VERBOSE[20076][C-00000116] pbx.c: Spawn extension (from-internal, 7047, 6) exited non-zero on 'SIP/9996-00000202'
[2017-02-10 15:17:53] VERBOSE[20076][C-00000116] pbx.c: Executing [h@from-internal:1] Macro("SIP/9996-00000202", "hangupcall") in new stack
[2017-02-10 15:17:53] VERBOSE[20076][C-00000116] pbx.c: Executing [s@macro-hangupcall:1] GotoIf("SIP/9996-00000202", "1?theend") in new stack
[2017-02-10 15:17:53] VERBOSE[20076][C-00000116] pbx_builtins.c: Goto (macro-hangupcall,s,3)
[2017-02-10 15:17:53] VERBOSE[20076][C-00000116] pbx.c: Executing [s@macro-hangupcall:3] ExecIf("SIP/9996-00000202", "0?Set(CDR(recordingfile)=)") in new stack
[2017-02-10 15:17:53] VERBOSE[20076][C-00000116] pbx.c: Executing [s@macro-hangupcall:4] Hangup("SIP/9996-00000202", "") in new stack
[2017-02-10 15:17:53] VERBOSE[20076][C-00000116] app_macro.c: Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'SIP/9996-00000202' in macro 'hangupcall'
[2017-02-10 15:17:53] VERBOSE[20076][C-00000116] pbx.c: Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/9996-00000202'
[2017-02-10 15:17:53] VERBOSE[20077][C-00000116] app_mixmonitor.c: MixMonitor close filestream (mixed)
[2017-02-10 15:17:53] VERBOSE[20077][C-00000116] app_mixmonitor.c: End MixMonitor Recording SIP/9996-00000202
[2017-02-10 15:17:53] VERBOSE[1891] res_pjsip_logger.c: <--- Received SIP response (473 bytes) from UDP:10.11.0.4:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.0.15.2:5060;branch=z9hG4bKPj2JDBfy7K0YFhN7bc3Vo-dNauHzwW6QfS;received=10.11.22.2;rport=5060
From: "Dmitrij Ivanov" <sip:9996@10.0.15.2>;tag=MgTugmL62HG8gYU.sD5NesyG8927xaqq
To: <sip:7047@10.11.0.4>;tag=as4cd223db
Call-ID: 1F6tBfyPqBMjOnsp8nO-KSJ-stwhYnNQ
CSeq: 10290 BYE
Server: FPBX-2.10.1(1.8.10.1)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0