<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 13, 2013 at 12:04 PM, <span dir="ltr"><<a href="mailto:research@businesstz.com" target="_blank">research@businesstz.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi there<br>
<br>
I have asterisk 10.11.1 which seems to have problem negotiating codec.<br>
<br>
Scenario: SIP PHONE1 (XLite) extension 1003, allowed codecs alaw, h263p<br>
and SIP phone2 (Grandstream GXV3175) extension 1004, allowed codec alaw,<br>
h263p. I have tried similar combination of codecs and SIP phone but when<br>
making a video call, it report "Peer doesn't provide video". It seems<br>
Asterisk is failing to set capability correct. Both codecs are enabled on<br>
the SIP Phones<br>
<br></blockquote><div><br></div><div style><snip></div><div style><br></div><div style>The 200 OK response from the called XLite phone is declining the video stream:</div><div style><br></div><div style><span style="font-family:arial,sans-serif;font-size:13px"><--- SIP read from UDP:</span><a href="http://10.10.10.129:48464/" target="_blank" style="font-family:arial,sans-serif;font-size:13px">10.10.10.129:48464</a><span style="font-family:arial,sans-serif;font-size:13px"> ---></span><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">SIP/2.0 200 OK</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">Via: SIP/2.0/UDP 10.10.10.105:5060;branch=</span><span style="font-family:arial,sans-serif;font-size:13px">z9hG4bK368135b0;rport=5060</span><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">Contact: <</span><a href="http://sip:1003@10.10.10.129:48464/" target="_blank" style="font-family:arial,sans-serif;font-size:13px">sip:1003@10.10.10.129:48464</a><span style="font-family:arial,sans-serif;font-size:13px">></span><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">To: "SAM"<</span><a href="mailto:sip%3A1003@10.10.10.105" style="font-family:arial,sans-serif;font-size:13px">sip:1003@10.10.10.105</a><span style="font-family:arial,sans-serif;font-size:13px">>;</span><span style="font-family:arial,sans-serif;font-size:13px">tag=0c90cc0c</span><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">From: <</span><a href="mailto:sip%3A1004@10.10.10.105" style="font-family:arial,sans-serif;font-size:13px">sip:1004@10.10.10.105</a><span style="font-family:arial,sans-serif;font-size:13px">>;tag=</span><span style="font-family:arial,sans-serif;font-size:13px">as24914503</span><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">Call-ID: MmNjOTczNDU5YjZmYjAyNWMxY2Q1MD</span><span style="font-family:arial,sans-serif;font-size:13px">ZjODdhYzQwZjA</span><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">CSeq: 102 INVITE</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE,</span><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">SUBSCRIBE, INFO</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">Content-Type: application/sdp</span><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">Supported: replaces, eventlist</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">User-Agent: X-Lite release 4.5.2 stamp 70142</span><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">Content-Length: 234</span><br style="font-family:arial,sans-serif;font-size:13px"><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">v=0</span><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">o=- 13015615910543193 2 IN IP4 10.10.10.129</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">s=X-Lite 4 release 4.5.2 stamp 70142</span><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">c=IN IP4 10.10.10.129</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">t=0 0</span><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">m=audio 53188 RTP/AVP 8 101</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">a=rtpmap:101 telephone-event/8000</span><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">a=fmtp:101 0-15</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">a=sendrecv</span><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">m=video 0 RTP/AVP 115</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px"><-------------></span><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">--- (12 headers 10 lines) ---</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">Found RTP audio format 8</span><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">Found RTP audio format 101</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">Found audio description format telephone-event for ID 101</span><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">Capabilities: us - (alaw|h263p), peer -</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">audio=(alaw)/video=(nothing)/</span><span style="font-family:arial,sans-serif;font-size:13px">text=(nothing), combined - (alaw)</span><br>
</div><div><br></div><div style>Note that the port for the video stream is set to 0.</div><div style><br></div><div style>Asterisk is doing the correct thing: it notes that the answer to its offer declined the video stream, so it disables video for the call between the two endpoints.</div>
</div><div class="gmail_extra"><br></div>Matt<br clear="all"><div><br></div>-- <br><div dir="ltr"><div>Matthew Jordan<br></div><div>Digium, Inc. | Engineering Manager</div><div>445 Jan Davis Drive NW - Huntsville, AL 35806 - USA</div>
<div>Check us out at: <a href="http://digium.com" target="_blank">http://digium.com</a> & <a href="http://asterisk.org" target="_blank">http://asterisk.org</a></div></div>
</div></div>