<div dir="ltr">You do realize that rtp_secure_medi=true is NOT needed at all for WebRTC its already by default secure.<div><br></div><div>So you're missing the parts of the log that would clarify the situation, the parts where its doing all the codec compares.</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Aug 19, 2014 at 4:22 PM, Kamrul Khan <span dir="ltr"><<a href="mailto:dodul@live.com" target="_blank">dodul@live.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div dir="ltr">Hi,<div><br></div><div>Below is my dialplan:</div><div><br></div><div><div> <extension name="cext"></div><div> <condition field="destination_number" expression="^(2000)$"></div>
<div> <b> <action application="set" data="rtp_secure_media=true"/></b></div><div> <action application="bridge" data="user/bob"/></div><div> </condition></div>
<div> <condition field="destination_number" expression="^(3000)$"></div><div> <b> <action application="set" data="rtp_secure_media=true"/></b></div><div> <action application="bridge" data="user/bob"/></div>
<div> </condition></div><div> </extension></div><div></context></div></div><div><br></div><div><br></div><div>You can see I have <b style="font-size:12pt">rtp_secure_media=true for both extension. </b><span style="font-size:12pt">However, when I try to call I get rejected with 488 Not acceptable here. In my freeswitch console log I find </span> sofia/internal/<a href="mailto:alice@192.168.146.133" target="_blank">alice@192.168.146.133</a> Standard REPORTING, cause:<b> INCOMPATIBLE_DESTINATION. </b>What should I do to fix this? </div>
<div><br></div><div>Below is my complete console log:</div><div><span style="font-size:12pt"><br></span></div><div><div> 2014-07-22 19:51:32.572499 [DEBUG] sofia.c:5847 IP 192.168.146.133 Rejected by acl "domains". Falling back to Digest auth.</div>
<div>2014-07-22 19:51:32.707332 [DEBUG] sofia.c:5847 IP 192.168.146.133 Rejected by acl "domains". Falling back to Digest auth.</div><div>2014-07-22 19:51:32.724263 [NOTICE] switch_channel.c:669 New Channel sofia/internal/<a href="mailto:alice@192.168.146.133" target="_blank">alice@192.168.146.133</a> [4101d950-1214-11e4-933c-61443ed3c9c7]</div>
<div>2014-07-22 19:51:32.725481 [DEBUG] switch_core_state_machine.c:314 (sofia/internal/<a href="mailto:alice@192.168.146.133" target="_blank">alice@192.168.146.133</a>) Running State Change CS_NEW</div><div>2014-07-22 19:51:32.725481 [DEBUG] switch_core_state_machine.c:320 (sofia/internal/<a href="mailto:alice@192.168.146.133" target="_blank">alice@192.168.146.133</a>) State NEW</div>
<div>2014-07-22 19:51:32.762327 [DEBUG] sofia.c:4153 Channel sofia/internal/<a href="mailto:alice@192.168.146.133" target="_blank">alice@192.168.146.133</a> entering state [received][100]</div><div>2014-07-22 19:51:32.762327 [DEBUG] sofia.c:4164 Remote SDP:</div>
<div>v=0</div><div>o=Mozilla-SIPUA-31.0 12934 1 IN IP4 0.0.0.0</div><div>s=Doubango Telecom - firefox</div><div>t=0 0</div><div>a=ice-ufrag:5e3a0151</div><div>a=ice-pwd:9df6e8f0963f033e8573a23e4ce62298</div><div>a=fingerprint:sha-256 90:BD:D7:9C:DE:66:5D:86:D4:8A:61:89:75:07:EF:F9:9A:06:AE:29:C8:1D:BD:C3:BD:C0:41:12:01:B5:45:FD</div>
<div>m=audio 56772 UDP/TLS/RTP/SAVPF 109 0 8 101</div><div>c=IN IP4 184.69.59.132</div><div>a=rtpmap:109 opus/48000/2</div><div>a=ptime:20</div><div>a=rtpmap:0 PCMU/8000</div><div>a=rtpmap:8 PCMA/8000</div><div>a=rtpmap:101 telephone-event/8000</div>
<div>a=fmtp:101 0-15</div><div>a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level</div><div>a=setup:actpass</div><div>a=candidate:0 1 UDP <a href="tel:2128609535" value="+12128609535" target="_blank">2128609535</a> 172.16.1.188 56772 typ host</div>
<div>a=candidate:2 1 UDP 1692467199 184.69.59.132 56772 typ srflx raddr 172.16.1.188 rport 56772</div><div>a=candidate:5 1 UDP <a href="tel:2128543999" value="+12128543999" target="_blank">2128543999</a> 192.168.56.1 56773 typ host</div>
<div>a=candidate:10 1 UDP <a href="tel:2128478463" value="+12128478463" target="_blank">2128478463</a> 192.168.232.1 56774 typ host</div><div>a=candidate:15 1 UDP <a href="tel:2128412927" value="+12128412927" target="_blank">2128412927</a> 192.168.146.1 56775 typ host</div>
<div>a=candidate:0 2 UDP <a href="tel:2128609534" value="+12128609534" target="_blank">2128609534</a> 172.16.1.188 56776 typ host</div><div>a=candidate:1 2 UDP 1692467198 184.69.59.132 56776 typ srflx raddr 172.16.1.188 rport 56776</div>
<div>a=candidate:5 2 UDP <a href="tel:2128543998" value="+12128543998" target="_blank">2128543998</a> 192.168.56.1 56777 typ host</div><div>a=candidate:10 2 UDP <a href="tel:2128478462" value="+12128478462" target="_blank">2128478462</a> 192.168.232.1 56778 typ host</div>
<div>a=candidate:15 2 UDP <a href="tel:2128412926" value="+12128412926" target="_blank">2128412926</a> 192.168.146.1 56779 typ host</div><div>a=rtcp-mux</div><div><br></div><div>2014-07-22 19:51:32.762327 [NOTICE] sofia.c:4354 Hangup sofia/internal/<a href="mailto:alice@192.168.146.133" target="_blank">alice@192.168.146.133</a> [CS_NEW] [INCOMPATIBLE_DESTINATION]</div>
<div>2014-07-22 19:51:32.762327 [DEBUG] switch_channel.c:2102 Send signal sofia/internal/<a href="mailto:alice@192.168.146.133" target="_blank">alice@192.168.146.133</a> [KILL]</div><div>2014-07-22 19:51:32.762327 [DEBUG] switch_core_session.c:1021 Send signal sofia/internal/<a href="mailto:alice@192.168.146.133" target="_blank">alice@192.168.146.133</a> [BREAK]</div>
<div>2014-07-22 19:51:32.762327 [DEBUG] switch_core_state_machine.c:314 (sofia/internal/<a href="mailto:alice@192.168.146.133" target="_blank">alice@192.168.146.133</a>) Running State Change CS_HANGUP</div><div>2014-07-22 19:51:32.762327 [DEBUG] switch_core_state_machine.c:499 (sofia/internal/<a href="mailto:alice@192.168.146.133" target="_blank">alice@192.168.146.133</a>) State HANGUP</div>
<div>2014-07-22 19:51:32.762327 [DEBUG] mod_sofia.c:414 Channel sofia/internal/<a href="mailto:alice@192.168.146.133" target="_blank">alice@192.168.146.133</a> hanging up, cause: INCOMPATIBLE_DESTINATION</div><div>2014-07-22 19:51:32.780344 [DEBUG] mod_sofia.c:476 Responding to INVITE with: 488</div>
<div>2014-07-22 19:51:32.780344 [DEBUG] switch_core_state_machine.c:46 sofia/internal/<a href="mailto:alice@192.168.146.133" target="_blank">alice@192.168.146.133</a> Standard HANGUP, cause: INCOMPATIBLE_DESTINATION</div>
<div>2014-07-22 19:51:32.780344 [DEBUG] switch_core_state_machine.c:499 (sofia/internal/<a href="mailto:alice@192.168.146.133" target="_blank">alice@192.168.146.133</a>) State HANGUP going to sleep</div><div>2014-07-22 19:51:32.780344 [DEBUG] switch_core_state_machine.c:333 (sofia/internal/<a href="mailto:alice@192.168.146.133" target="_blank">alice@192.168.146.133</a>) State Change CS_HANGUP -> CS_REPORTING</div>
<div>2014-07-22 19:51:32.780344 [DEBUG] switch_core_session.c:1021 Send signal sofia/internal/<a href="mailto:alice@192.168.146.133" target="_blank">alice@192.168.146.133</a> [BREAK]</div><div>2014-07-22 19:51:32.780344 [DEBUG] switch_core_state_machine.c:314 (sofia/internal/<a href="mailto:alice@192.168.146.133" target="_blank">alice@192.168.146.133</a>) Running State Change CS_REPORTING</div>
<div>2014-07-22 19:51:32.780344 [DEBUG] switch_core_state_machine.c:590 (sofia/internal/<a href="mailto:alice@192.168.146.133" target="_blank">alice@192.168.146.133</a>) State REPORTING</div><div>2014-07-22 19:51:32.780344 [DEBUG] switch_core_state_machine.c:53 sofia/internal/<a href="mailto:alice@192.168.146.133" target="_blank">alice@192.168.146.133</a> Standard REPORTING, cause: INCOMPATIBLE_DESTINATION</div>
<div>2014-07-22 19:51:32.780344 [DEBUG] switch_core_state_machine.c:590 (sofia/internal/<a href="mailto:alice@192.168.146.133" target="_blank">alice@192.168.146.133</a>) State REPORTING going to sleep</div><div>2014-07-22 19:51:32.780344 [DEBUG] switch_core_state_machine.c:327 (sofia/internal/<a href="mailto:alice@192.168.146.133" target="_blank">alice@192.168.146.133</a>) State Change CS_REPORTING -> CS_DESTROY</div>
<div>2014-07-22 19:51:32.780344 [DEBUG] switch_core_session.c:1021 Send signal sofia/internal/<a href="mailto:alice@192.168.146.133" target="_blank">alice@192.168.146.133</a> [BREAK]</div><div>2014-07-22 19:51:32.780344 [DEBUG] switch_core_session.c:1164 Session 138 (sofia/internal/<a href="mailto:alice@192.168.146.133" target="_blank">alice@192.168.146.133</a>) Locked, Waiting on external entities</div>
<div>2014-07-22 19:51:32.780344 [NOTICE] switch_core_session.c:1182 Session 138 (sofia/internal/<a href="mailto:alice@192.168.146.133" target="_blank">alice@192.168.146.133</a>) Ended</div><div>2014-07-22 19:51:32.780344 [NOTICE] switch_core_session.c:1184 Close Channel sofia/internal/<a href="mailto:alice@192.168.146.133" target="_blank">alice@192.168.146.133</a> [CS_DESTROY]</div>
<div>2014-07-22 19:51:32.780344 [DEBUG] switch_core_state_machine.c:428 (sofia/internal/<a href="mailto:alice@192.168.146.133" target="_blank">alice@192.168.146.133</a>) Running State Change CS_DESTROY</div><div>2014-07-22 19:51:32.780344 [DEBUG] switch_core_state_machine.c:439 (sofia/internal/<a href="mailto:alice@192.168.146.133" target="_blank">alice@192.168.146.133</a>) State DESTROY</div>
<div>2014-07-22 19:51:32.780344 [DEBUG] mod_sofia.c:341 sofia/internal/<a href="mailto:alice@192.168.146.133" target="_blank">alice@192.168.146.133</a> SOFIA DESTROY</div><div>2014-07-22 19:51:32.780344 [DEBUG] switch_core_state_machine.c:60 sofia/internal/<a href="mailto:alice@192.168.146.133" target="_blank">alice@192.168.146.133</a> Standard DESTROY</div>
<div>2014-07-22 19:51:32.780344 [DEBUG] switch_core_state_machine.c:439 (sofia/internal/<a href="mailto:alice@192.168.146.133" target="_blank">alice@192.168.146.133</a>) State DESTROY going to sleep</div><div style="font-size:12pt">
<br></div></div>                                            </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>