I've been trying to do serial forking, I've configured something that is working but when I'm looking on github and other sources it seems like my code is a little too complicated and I would like to know if there is a simpler config that I can use.
To have more precision, I'm using RTPENGINE and I need to be able to go through NAT.
My Config :
request_route {
route(INVITE);
exit;
}
route[INVITE]{
route(RECORD_ROUTE);
route(GROUP_RELAY_SER);
switch($tU)
{
case "112": // This number does not exist (It's not a subscriber).
xlog("MY_SEVERITY"," -- Calling Group Serial");
route(GROUP_RELAY_SER);
break;
case "113":
xlog("MY_SEVERITY"," -- Calling Group Parralelle");
route(GROUP_RELAY_PAR);
break;
default:
xlog("MY_SEVERITY"," -- Calling Someone");
route(LOCATION);
route(RELAY);
}
exit;
}
route[RECORD_ROUTE]{
# - remove preloaded route headers
remove_hf("Route");
if(is_method("INVITE|SUBSCRIBE"))
{
# record routing for dialog forming requests (in case they are routed)
record_route();
}
}
route[GROUP_RELAY_SER]{
t_on_reply("MANAGE_REPLY");
route(IPV4V6);
route(NATMANAGE); (RTP Routing is working correctly)
append_branch("
sip:9919995@192.168.1.41","1");
append_branch("
sip:9919992@192.168.1.41", "0.2");
append_branch("
sip:75575757@192.168.1.41", "0.4");
append_branch("
sip:9919991@192.168.1.41", "0.5");
t_load_contacts();
t_next_contacts();
while(!route(GROUP_LOCATION))
{
if (!t_next_contacts()) {
send_reply("408","Timeout or nobody available");
exit;
}
}
t_on_failure("GroupFailureRoute");
#Relay (aka Forward) the request
t_relay();
break;
}
# User location service
route[GROUP_LOCATION] {
$avp(oexten) = $rU;
if (lookup_branches("location")){
return (1);
}
else
{
return (-1);
}
}
failure_route[GroupFailureRoute]{
t_next_contacts();
while(!route(GROUP_LOCATION)){
if (!t_next_contacts()) {
send_reply("408","Nobody available");
exit;
}
}
t_on_failure("GroupFailureRoute");
t_relay();
}
# Manage incoming replies in transaction context
onreply_route[MANAGE_REPLY] {
if(status=~"[12][0-9][0-9]") {
if(has_body("application/sdp")){
setbflag(FLB_BRIDGE);
}
route(NATMANAGE);
}
}
---------------------------------
Here's The SIP Trace :
2022/03/21 18:28:45.265009
149.154.195.121:9665 ->
192.168.1.41:5060INVITE sip:112@192.168.1.41:5060;transport=TCP SIP/2.0
Via: SIP/2.0/TCP 100.79.133.159:5060;branch=z9hG4bK-524287-1---75083bb7c6ed8a35;rport
Max-Forwards: 70
Contact: <sip:9919993@100.79.133.159:5060;transport=tcp>
To: <
sip:112@192.168.1.41:5060>
From: "codec3-public"<sip:9919993@192.168.1.41:5060;transport=TCP>;tag=35ce2334
Call-ID: RtH8fBIrIgUYPAkxlxjI4Q..
CSeq: 1 INVITE
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE
Content-Type: application/sdp
User-Agent: Zoiper v2.10.17.3-mod
Allow-Events: presence, kpml, talk
Content-Length: 226
v=0
o=Zoiper 53721112 1 IN IP4 100.79.133.159
s=Z
c=IN IP4 100.79.133.159
t=0 0
m=audio 8000 RTP/AVP 0 101 8 3 97
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=rtpmap:97 iLBC/8000
a=fmtp:97 mode=30
a=sendrecv
2022/03/21 18:28:45.274652
192.168.1.41:5060 ->
149.154.195.121:9665SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/TCP 100.79.133.159:5060;branch=z9hG4bK-524287-1---75083bb7c6ed8a35;rport=9665;received=149.154.195.121
To: <
sip:112@192.168.1.41:5060>;tag=cbfe6543b9079987bce3b5b9a0d1195a.064b0d7d
From: "codec3-public"<sip:9919993@192.168.1.41:5060;transport=TCP>;tag=35ce2334
Call-ID: RtH8fBIrIgUYPAkxlxjI4Q..
CSeq: 1 INVITE
Proxy-Authenticate: Digest realm="192.168.1.41", nonce="Yji2+WI4tc0uQkJ6GbQ4I9VeSUQmR6Gk"
Server: kamailio (5.5.4 (x86_64/linux))
Content-Length: 0
2022/03/21 18:28:45.335876
149.154.195.121:9665 ->
192.168.1.41:5060ACK sip:112@192.168.1.41:5060;transport=TCP SIP/2.0
Via: SIP/2.0/TCP 100.79.133.159:5060;branch=z9hG4bK-524287-1---75083bb7c6ed8a35;rport
Max-Forwards: 70
To: <
sip:112@192.168.1.41:5060>;tag=cbfe6543b9079987bce3b5b9a0d1195a.064b0d7d
From: "codec3-public"<sip:9919993@192.168.1.41:5060;transport=TCP>;tag=35ce2334
Call-ID: RtH8fBIrIgUYPAkxlxjI4Q..
CSeq: 1 ACK
Content-Length: 0
2022/03/21 18:28:45.385686
149.154.195.121:9665 ->
192.168.1.41:5060INVITE sip:112@192.168.1.41:5060;transport=TCP SIP/2.0
Via: SIP/2.0/TCP 100.79.133.159:5060;branch=z9hG4bK-524287-1---ba46a700c4dfa090;rport
Max-Forwards: 70
Contact: <sip:9919993@100.79.133.159:5060;transport=tcp>
To: <
sip:112@192.168.1.41:5060>
From: "codec3-public"<sip:9919993@192.168.1.41:5060;transport=TCP>;tag=35ce2334
Call-ID: RtH8fBIrIgUYPAkxlxjI4Q..
CSeq: 2 INVITE
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE
Content-Type: application/sdp
Proxy-Authorization: Digest username="9919993",realm="192.168.1.41",nonce="Yji2+WI4tc0uQkJ6GbQ4I9VeSUQmR6Gk",uri="sip:112@Public_IP;transport=TCP",response="54837810a66298e4542486bb6ab8ca04",algorithm=MD5
User-Agent: Zoiper v2.10.17.3-mod
Allow-Events: presence, kpml, talk
Content-Length: 226
v=0
o=Zoiper 53721112 1 IN IP4 100.79.133.159
s=Z
c=IN IP4 100.79.133.159
t=0 0
m=audio 8000 RTP/AVP 0 101 8 3 97
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=rtpmap:97 iLBC/8000
a=fmtp:97 mode=30
a=sendrecv
2022/03/21 18:28:45.418871
192.168.1.41:5060 ->
149.154.195.121:9665SIP/2.0 100 trying -- your call is important to us
Via: SIP/2.0/TCP 100.79.133.159:5060;branch=z9hG4bK-524287-1---ba46a700c4dfa090;rport=9665;received=149.154.195.121
To: <
sip:112@192.168.1.41:5060>
From: "codec3-public"<sip:9919993@192.168.1.41:5060;transport=TCP>;tag=35ce2334
Call-ID: RtH8fBIrIgUYPAkxlxjI4Q..
CSeq: 2 INVITE
Server: kamailio (5.5.4 (x86_64/linux))
Content-Length: 0
2022/03/21 18:28:45.421797
192.168.1.41:5066 ->
192.168.1.24:5066INVITE
sip:9919995@192.168.1.24:5066 SIP/2.0
Record-Route: <sip:192.168.1.41:5066;r2=on;lr>
Record-Route: <sip:Public_IP;transport=tcp;r2=on;lr>
Via: SIP/2.0/UDP 192.168.1.41:5066;branch=z9hG4bKf831.6cdc4420824fc17383578fd933a4963b.0;i=6
Via: SIP/2.0/TCP 100.79.133.159:5060;received=149.154.195.121;branch=z9hG4bK-524287-1---ba46a700c4dfa090;rport=9665
Max-Forwards: 69
Contact: <sip:9919993@100.79.133.159:5060;transport=tcp;alias=149.154.195.121~9665~2>
To: <
sip:112@192.168.1.41:5060>
From: "codec3-public"<sip:9919993@192.168.1.41:5060;transport=TCP>;tag=35ce2334
Call-ID: RtH8fBIrIgUYPAkxlxjI4Q..
CSeq: 2 INVITE
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE
Content-Type: application/sdp
User-Agent: Zoiper v2.10.17.3-mod
Allow-Events: presence, kpml, talk
Content-Length: 302
v=0
o=Zoiper 53721112 1 IN IP4 192.168.1.41
s=Z
c=IN IP4 192.168.1.41
t=0 0
m=audio 36502 RTP/AVP 0 101 8 3 97
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=rtpmap:8 PCMA/8000
a=rtpmap:3 GSM/8000
a=rtpmap:97 iLBC/8000
a=fmtp:97 mode=30
a=sendrecv
a=rtcp:36503
2022/03/21 18:28:45.435659
192.168.1.24:5066 ->
192.168.1.41:5066SIP/2.0 100 Trying
To: <
sip:112@192.168.1.41:5060>
From: "codec3-public"<
sip:9919993@192.168.1.41:5060>;tag=35ce2334
Call-ID: RtH8fBIrIgUYPAkxlxjI4Q..
CSeq: 2 INVITE
Via: SIP/2.0/UDP 192.168.1.41:5066;branch=z9hG4bKf831.6cdc4420824fc17383578fd933a4963b.0;i=6
Via: SIP/2.0/TCP 100.79.133.159:5060;received=149.154.195.121;branch=z9hG4bK-524287-1---ba46a700c4dfa090;rport=9665
Record-Route: <sip:192.168.1.41:5066;r2=on;lr>
Record-Route: <sip:Public_IP;transport=tcp;r2=on;lr>
Server: Cisco/SPA508G-7.6.2c
Content-Length: 0
2022/03/21 18:28:45.449138
192.168.1.24:5066 ->
192.168.1.41:5066SIP/2.0 180 Ringing
To: <
sip:112@192.168.1.41:5060>;tag=694833b3bcc5722bi0
From: "codec3-public"<
sip:9919993@192.168.1.41:5060>;tag=35ce2334
Call-ID: RtH8fBIrIgUYPAkxlxjI4Q..
CSeq: 2 INVITE
Via: SIP/2.0/UDP 192.168.1.41:5066;branch=z9hG4bKf831.6cdc4420824fc17383578fd933a4963b.0;i=6
Via: SIP/2.0/TCP 100.79.133.159:5060;received=149.154.195.121;branch=z9hG4bK-524287-1---ba46a700c4dfa090;rport=9665
Record-Route: <sip:192.168.1.41:5066;r2=on;lr>
Record-Route: <sip:Public_IP;transport=tcp;r2=on;lr>
Contact: "codec5-private" <
sip:9919995@192.168.1.24:5066>
Server: Cisco/SPA508G-7.6.2c
Content-Length: 0
2022/03/21 18:28:45.455211
192.168.1.41:5060 ->
149.154.195.121:9665SIP/2.0 180 Ringing
To: <
sip:112@192.168.1.41:5060>;tag=694833b3bcc5722bi0
From: "codec3-public"<
sip:9919993@192.168.1.41:5060>;tag=35ce2334
Call-ID: RtH8fBIrIgUYPAkxlxjI4Q..
CSeq: 2 INVITE
Via: SIP/2.0/TCP 100.79.133.159:5060;received=149.154.195.121;branch=z9hG4bK-524287-1---ba46a700c4dfa090;rport=9665
Record-Route: <sip:192.168.1.41:5066;r2=on;lr>
Record-Route: <sip:Public_IP;transport=tcp;r2=on;lr>
Contact: "codec5-private" <sip:9919995@192.168.1.24:5066;alias=192.168.1.24~5066~1>
Server: Cisco/SPA508G-7.6.2c
Content-Length: 0
2022/03/21 18:28:55.445916
192.168.1.41:5066 ->
192.168.1.10:50561INVITE sip:9919991@192.168.1.10:50561;transport=TCP;rinstance=034d5c22d5466df2 SIP/2.0
Record-Route: <sip:192.168.1.41:5066;transport=tcp;r2=on;lr>
Record-Route: <sip:Public_IP;transport=tcp;r2=on;lr>
Via: SIP/2.0/TCP 192.168.1.41:5066;branch=z9hG4bKf831.6cdc4420824fc17383578fd933a4963b.1;i=6
Via: SIP/2.0/TCP 100.79.133.159:5060;received=149.154.195.121;branch=z9hG4bK-524287-1---ba46a700c4dfa090;rport=9665
Max-Forwards: 69
Contact: <sip:9919993@100.79.133.159:5060;transport=tcp;alias=149.154.195.121~9665~2>
To: <
sip:112@192.168.1.41:5060>
From: "codec3-public"<sip:9919993@192.168.1.41:5060;transport=TCP>;tag=35ce2334
Call-ID: RtH8fBIrIgUYPAkxlxjI4Q..
CSeq: 2 INVITE
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE
Content-Type: application/sdp
User-Agent: Zoiper v2.10.17.3-mod
Allow-Events: presence, kpml, talk
Content-Length: 302
v=0
o=Zoiper 53721112 1 IN IP4 192.168.1.41
s=Z
c=IN IP4 192.168.1.41
t=0 0
m=audio 36502 RTP/AVP 0 101 8 3 97
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=rtpmap:8 PCMA/8000
a=rtpmap:3 GSM/8000
a=rtpmap:97 iLBC/8000
a=fmtp:97 mode=30
a=sendrecv
a=rtcp:36503
2022/03/21 18:28:55.446096
192.168.1.41:5066 ->
192.168.1.24:5066CANCEL
sip:9919995@192.168.1.24:5066 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.41:5066;branch=z9hG4bKf831.6cdc4420824fc17383578fd933a4963b.0;i=6
Max-Forwards: 69
To: <
sip:112@192.168.1.41:5060>
From: "codec3-public"<sip:9919993@192.168.1.41:5060;transport=TCP>;tag=35ce2334
Call-ID: RtH8fBIrIgUYPAkxlxjI4Q..
CSeq: 2 CANCEL
Content-Length: 0
2022/03/21 18:28:55.457941
192.168.1.24:5066 ->
192.168.1.41:5066SIP/2.0 487 Request Terminated
To: <
sip:112@192.168.1.41:5060>;tag=694833b3bcc5722bi0
From: "codec3-public"<
sip:9919993@192.168.1.41:5060>;tag=35ce2334
Call-ID: RtH8fBIrIgUYPAkxlxjI4Q..
CSeq: 2 INVITE
Via: SIP/2.0/UDP 192.168.1.41:5066;branch=z9hG4bKf831.6cdc4420824fc17383578fd933a4963b.0;i=6
Via: SIP/2.0/TCP 100.79.133.159:5060;received=149.154.195.121;branch=z9hG4bK-524287-1---ba46a700c4dfa090;rport=9665
Record-Route: <sip:192.168.1.41:5066;r2=on;lr>
Record-Route: <sip:Public_IP;transport=tcp;r2=on;lr>
Server: Cisco/SPA508G-7.6.2c
Content-Length: 0
2022/03/21 18:28:55.458874
192.168.1.41:5066 ->
192.168.1.24:5066ACK
sip:9919995@192.168.1.24:5066 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.41:5066;branch=z9hG4bKf831.6cdc4420824fc17383578fd933a4963b.0;i=6
Max-Forwards: 69
To: <
sip:112@192.168.1.41:5060>;tag=694833b3bcc5722bi0
From: "codec3-public"<sip:9919993@192.168.1.41:5060;transport=TCP>;tag=35ce2334
Call-ID: RtH8fBIrIgUYPAkxlxjI4Q..
CSeq: 2 ACK
Content-Length: 0
2022/03/21 18:28:55.459394
192.168.1.24:5066 ->
192.168.1.41:5066SIP/2.0 200 OK
To: <
sip:112@192.168.1.41:5060>;tag=694833b3bcc5722bi0
From: "codec3-public"<
sip:9919993@192.168.1.41:5060>;tag=35ce2334
Call-ID: RtH8fBIrIgUYPAkxlxjI4Q..
CSeq: 2 CANCEL
Via: SIP/2.0/UDP 192.168.1.41:5066;branch=z9hG4bKf831.6cdc4420824fc17383578fd933a4963b.0;i=6
Server: Cisco/SPA508G-7.6.2c
Content-Length: 0
2022/03/21 18:28:55.536475
192.168.1.10:50561 ->
192.168.1.41:5066SIP/2.0 100 Trying
Via: SIP/2.0/TCP 192.168.1.41:5066;branch=z9hG4bKf831.6cdc4420824fc17383578fd933a4963b.1;i=6
Via: SIP/2.0/TCP 100.79.133.159:5060;received=149.154.195.121;branch=z9hG4bK-524287-1---ba46a700c4dfa090;rport=9665
To: <
sip:112@192.168.1.41:5060>
From: "codec3-public"<sip:9919993@192.168.1.41:5060;transport=TCP>;tag=35ce2334
Call-ID: RtH8fBIrIgUYPAkxlxjI4Q..
CSeq: 2 INVITE
Content-Length: 0
2022/03/21 18:28:55.758738
192.168.1.10:50561 ->
192.168.1.41:5066SIP/2.0 180 Ringing
Via: SIP/2.0/TCP 192.168.1.41:5066;branch=z9hG4bKf831.6cdc4420824fc17383578fd933a4963b.1;i=6
Via: SIP/2.0/TCP 100.79.133.159:5060;received=149.154.195.121;branch=z9hG4bK-524287-1---ba46a700c4dfa090;rport=9665
Record-Route: <sip:192.168.1.41:5066;transport=tcp;r2=on;lr>
Record-Route: <sip:Public_IP;transport=tcp;r2=on;lr>
Contact: <sip:9919991@192.168.1.10:50561;transport=TCP>
To: <
sip:112@192.168.1.41:5060>;tag=575a7d2e
From: "codec3-public"<sip:9919993@192.168.1.41:5060;transport=TCP>;tag=35ce2334
Call-ID: RtH8fBIrIgUYPAkxlxjI4Q..
CSeq: 2 INVITE
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE
User-Agent: Z 5.5.10 v2.10.17.3
Allow-Events: presence, kpml, talk
Content-Length: 0
2022/03/21 18:28:55.763664
192.168.1.41:5060 ->
149.154.195.121:9665SIP/2.0 180 Ringing
Via: SIP/2.0/TCP 100.79.133.159:5060;received=149.154.195.121;branch=z9hG4bK-524287-1---ba46a700c4dfa090;rport=9665
Record-Route: <sip:192.168.1.41:5066;transport=tcp;r2=on;lr>
Record-Route: <sip:Public_IP;transport=tcp;r2=on;lr>
Contact: <sip:9919991@192.168.1.10:50561;transport=TCP;alias=192.168.1.10~50561~2>
To: <
sip:112@192.168.1.41:5060>;tag=575a7d2e
From: "codec3-public"<sip:9919993@192.168.1.41:5060;transport=TCP>;tag=35ce2334
Call-ID: RtH8fBIrIgUYPAkxlxjI4Q..
CSeq: 2 INVITE
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE
User-Agent: Z 5.5.10 v2.10.17.3
Allow-Events: presence, kpml, talk
Content-Length: 0
2022/03/21 18:29:05.761477
192.168.1.41:5066 ->
192.168.1.26:32821INVITE sip:9919992@192.168.1.26:5066;rinstance=791ce762698e7422;transport=tcp SIP/2.0
Record-Route: <sip:192.168.1.41:5066;transport=tcp;r2=on;lr>
Record-Route: <sip:Public_IP;transport=tcp;r2=on;lr>
Via: SIP/2.0/TCP 192.168.1.41:5066;branch=z9hG4bKf831.6cdc4420824fc17383578fd933a4963b.2;i=6
Via: SIP/2.0/TCP 100.79.133.159:5060;received=149.154.195.121;branch=z9hG4bK-524287-1---ba46a700c4dfa090;rport=9665
Max-Forwards: 69
Contact: <sip:9919993@100.79.133.159:5060;transport=tcp;alias=149.154.195.121~9665~2>
To: <
sip:112@192.168.1.41:5060>
From: "codec3-public"<sip:9919993@192.168.1.41:5060;transport=TCP>;tag=35ce2334
Call-ID: RtH8fBIrIgUYPAkxlxjI4Q..
CSeq: 2 INVITE
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE
Content-Type: application/sdp
User-Agent: Zoiper v2.10.17.3-mod
Allow-Events: presence, kpml, talk
Content-Length: 302
v=0
o=Zoiper 53721112 1 IN IP4 192.168.1.41
s=Z
c=IN IP4 192.168.1.41
t=0 0
m=audio 36502 RTP/AVP 0 101 8 3 97
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=rtpmap:8 PCMA/8000
a=rtpmap:3 GSM/8000
a=rtpmap:97 iLBC/8000
a=fmtp:97 mode=30
a=sendrecv
a=rtcp:36503
2022/03/21 18:29:05.761547
192.168.1.41:5066 ->
192.168.1.10:50561CANCEL sip:9919991@192.168.1.10:50561;transport=TCP;rinstance=034d5c22d5466df2 SIP/2.0
Via: SIP/2.0/TCP 192.168.1.41:5066;branch=z9hG4bKf831.6cdc4420824fc17383578fd933a4963b.1;i=6
Max-Forwards: 69
To: <
sip:112@192.168.1.41:5060>
From: "codec3-public"<sip:9919993@192.168.1.41:5060;transport=TCP>;tag=35ce2334
Call-ID: RtH8fBIrIgUYPAkxlxjI4Q..
CSeq: 2 CANCEL
Content-Length: 0
2022/03/21 18:29:05.799795
192.168.1.10:50561 ->
192.168.1.41:5066SIP/2.0 200 OK
Via: SIP/2.0/TCP 192.168.1.41:5066;branch=z9hG4bKf831.6cdc4420824fc17383578fd933a4963b.1;i=6
Contact: <sip:9919991@192.168.1.10:50561;transport=TCP>
To: <
sip:112@192.168.1.41:5060>;tag=575a7d2e
From: "codec3-public"<sip:9919993@192.168.1.41:5060;transport=TCP>;tag=35ce2334
Call-ID: RtH8fBIrIgUYPAkxlxjI4Q..
CSeq: 2 CANCEL
User-Agent: Z 5.5.10 v2.10.17.3
Content-Length: 0
2022/03/21 18:29:05.800776
192.168.1.10:50561 ->
192.168.1.41:5066SIP/2.0 487 Request Terminated
Via: SIP/2.0/TCP 192.168.1.41:5066;branch=z9hG4bKf831.6cdc4420824fc17383578fd933a4963b.1;i=6
Via: SIP/2.0/TCP 100.79.133.159:5060;received=149.154.195.121;branch=z9hG4bK-524287-1---ba46a700c4dfa090;rport=9665
To: <
sip:112@192.168.1.41:5060>;tag=575a7d2e
From: "codec3-public"<sip:9919993@192.168.1.41:5060;transport=TCP>;tag=35ce2334
Call-ID: RtH8fBIrIgUYPAkxlxjI4Q..
CSeq: 2 INVITE
User-Agent: Z 5.5.10 v2.10.17.3
Content-Length: 0
2022/03/21 18:29:05.801104
192.168.1.41:5066 ->
192.168.1.10:50561ACK sip:9919991@192.168.1.10:50561;transport=TCP;rinstance=034d5c22d5466df2 SIP/2.0
Via: SIP/2.0/TCP 192.168.1.41:5066;branch=z9hG4bKf831.6cdc4420824fc17383578fd933a4963b.1;i=6
Max-Forwards: 69
To: <
sip:112@192.168.1.41:5060>;tag=575a7d2e
From: "codec3-public"<sip:9919993@192.168.1.41:5060;transport=TCP>;tag=35ce2334
Call-ID: RtH8fBIrIgUYPAkxlxjI4Q..
CSeq: 2 ACK
Content-Length: 0
2022/03/21 18:29:05.844860
192.168.1.26:32821 ->
192.168.1.41:5066SIP/2.0 100 Trying
Via: SIP/2.0/TCP 192.168.1.41:5066;branch=z9hG4bKf831.6cdc4420824fc17383578fd933a4963b.2;i=6
Via: SIP/2.0/TCP 100.79.133.159:5060;received=149.154.195.121;branch=z9hG4bK-524287-1---ba46a700c4dfa090;rport=9665
To: <
sip:112@192.168.1.41:5060>
From: "codec3-public"<sip:9919993@192.168.1.41:5060;transport=TCP>;tag=35ce2334
Call-ID: RtH8fBIrIgUYPAkxlxjI4Q..
CSeq: 2 INVITE
Content-Length: 0
2022/03/21 18:29:06.045373
192.168.1.26:32821 ->
192.168.1.41:5066SIP/2.0 180 Ringing
Via: SIP/2.0/TCP 192.168.1.41:5066;branch=z9hG4bKf831.6cdc4420824fc17383578fd933a4963b.2;i=6
Via: SIP/2.0/TCP 100.79.133.159:5060;received=149.154.195.121;branch=z9hG4bK-524287-1---ba46a700c4dfa090;rport=9665
Record-Route: <sip:192.168.1.41:5066;transport=tcp;r2=on;lr>
Record-Route: <sip:Public_IP;transport=tcp;r2=on;lr>
Contact: <sip:9919992@192.168.1.26:5066;transport=tcp>
To: <
sip:112@192.168.1.41:5060>;tag=dd58ff56
From: "codec3-public"<sip:9919993@192.168.1.41:5060;transport=TCP>;tag=35ce2334
Call-ID: RtH8fBIrIgUYPAkxlxjI4Q..
CSeq: 2 INVITE
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE
User-Agent: Z 5.5.9 v2.10.17.3
Allow-Events: presence, kpml, talk
Content-Length: 0
2022/03/21 18:29:06.046528
192.168.1.41:5060 ->
149.154.195.121:9665SIP/2.0 180 Ringing
Via: SIP/2.0/TCP 100.79.133.159:5060;received=149.154.195.121;branch=z9hG4bK-524287-1---ba46a700c4dfa090;rport=9665
Record-Route: <sip:192.168.1.41:5066;transport=tcp;r2=on;lr>
Record-Route: <sip:Public_IP;transport=tcp;r2=on;lr>
Contact: <sip:9919992@192.168.1.26:5066;transport=tcp;alias=192.168.1.26~32821~2>
To: <
sip:112@192.168.1.41:5060>;tag=dd58ff56
From: "codec3-public"<sip:9919993@192.168.1.41:5060;transport=TCP>;tag=35ce2334
Call-ID: RtH8fBIrIgUYPAkxlxjI4Q..
CSeq: 2 INVITE
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE
User-Agent: Z 5.5.9 v2.10.17.3
Allow-Events: presence, kpml, talk
Content-Length: 0
2022/03/21 18:29:11.055497
192.168.1.26:32821 ->
192.168.1.41:5066SIP/2.0 200 OK
Via: SIP/2.0/TCP 192.168.1.41:5066;branch=z9hG4bKf831.6cdc4420824fc17383578fd933a4963b.2;i=6
Via: SIP/2.0/TCP 100.79.133.159:5060;received=149.154.195.121;branch=z9hG4bK-524287-1---ba46a700c4dfa090;rport=9665
Record-Route: <sip:192.168.1.41:5066;transport=tcp;r2=on;lr>
Record-Route: <sip:Public_IP;transport=tcp;r2=on;lr>
Contact: <sip:9919992@192.168.1.26:5066;transport=tcp>
To: <
sip:112@192.168.1.41:5060>;tag=dd58ff56
From: "codec3-public"<sip:9919993@192.168.1.41:5060;transport=TCP>;tag=35ce2334
Call-ID: RtH8fBIrIgUYPAkxlxjI4Q..
CSeq: 2 INVITE
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE
Content-Type: application/sdp
User-Agent: Z 5.5.9 v2.10.17.3
Allow-Events: presence, kpml, talk
Content-Length: 165
v=0
o=Z 0 1 IN IP4 192.168.1.26
s=Z
c=IN IP4 192.168.1.26
t=0 0
m=audio 8000 RTP/AVP 0 8 3 101
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=sendrecv
2022/03/21 18:29:11.061482
192.168.1.41:5060 ->
149.154.195.121:9665SIP/2.0 200 OK
Via: SIP/2.0/TCP 100.79.133.159:5060;received=149.154.195.121;branch=z9hG4bK-524287-1---ba46a700c4dfa090;rport=9665
Record-Route: <sip:192.168.1.41:5066;transport=tcp;r2=on;lr>
Record-Route: <sip:Public_IP;transport=tcp;r2=on;lr>
Contact: <sip:9919992@192.168.1.26:5066;transport=tcp;alias=192.168.1.26~32821~2>
To: <
sip:112@192.168.1.41:5060>;tag=dd58ff56
From: "codec3-public"<sip:9919993@192.168.1.41:5060;transport=TCP>;tag=35ce2334
Call-ID: RtH8fBIrIgUYPAkxlxjI4Q..
CSeq: 2 INVITE
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE
Content-Type: application/sdp
User-Agent: Z 5.5.9 v2.10.17.3
Allow-Events: presence, kpml, talk
Content-Length: 245
v=0
o=Z 0 1 IN IP4 192.168.1.41
s=Z
c=IN IP4 192.168.1.41
t=0 0
m=audio 36518 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=sendrecv
a=rtcp:36519
2022/03/21 18:29:11.144532
149.154.195.121:9665 ->
192.168.1.41:5060ACK sip:9919992@192.168.1.26:5066;transport=tcp;alias=192.168.1.26~32821~2 SIP/2.0
Via: SIP/2.0/TCP 100.79.133.159:5060;branch=z9hG4bK-524287-1---f49bbd15731e8f8d;rport
Max-Forwards: 70
Route: <sip:Public_IP;transport=tcp;r2=on;lr>
Route: <sip:192.168.1.41:5066;transport=tcp;r2=on;lr>
Contact: <sip:9919993@100.79.133.159:5060;transport=tcp>
To: <
sip:112@192.168.1.41:5060>;tag=dd58ff56
From: "codec3-public"<sip:9919993@192.168.1.41:5060;transport=TCP>;tag=35ce2334
Call-ID: RtH8fBIrIgUYPAkxlxjI4Q..
CSeq: 2 ACK
User-Agent: Zoiper v2.10.17.3-mod
Content-Length: 0
2022/03/21 18:29:11.152633
192.168.1.41:5066 ->
192.168.1.26:32821ACK sip:9919992@192.168.1.26:5066;transport=tcp SIP/2.0
Via: SIP/2.0/TCP 192.168.1.41:5066;branch=z9hG4bKf831.422a25f74a8ad6c743d75a28764bc8b7.0;i=6
Via: SIP/2.0/TCP 100.79.133.159:5060;received=149.154.195.121;branch=z9hG4bK-524287-1---f49bbd15731e8f8d;rport=9665
Max-Forwards: 69
Contact: <sip:9919993@100.79.133.159:5060;transport=tcp;alias=149.154.195.121~9665~2>
To: <
sip:112@192.168.1.41:5060>;tag=dd58ff56
From: "codec3-public"<sip:9919993@192.168.1.41:5060;transport=TCP>;tag=35ce2334
Call-ID: RtH8fBIrIgUYPAkxlxjI4Q..
CSeq: 2 ACK
User-Agent: Zoiper v2.10.17.3-mod
Content-Length: 0
2022/03/21 18:29:20.514914
192.168.1.26:32821 ->
192.168.1.41:5066BYE sip:9919993@100.79.133.159:5060;transport=tcp;alias=149.154.195.121~9665~2 SIP/2.0
Via: SIP/2.0/TCP 192.168.1.26:5066;branch=z9hG4bK-524287-1---404c84aa134e2a04
Max-Forwards: 70
Route: <sip:192.168.1.41:5066;transport=tcp;r2=on;lr>
Route: <sip:Public_IP;transport=tcp;r2=on;lr>
Contact: <sip:9919992@192.168.1.26:5066;transport=tcp>
To: "codec3-public"<sip:9919993@192.168.1.41:5060;transport=TCP>;tag=35ce2334
From: <
sip:112@192.168.1.41:5060>;tag=dd58ff56
Call-ID: RtH8fBIrIgUYPAkxlxjI4Q..
CSeq: 2 BYE
User-Agent: Z 5.5.9 v2.10.17.3
Content-Length: 0
2022/03/21 18:29:20.517617
192.168.1.41:5060 ->
149.154.195.121:9665BYE sip:9919993@100.79.133.159:5060;transport=tcp SIP/2.0
Via: SIP/2.0/TCP Public_IP:5060;branch=z9hG4bKf831.2578b48bc3463ab1aed37eba97036001.0;i=5
Via: SIP/2.0/TCP 192.168.1.26:5066;rport=32821;branch=z9hG4bK-524287-1---404c84aa134e2a04
Max-Forwards: 69
Contact: <sip:9919992@192.168.1.26:5066;transport=tcp;alias=192.168.1.26~32821~2>
To: "codec3-public"<sip:9919993@192.168.1.41:5060;transport=TCP>;tag=35ce2334
From: <
sip:112@192.168.1.41:5060>;tag=dd58ff56
Call-ID: RtH8fBIrIgUYPAkxlxjI4Q..
CSeq: 2 BYE
User-Agent: Z 5.5.9 v2.10.17.3
Content-Length: 0
2022/03/21 18:29:20.584230
149.154.195.121:9665 ->
192.168.1.41:5060SIP/2.0 200 OK
Via: SIP/2.0/TCP 192.168.1.41:5060;branch=z9hG4bKf831.2578b48bc3463ab1aed37eba97036001.0;i=5
Via: SIP/2.0/TCP 192.168.1.26:5066;rport=32821;branch=z9hG4bK-524287-1---404c84aa134e2a04
Contact: <sip:9919993@100.79.133.159:5060;transport=tcp>
To: "codec3-public"<sip:9919993@192.168.1.41:5060;transport=TCP>;tag=35ce2334
From: <
sip:112@192.168.1.41:5060>;tag=dd58ff56
Call-ID: RtH8fBIrIgUYPAkxlxjI4Q..
CSeq: 2 BYE
User-Agent: Zoiper v2.10.17.3-mod
Content-Length: 0
2022/03/21 18:29:20.584431
192.168.1.41:5066 ->
192.168.1.26:32821SIP/2.0 200 OK
Via: SIP/2.0/TCP 192.168.1.26:5066;rport=32821;branch=z9hG4bK-524287-1---404c84aa134e2a04
Contact: <sip:9919993@100.79.133.159:5060;transport=tcp>
To: "codec3-public"<sip:9919993@192.168.1.41:5060;transport=TCP>;tag=35ce2334
From: <
sip:112@192.168.1.41:5060>;tag=dd58ff56
Call-ID: RtH8fBIrIgUYPAkxlxjI4Q..
CSeq: 2 BYE
User-Agent: Zoiper v2.10.17.3-mod
Content-Length: 0
Thank you.
Thomas