<div dir="ltr">'show codecs' isn't the list of codecs you've allowed on your sofia profile, its just a listing of all registered codecs. I would recommend you do 'sofia status profile xxx' and look at the CODECS IN/CODECS OUT.</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Aug 20, 2014 at 11:28 AM, Michael Jerris <span dir="ltr"><<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">The freeswitch debug logs should tell you more about what is happening. I would suggest turning on sip trace as well.<div><br></div><div>Mike</div><div><br><div><div class=""><div>On Aug 20, 2014, at 11:19 AM, Kamrul Khan <<a href="mailto:dodul@live.com" target="_blank">dodul@live.com</a>> wrote:</div>
<br></div><blockquote type="cite"><div dir="ltr" style="font-family:Calibri;font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<pre><br>Hi,</pre><pre><span style="font-family:Calibri,sans-serif;font-size:12pt">Thanks for your reply. In that case, how to know what exactly the issue is. The requested codecs in my INVITE is as follows:</span></pre><div class="">
<pre><div style="line-height:21.299999237060547px;color:rgb(68,68,68);font-family:Calibri,sans-serif;font-size:15px;white-space:normal;background-color:rgb(255,255,255)">a=rtpmap:109 opus/48000/2</div><div style="line-height:21.299999237060547px;color:rgb(68,68,68);font-family:Calibri,sans-serif;font-size:15px;white-space:normal;background-color:rgb(255,255,255)">
a=ptime:20</div><div style="line-height:21.299999237060547px;color:rgb(68,68,68);font-family:Calibri,sans-serif;font-size:15px;white-space:normal;background-color:rgb(255,255,255)">a=rtpmap:0 PCMU/8000</div><div style="line-height:21.299999237060547px;color:rgb(68,68,68);font-family:Calibri,sans-serif;font-size:15px;white-space:normal;background-color:rgb(255,255,255)">
a=rtpmap:8 PCMA/8000</div><div style="line-height:21.299999237060547px;color:rgb(68,68,68);font-family:Calibri,sans-serif;font-size:15px;white-space:normal;background-color:rgb(255,255,255)">a=rtpmap:101 telephone-event/8000</div>
<div style="line-height:21.299999237060547px;color:rgb(68,68,68);font-family:Calibri,sans-serif;font-size:15px;white-space:normal;background-color:rgb(255,255,255)">a=fmtp:101 0-15</div><div style="line-height:21.299999237060547px;color:rgb(68,68,68);font-family:Calibri,sans-serif;font-size:15px;white-space:normal;background-color:rgb(255,255,255)">
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level</div><div style="line-height:21.299999237060547px;color:rgb(68,68,68);font-family:Calibri,sans-serif;font-size:15px;white-space:normal;background-color:rgb(255,255,255)">
a=setup:actpass</div><div style="line-height:21.299999237060547px;color:rgb(68,68,68);font-family:Calibri,sans-serif;font-size:15px;white-space:normal;background-color:rgb(255,255,255)">a=candidate:0 1 UDP <a href="tel:2128609535" value="+12128609535" target="_blank">2128609535</a> 172.16.1.188 56772 typ host</div>
<div style="line-height:21.299999237060547px;color:rgb(68,68,68);font-family:Calibri,sans-serif;font-size:15px;white-space:normal;background-color:rgb(255,255,255)">a=candidate:2 1 UDP 1692467199 184.69.59.132 56772 typ srflx raddr 172.16.1.188 rport 56772</div>
<div style="line-height:21.299999237060547px;color:rgb(68,68,68);font-family:Calibri,sans-serif;font-size:15px;white-space:normal;background-color:rgb(255,255,255)">a=candidate:5 1 UDP <a href="tel:2128543999" value="+12128543999" target="_blank">2128543999</a> 192.168.56.1 56773 typ host</div>
<div style="line-height:21.299999237060547px;color:rgb(68,68,68);font-family:Calibri,sans-serif;font-size:15px;white-space:normal;background-color:rgb(255,255,255)">a=candidate:10 1 UDP <a href="tel:2128478463" value="+12128478463" target="_blank">2128478463</a> 192.168.232.1 56774 typ host</div>
<div style="line-height:21.299999237060547px;color:rgb(68,68,68);font-family:Calibri,sans-serif;font-size:15px;white-space:normal;background-color:rgb(255,255,255)">a=candidate:15 1 UDP <a href="tel:2128412927" value="+12128412927" target="_blank">2128412927</a> 192.168.146.1 56775 typ host</div>
<div style="line-height:21.299999237060547px;color:rgb(68,68,68);font-family:Calibri,sans-serif;font-size:15px;white-space:normal;background-color:rgb(255,255,255)">a=candidate:0 2 UDP <a href="tel:2128609534" value="+12128609534" target="_blank">2128609534</a> 172.16.1.188 56776 typ host</div>
<div style="line-height:21.299999237060547px;color:rgb(68,68,68);font-family:Calibri,sans-serif;font-size:15px;white-space:normal;background-color:rgb(255,255,255)">a=candidate:1 2 UDP 1692467198 184.69.59.132 56776 typ srflx raddr 172.16.1.188 rport 56776</div>
<div style="line-height:21.299999237060547px;color:rgb(68,68,68);font-family:Calibri,sans-serif;font-size:15px;white-space:normal;background-color:rgb(255,255,255)">a=candidate:5 2 UDP <a href="tel:2128543998" value="+12128543998" target="_blank">2128543998</a> 192.168.56.1 56777 typ host</div>
<div style="line-height:21.299999237060547px;color:rgb(68,68,68);font-family:Calibri,sans-serif;font-size:15px;white-space:normal;background-color:rgb(255,255,255)">a=candidate:10 2 UDP <a href="tel:2128478462" value="+12128478462" target="_blank">2128478462</a> 192.168.232.1 56778 typ host</div>
<div style="line-height:21.299999237060547px;color:rgb(68,68,68);font-family:Calibri,sans-serif;font-size:15px;white-space:normal;background-color:rgb(255,255,255)">a=candidate:15 2 UDP <a href="tel:2128412926" value="+12128412926" target="_blank">2128412926</a> 192.168.146.1 56779 typ host</div>
<div style="line-height:21.299999237060547px;color:rgb(68,68,68);font-family:Calibri,sans-serif;font-size:15px;white-space:normal;background-color:rgb(255,255,255)">a=rtcp-mux</div></pre></div><pre>The codec installed in my freeswitch:</pre>
<pre style="margin-top:0px;margin-bottom:10px;padding:5px;border:0px;font-size:14px;vertical-align:baseline;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif;overflow:auto;width:auto;max-height:600px;word-wrap:normal;line-height:17.804800033569336px;background-color:rgb(238,238,238);background-repeat:initial initial">
<code style="margin:0px;padding:0px;border:0px;vertical-align:baseline;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif;white-space:inherit;background-repeat:initial initial">show codecs
type,name,ikey
codec,ADPCM (IMA),mod_voipcodecs
codec,AMR,mod_amr
codec,G.711 alaw,CORE_PCM_MODULE
codec,G.711 ulaw,CORE_PCM_MODULE
codec,G.722,mod_voipcodecs
codec,G.723.1 6.3k,mod_g723_1
codec,G.726 16k,mod_voipcodecs
codec,G.726 16k (AAL2),mod_voipcodecs
codec,G.726 24k,mod_voipcodecs
codec,G.726 24k (AAL2),mod_voipcodecs
codec,G.726 32k,mod_voipcodecs
codec,G.726 32k (AAL2),mod_voipcodecs
codec,G.726 40k,mod_voipcodecs
codec,G.726 40k (AAL2),mod_voipcodecs
codec,G.729,mod_g729
codec,GSM,mod_voipcodecs
codec,H.261 Video (passthru),mod_h26x
codec,H.263 Video (passthru),mod_h26x
codec,H.263+ Video (passthru),mod_h26x
codec,H.263++ Video (passthru),mod_h26x
codec,H.264 Video (passthru),mod_h26x
codec,LPC-10,mod_voipcodecs
codec,PROXY PASS-THROUGH,CORE_PCM_MODULE
codec,PROXY VIDEO PASS-THROUGH,CORE_PCM_MODULE
codec,Polycom(R) G722.1/G722.1C,mod_siren
codec,RAW Signed Linear (16 bit),CORE_PCM_MODULE
codec,Speex,mod_speex
</code></pre><pre><span style="font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif;white-space:inherit;font-size:14px;line-height:17.804800033569336px;background-color:rgb(238,238,238)">codec,iLBC,mod_ilbc</span></pre>
<pre><span style="font-family:Calibri,sans-serif;font-size:12pt"><br></span></pre><pre><span style="font-family:Calibri,sans-serif;font-size:12pt">Is is rejecting just because I dont have opus installed in my freeswitch? But, I do have ulaw and alaw. The same configuration works fine with asterisk and I dont have OPUS installed there aswell.</span></pre>
<pre><span style="font-family:Calibri,sans-serif;font-size:12pt">Asterisk codec list:</span></pre><pre><font face="Calibri, sans-serif"> ID TYPE NAME DESCRIPTION
-------------------------------------------------------------------------------- ---
100001 audio g723 (G.723.1)
100002 audio gsm (GSM)
100003 audio ulaw (G.711 u-law)
100004 audio alaw (G.711 A-law)
100011 audio g726 (G.726 RFC3551)
100006 audio adpcm (ADPCM)
100019 audio slin (16 bit Signed Linear PCM)
100007 audio lpc10 (LPC10)
100008 audio g729 (G.729A)
100009 audio speex (SpeeX)
100016 audio speex16 (SpeeX 16khz)
100010 audio ilbc (iLBC)
100005 audio g726aal2 (G.726 AAL2)
100012 audio g722 (G722)
100021 audio slin16 (16 bit Signed Linear PCM (16kHz))
300001 image jpeg (JPEG image)
300002 image png (PNG image)
200001 video h261 (H.261 Video)
200002 video h263 (H.263 Video)
200003 video h263p (H.263+ Video)
200004 video h264 (H.264 Video)
200005 video mpeg4 (MPEG4 Video)
400001 text red (T.140 Realtime Text with redundancy)
400002 text t140 (Passthrough T.140 Realtime Text)
100013 audio siren7 (ITU G.722.1 (Siren7, licensed from Polycom))
100014 audio siren14 (ITU G.722.1 Annex C, (Siren14, licensed from Polycom))
100017 audio testlaw (G.711 test-law)
100015 audio g719 (ITU G.719)
100028 audio speex32 (SpeeX 32khz)
100020 audio slin12 (16 bit Signed Linear PCM (12kHz))
100022 audio slin24 (16 bit Signed Linear PCM (24kHz))
100023 audio slin32 (16 bit Signed Linear PCM (32kHz))
100024 audio slin44 (16 bit Signed Linear PCM (44kHz))
100025 audio slin48 (16 bit Signed Linear PCM (48kHz))
100026 audio slin96 (16 bit Signed Linear PCM (96kHz))
100027 audio slin192 (16 bit Signed Linear PCM (192kHz))
100018 audio silk8 (SILK Custom Format 8khz)
100018 audio silk12 (SILK Custom Format 12khz)
100018 audio silk16 (SILK Custom Format 16khz)
100018 audio silk24 (SILK Custom Format 24khz)</font></pre><br>--Forwarded Message Attachment--<br>From:<span> </span><a href="mailto:sertys@gmail.com" target="_blank">sertys@gmail.com</a><br>To:<span> </span><a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>
Date: Wed, 20 Aug 2014 12:43:11 +0200<br>Subject: Re: [Freeswitch-users] Freeswitch srtp rejecting SRTP with 488<div class=""><br><br><div dir="ltr">He's implying that something else apart from the SRTP part is giving you the 488. Like an inability to negotiate a proper codec for the call.</div>
</div></div></blockquote></div><br></div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">
<p><font face="courier new, monospace"><b><i><font size="4">Brian West</font></i></b><br><span style="font-size:x-small"><a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a></span></font></p>
<p><font size="1" face="courier new, monospace"><img src="http://bkw.org/whmcslogo.png"><br></font></p><p><font face="courier new, monospace"><b><i>Twitter: @FreeSWITCH , @briankwest</i></b><br><a href="http://www.freeswitchbook.com" target="_blank">http://www.freeswitchbook.com</a><br>
<a href="http://www.freeswitchcookbook.com" target="_blank">http://www.freeswitchcookbook.com</a></font></p>
<p><font face="courier new, monospace"><b>T:</b>+19184209001 | <b>F:</b>+19184209002 | <b>M:</b>+1918424WEST (9378)<br><b>iNUM:</b>+883 5100 1420 9001 | <b>ISN:</b>410*543 | <b>Skype:</b>briankwest</font></p></div>
</div>