<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"Lucida Console";
panose-1:2 11 6 9 4 5 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
span.EmailStyle21
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-ZA" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">I was able to use Unsniff to validate that the incoming 20 byte payloads of audio from the downstream IAX2 trunk was definitely G.729a whilst Asterisk 16.13.0 transcodes to G.711a unnecessarily.
Media is confirmed as having been negotiated as g729 on all four streams. Nuance with this call is that it’s from a WebRTC client which doesn’t transmit any audio, could this be influencing Asterisk?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Is this a known scenario, something obvious or should I be logging something in JIRA?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">In the below +27888888888 (chan_sip) calls 0100000000 (chan_iax), negotiates g729 on both legs of the bridged call, exclusively receives g729 media from 0100000000 (chan_iax) but then transmits g711a
media to +27888888888 (chan_sip).<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Herewith the scrubbed logging with SIP debug:<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">[2020-09-19 23:42:19] VERBOSE[2637] chan_sip.c:<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US"><--- SIP read from UDP:41.11.11.12:5060 ---><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">INVITE sip:0100000000@52.22.22.22:5160 SIP/2.0<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">Record-Route: <sip:41.11.11.12;lr;ftag=as40fe2614><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">Via: SIP/2.0/UDP 41.11.11.12:5060;branch=z9hG4bK4df7.5bc77035.0<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">Via: SIP/2.0/UDP 41.11.11.11:5070;received=41.11.11.11;branch=z9hG4bK0cb77ea3;rport=5070<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">From: "+27888888888" <sip:+27888888888@41.11.11.11:5070>;tag=as40fe2614<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">To: <sip:0100000000@52.22.22.22:5160><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">Contact: <sip:+27888888888@41.11.11.11:5070><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">Call-ID: 7030be5a09d89a9543234da051897a49@41.11.11.11<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">CSeq: 102 INVITE<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">User-Agent: PortaOne<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">Max-Forwards: 69<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">Date: Sat, 19 Sep 2020 21:42:19 GMT<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">Supported: replaces<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">X-LOCATION:<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">X-StartID: SDvb9r601-d482cc2b5e0b32417957ea02aaade464-a04aba0<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">Content-Type: application/sdp<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">Content-Length: 283<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">v=0<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">o=root 6009 6009 IN IP4 41.11.11.11<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">s=session<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">c=IN IP4 41.11.11.11<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">t=0 0<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">m=audio 13918 RTP/AVP 18 8 101<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">a=rtpmap:18 G729/8000<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">a=fmtp:18 annexb=no<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">a=rtpmap:8 PCMA/8000<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">a=rtpmap:101 telephone-event/8000<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">a=fmtp:101 0-16<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">a=silenceSupp:off - - - -<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">a=ptime:20<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">a=sendrecv<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US"><-------------><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">[2020-09-19 23:42:19] VERBOSE[2637] chan_sip.c: --- (18 headers 14 lines) ---<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">[2020-09-19 23:42:19] VERBOSE[2637] chan_sip.c: Sending to 41.11.11.12:5060 (NAT)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">[2020-09-19 23:42:19] VERBOSE[2637][C-00021a1f] chan_sip.c: Sending to 41.11.11.12:5060 (NAT)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">[2020-09-19 23:42:19] VERBOSE[2637][C-00021a1f] chan_sip.c: Using INVITE request as basis request - 7030be5a09d89a9543234da051897a49@41.11.11.11<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">[2020-09-19 23:42:19] VERBOSE[2637][C-00021a1f] chan_sip.c: Found peer 'Upstream' for '+27888888888' from 41.11.11.12:5060<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">[2020-09-19 23:42:19] VERBOSE[2637][C-00021a1f] netsock2.c: Using SIP RTP TOS bits 184<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">[2020-09-19 23:42:19] VERBOSE[2637][C-00021a1f] netsock2.c: Using SIP RTP CoS mark 5<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">[2020-09-19 23:42:19] VERBOSE[2637][C-00021a1f] chan_sip.c: Got SDP version 6009 and unique parts [root 6009 IN IP4 41.11.11.11]<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">[2020-09-19 23:42:19] VERBOSE[2637][C-00021a1f] chan_sip.c: Found RTP audio format 18<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">[2020-09-19 23:42:19] VERBOSE[2637][C-00021a1f] chan_sip.c: Found RTP audio format 8<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">[2020-09-19 23:42:19] VERBOSE[2637][C-00021a1f] chan_sip.c: Found RTP audio format 101<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">[2020-09-19 23:42:19] VERBOSE[2637][C-00021a1f] chan_sip.c: Found audio description format G729 for ID 18<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">[2020-09-19 23:42:19] VERBOSE[2637][C-00021a1f] chan_sip.c: Found audio description format PCMA for ID 8<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">[2020-09-19 23:42:19] VERBOSE[2637][C-00021a1f] chan_sip.c: Found audio description format telephone-event for ID 101<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">[2020-09-19 23:42:19] VERBOSE[2637][C-00021a1f] chan_sip.c: Capabilities: us - (g722|alaw|g729), peer - audio=(alaw|g729)/video=(nothing)/text=(nothing),
combined - (alaw|g729)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">[2020-09-19 23:42:19] VERBOSE[2637][C-00021a1f] chan_sip.c: Non-codec capabilities (dtmf): us - 0x1 (telephone-event|), peer
- 0x1 (telephone-event|), combined - 0x1 (telephone-event|)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">[2020-09-19 23:42:19] VERBOSE[2637][C-00021a1f] res_rtp_asterisk.c: 0x7f02241bdaf0 -- Strict RTP learning after remote address
set to: 41.11.11.11:13918<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">[2020-09-19 23:42:19] VERBOSE[2637][C-00021a1f] chan_sip.c: Peer audio RTP is at port 41.11.11.11:13918<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">[2020-09-19 23:42:19] VERBOSE[2637][C-00021a1f] chan_sip.c: Looking for 0100000000 in from-pstn (domain 52.22.22.22)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">[2020-09-19 23:42:19] VERBOSE[2637][C-00021a1f] sip/route.c: sip_route_dump: route/path hop: <sip:41.11.11.12;lr;ftag=as40fe2614><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">[2020-09-19 23:42:19] VERBOSE[2637][C-00021a1f] chan_sip.c:<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US"><--- Transmitting (NAT) to 41.11.11.12:5060 ---><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">SIP/2.0 100 Trying<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">Via: SIP/2.0/UDP 41.11.11.12:5060;branch=z9hG4bK4df7.5bc77035.0;received=41.11.11.12;rport=5060<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">Via: SIP/2.0/UDP 41.11.11.11:5070;received=41.11.11.11;branch=z9hG4bK0cb77ea3;rport=5070<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">Record-Route: <sip:41.11.11.12;lr;ftag=as40fe2614><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">From: "+27888888888" <sip:+27888888888@41.11.11.11:5070>;tag=as40fe2614<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">To: <sip:0100000000@52.22.22.22:5160><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">Call-ID: 7030be5a09d89a9543234da051897a49@41.11.11.11<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">CSeq: 102 INVITE<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">Server: Asterisk PBX 16.13.0<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">Supported: replaces, timer<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">Contact: <sip:0100000000@52.22.22.22:5160><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">Content-Length: 0<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US"><------------><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">[2020-09-19 23:42:19] VERBOSE[15153][C-00021a1f] pbx.c: Executing [0100000000@incoming:1] Set("SIP/Upstream-00021a0d", "1?SIP_CODEC=g729")
in new stack<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">[2020-09-19 23:42:19] VERBOSE[15153][C-00021a1f] pbx.c: Executing [0100000000@incoming:2] NoOp("SIP/Upstream-00021a0d", "SIP
Call ID: 7030be5a09d89a9543234da051897a49@41.11.11.11") in new stack<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">[2020-09-19 23:42:19] VERBOSE[15153][C-00021a1f] pbx.c: Executing [0100000000@incoming:3] Dial("SIP/Upstream-00021a0d", "iax2/Downstream/0100000000")
in new stack<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">[2020-09-19 23:42:19] VERBOSE[15153][C-00021a1f] app_dial.c: Called iax2/Downstream/0100000000<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">[2020-09-19 23:42:20] VERBOSE[2602][C-00021a1f] chan_iax2.c: Call accepted by 196.43.209.105:4569 (format g729)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">[2020-09-19 23:42:20] VERBOSE[2602][C-00021a1f] chan_iax2.c: Format for call is (g729)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">[2020-09-19 23:42:20] VERBOSE[15153][C-00021a1f] app_dial.c: IAX2/Downstream-26055 is ringing<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">[2020-09-19 23:42:20] VERBOSE[15153][C-00021a1f] chan_sip.c:<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US"><--- Transmitting (NAT) to 41.11.11.12:5060 ---><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">SIP/2.0 180 Ringing<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">Via: SIP/2.0/UDP 41.11.11.12:5060;branch=z9hG4bK4df7.5bc77035.0;received=41.11.11.12;rport=5060<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">Via: SIP/2.0/UDP 41.11.11.11:5070;received=41.11.11.11;branch=z9hG4bK0cb77ea3;rport=5070<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">Record-Route: <sip:41.11.11.12;lr;ftag=as40fe2614><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">From: "+27888888888" <sip:+27888888888@41.11.11.11:5070>;tag=as40fe2614<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">To: <sip:0100000000@52.22.22.22:5160>;tag=as11a1cd82<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">Call-ID: 7030be5a09d89a9543234da051897a49@41.11.11.11<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">CSeq: 102 INVITE<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">Server: Asterisk PBX 16.13.0<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">Supported: replaces, timer<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">Contact: <sip:0100000000@52.22.22.22:5160><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">Content-Length: 0<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US"><------------><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">[2020-09-19 23:42:22] VERBOSE[15153][C-00021a1f] app_dial.c: IAX2/Downstream-26055 answered SIP/Upstream-00021a0d<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">[2020-09-19 23:42:22] VERBOSE[15153][C-00021a1f] chan_sip.c: Set codec to 'g729' for this call because of ${SIP_CODEC*} variable<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">[2020-09-19 23:42:22] VERBOSE[15153][C-00021a1f] chan_sip.c: Set codec to 'g729' for this call because of ${SIP_CODEC*} variable<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">[2020-09-19 23:42:22] VERBOSE[15153][C-00021a1f] chan_sip.c: Audio is at 17678<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">[2020-09-19 23:42:22] VERBOSE[15153][C-00021a1f] chan_sip.c: Adding codec g729 to SDP<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">[2020-09-19 23:42:22] VERBOSE[15153][C-00021a1f] chan_sip.c: Adding non-codec 0x1 (telephone-event) to SDP<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">[2020-09-19 23:42:22] VERBOSE[15153][C-00021a1f] chan_sip.c:<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US"><--- Reliably Transmitting (NAT) to 41.11.11.12:5060 ---><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">SIP/2.0 200 OK<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">Via: SIP/2.0/UDP 41.11.11.12:5060;branch=z9hG4bK4df7.5bc77035.0;received=41.11.11.12;rport=5060<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">Via: SIP/2.0/UDP 41.11.11.11:5070;received=41.11.11.11;branch=z9hG4bK0cb77ea3;rport=5070<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">Record-Route: <sip:41.11.11.12;lr;ftag=as40fe2614><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">From: "+27888888888" <sip:+27888888888@41.11.11.11:5070>;tag=as40fe2614<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">To: <sip:0100000000@52.22.22.22:5160>;tag=as11a1cd82<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">Call-ID: 7030be5a09d89a9543234da051897a49@41.11.11.11<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">CSeq: 102 INVITE<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">Server: Asterisk PBX 16.13.0<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">Supported: replaces, timer<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">Contact: <sip:0100000000@52.22.22.22:5160><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">Content-Type: application/sdp<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">Content-Length: 259<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">v=0<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">o=root 430525994 430525994 IN IP4 52.22.22.22<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">s=Asterisk PBX 16.13.0<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">c=IN IP4 52.22.22.22<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">t=0 0<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">m=audio 17678 RTP/AVP 18 101<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">a=rtpmap:18 G729/8000<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">a=fmtp:18 annexb=no<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">a=rtpmap:101 telephone-event/8000<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">a=fmtp:101 0-16<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">a=maxptime:230<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">a=sendrecv<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US"><------------><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">[2020-09-19 23:42:22] VERBOSE[15154][C-00021a1f] bridge_channel.c: Channel IAX2/Downstream-26055 joined 'simple_bridge' basic-bridge
<0d377050-bca3-4db8-81e0-f677e37c24e9><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">[2020-09-19 23:42:22] VERBOSE[15153][C-00021a1f] bridge_channel.c: Channel SIP/Upstream-00021a0d joined 'simple_bridge' basic-bridge
<0d377050-bca3-4db8-81e0-f677e37c24e9><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">[2020-09-19 23:42:22] VERBOSE[2637] chan_sip.c:<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US"><--- SIP read from UDP:41.11.11.12:5060 ---><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">ACK sip:0100000000@52.22.22.22:5160 SIP/2.0<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">Record-Route: <sip:41.11.11.12;lr;ftag=as40fe2614><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">Via: SIP/2.0/UDP 41.11.11.12:5060;branch=z9hG4bK4df7.5bc77035.2<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">Via: SIP/2.0/UDP 41.11.11.11:5070;received=41.11.11.11;branch=z9hG4bK7caba5c1;rport=5070<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">From: "+27888888888" <sip:+27888888888@41.11.11.11:5070>;tag=as40fe2614<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">To: <sip:0100000000@52.22.22.22:5160>;tag=as11a1cd82<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">Contact: <sip:+27888888888@41.11.11.11:5070><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">Call-ID: 7030be5a09d89a9543234da051897a49@41.11.11.11<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">CSeq: 102 ACK<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">User-Agent: PortaOne<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">Max-Forwards: 69<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">Content-Length: 0<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US"><-------------><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">[2020-09-19 23:42:22] VERBOSE[2637] chan_sip.c: --- (12 headers 0 lines) ---<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">[2020-09-19 23:42:22] VERBOSE[15153][C-00021a1f] res_rtp_asterisk.c: Sent RTP packet to 41.11.11.11:13918 (type 8, seq
020640, ts 000160, len 000160)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">[2020-09-19 23:42:22] VERBOSE[15153][C-00021a1f] res_rtp_asterisk.c: Sent RTP packet to 41.11.11.11:13918 (type 8, seq
020641, ts 000320, len 000160)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">[2020-09-19 23:42:22] VERBOSE[15153][C-00021a1f] res_rtp_asterisk.c: Sent RTP packet to 41.11.11.11:13918 (type 8, seq
020642, ts 000480, len 000160)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">[2020-09-19 23:42:22] VERBOSE[15153][C-00021a1f] res_rtp_asterisk.c: Sent RTP packet to 41.11.11.11:13918 (type 8, seq
020643, ts 000640, len 000160)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">[2020-09-19 23:42:22] VERBOSE[15153][C-00021a1f] res_rtp_asterisk.c: Sent RTP packet to 41.11.11.11:13918 (type 8, seq
020644, ts 000800, len 000160)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">[2020-09-19 23:42:22] VERBOSE[15153][C-00021a1f] res_rtp_asterisk.c: Sent RTP packet to 41.11.11.11:13918 (type 8, seq
020645, ts 000960, len 000160)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";color:#7F7F7F;mso-style-textfill-fill-color:#7F7F7F;mso-style-textfill-fill-alpha:100.0%;mso-fareast-language:EN-US"><snip><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">[2020-09-19 23:42:29] VERBOSE[15153][C-00021a1f] res_rtp_asterisk.c: Sent RTP packet to 41.11.11.11:13918 (type 8, seq
020999, ts 250248, len 000160)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">[2020-09-19 23:42:29] VERBOSE[15153][C-00021a1f] res_rtp_asterisk.c: Sent RTP packet to 41.11.11.11:13918 (type 8, seq
021000, ts 250408, len 000160)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">[2020-09-19 23:42:29] VERBOSE[15153][C-00021a1f] res_rtp_asterisk.c: Sent RTP packet to 41.11.11.11:13918 (type 8, seq
021001, ts 250568, len 000160)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">[2020-09-19 23:42:29] VERBOSE[15153][C-00021a1f] res_rtp_asterisk.c: Sent RTP packet to 41.11.11.11:13918 (type 8, seq
021002, ts 250728, len 000160)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">[2020-09-19 23:42:29] VERBOSE[15153][C-00021a1f] res_rtp_asterisk.c: Sent RTP packet to 41.11.11.11:13918 (type 8, seq
021003, ts 250888, len 000160)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">[2020-09-19 23:42:29] VERBOSE[15153][C-00021a1f] res_rtp_asterisk.c: Sent RTP packet to 41.11.11.11:13918 (type 8, seq
021004, ts 251048, len 000160)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">[2020-09-19 23:42:29] VERBOSE[2637] chan_sip.c:<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US"><--- SIP read from UDP:41.11.11.12:5060 ---><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">BYE sip:0100000000@52.22.22.22:5160 SIP/2.0<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">Record-Route: <sip:41.11.11.12;lr;ftag=as40fe2614><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">Via: SIP/2.0/UDP 41.11.11.12:5060;branch=z9hG4bK5df7.1435d67.0<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">Via: SIP/2.0/UDP 41.11.11.11:5070;received=41.11.11.11;branch=z9hG4bK577fb6bb;rport=5070<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">From: "+27888888888" <sip:+27888888888@41.11.11.11:5070>;tag=as40fe2614<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">To: <sip:0100000000@52.22.22.22:5160>;tag=as11a1cd82<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">Call-ID: 7030be5a09d89a9543234da051897a49@41.11.11.11<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">CSeq: 103 BYE<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">User-Agent: PortaOne<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">Max-Forwards: 69<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">Reason: Q.850 ;cause=16; text="Normal Clearing"<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">X-Asterisk-HangupCauseCode: 16<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">Content-Length: 0<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US"><-------------><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">[2020-09-19 23:42:29] VERBOSE[2637] chan_sip.c: --- (13 headers 0 lines) ---<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">[2020-09-19 23:42:29] VERBOSE[2637][C-00021a1f] chan_sip.c: Sending to 41.11.11.12:5060 (NAT)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">[2020-09-19 23:42:29] VERBOSE[2637][C-00021a1f] chan_sip.c: Scheduling destruction of SIP dialog '7030be5a09d89a9543234da051897a49@41.11.11.11'
in 32000 ms (Method: BYE)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">[2020-09-19 23:42:29] VERBOSE[2637][C-00021a1f] chan_sip.c:<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US"><--- Transmitting (NAT) to 41.11.11.12:5060 ---><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">SIP/2.0 200 OK<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">Via: SIP/2.0/UDP 41.11.11.12:5060;branch=z9hG4bK5df7.1435d67.0;received=41.11.11.12;rport=5060<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">Via: SIP/2.0/UDP 41.11.11.11:5070;received=41.11.11.11;branch=z9hG4bK577fb6bb;rport=5070<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">Record-Route: <sip:41.11.11.12;lr;ftag=as40fe2614><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">From: "+27888888888" <sip:+27888888888@41.11.11.11:5070>;tag=as40fe2614<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">To: <sip:0100000000@52.22.22.22:5160>;tag=as11a1cd82<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">Call-ID: 7030be5a09d89a9543234da051897a49@41.11.11.11<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">CSeq: 103 BYE<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">Server: Asterisk PBX 16.13.0<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">Supported: replaces, timer<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">Content-Length: 0<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US"><------------><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">[2020-09-19 23:42:29] VERBOSE[15153][C-00021a1f] bridge_channel.c: Channel SIP/Upstream-00021a0d left 'simple_bridge' basic-bridge
<0d377050-bca3-4db8-81e0-f677e37c24e9><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">[2020-09-19 23:42:29] VERBOSE[15154][C-00021a1f] bridge_channel.c: Channel IAX2/Downstream-26055 left 'simple_bridge' basic-bridge
<0d377050-bca3-4db8-81e0-f677e37c24e9><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">[2020-09-19 23:42:29] VERBOSE[15153][C-00021a1f] pbx.c: Spawn extension (incoming, Downstream_0100000000, 1) exited non-zero
on 'SIP/Upstream-00021a0d'<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:8.0pt;font-family:"Lucida Console";mso-fareast-language:EN-US">[2020-09-19 23:42:29] VERBOSE[15154][C-00021a1f] chan_iax2.c: Hungup 'IAX2/Downstream-26055'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Regards<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">David Herselman<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> asterisk-users <asterisk-users-bounces@lists.digium.com>
<b>On Behalf Of </b>David Herselman<br>
<b>Sent:</b> Wednesday, 23 September 2020 4:17 PM<br>
<b>To:</b> asterisk-users@lists.digium.com<br>
<b>Subject:</b> [asterisk-users] Negotiates g729 but RTP contains g711<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="background:white"><span style="color:#212121">Hi,<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="color:#212121"><o:p> </o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="color:#212121">We have a scenario where inbound calls from an upstream provider (chan_sip) sent downstream (chan_iax2) negotiates only g729
</span><span style="color:black">yet</span><span style="color:#212121"> RTP media contains g711</span><span style="color:black">.
</span><span style="color:#212121">Both the upstream and downstream trunks are limited to only offering g729 whilst the initial invite from our upstream provider offers both g711 and g729. Asterisk presumably simply forwards the media from iax2 trunk encapsulation
to sip encapsulation. Most calls surprisingly work, presumably by the caller's system identifying the incoming media as g711</span><span style="color:black">,</span><span style="color:#212121"> whilst very few callers don't hear the IVR prompt.</span><span style="color:black">
</span><span style="color:#212121">The downstream is unfortunately not within our control but can't be anything other than Asterisk, considering it's using iax2 in trunk mode.<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><o:p> </o:p></p>
<p class="MsoNormal" style="background:white"><span style="color:black">We are running Asterisk 16.13.0, not sure what version the downstream is using.</span><o:p></o:p></p>
<p class="MsoNormal" style="background:white"><o:p> </o:p></p>
<p class="MsoNormal" style="background:white"><span style="color:#212121">caller -> upstream -> us -> downstream (IVR)<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><o:p> </o:p></p>
<p class="MsoNormal" style="background:white"><span style="color:black">Herewith the SIP portion of the call, between upstream and us:</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt;background:white"><span style="color:black">Available here:
<a href="https://ibb.co/jRGvvVc">https://ibb.co/jRGvvVc</a></span><o:p></o:p></p>
<p class="MsoNormal" style="background:white"><span style="color:#212121"><o:p> </o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="color:#212121"><o:p> </o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="color:#212121">Wireshark unfortunately still cannot dissect iax2 trunk captures though, so I didn't know how to conclusively
</span><span style="color:black">identify where this problem </span><span style="color:#212121">originates.</span><span style="color:black"> I do however have a concern that the media we are receiving’s packet size (74 bytes) indicates that it is most likely
G729.</span><span style="color:#212121"><o:p></o:p></span></p>
<div id="ms-outlook-mobile-signature">
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Herewith the IAX2 trunk portion of the call, between us and downstream:<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">Available here: <a href="https://ibb.co/r07PkkK">
https://ibb.co/r07PkkK</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">ie: We appear to have a reproducible environment where an inbound SIP trunk call sent to a downstream IAX2 trunk negotiates g729 in all 4 streams, receives g729 media from downstream iax2 trunk but then transmits g711a upstream.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’m however struggling with the downstream pcap, to establish what’s different about these calls. Trunk config and forwarding structure works the identical way for 50+ other flows on the same host.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal">Regards<br>
David Herselman<o:p></o:p></p>
</div>
</div>
</body>
</html>