[Freeswitch-users] Freeswitch srtp rejecting SRTP with 488

Brian West brian at freeswitch.org
Wed Aug 20 02:03:32 MSD 2014


You do realize that rtp_secure_medi=true is NOT needed at all for WebRTC
its already by default secure.

So you're missing the parts of the log that would clarify the situation,
the parts where its doing all the codec compares.


On Tue, Aug 19, 2014 at 4:22 PM, Kamrul Khan <dodul at live.com> wrote:

> Hi,
>
> Below is my dialplan:
>
>  <extension name="cext">
>    <condition field="destination_number" expression="^(2000)$">
>        * <action application="set" data="rtp_secure_media=true"/>*
>         <action application="bridge" data="user/bob"/>
>    </condition>
>    <condition field="destination_number" expression="^(3000)$">
>        * <action application="set" data="rtp_secure_media=true"/>*
>         <action application="bridge" data="user/bob"/>
>    </condition>
>  </extension>
> </context>
>
>
> You can see I have *rtp_secure_media=true for both extension. *However,
> when I try to call I get rejected with 488 Not acceptable here.  In my
> freeswitch console log I find  sofia/internal/alice at 192.168.146.133
> Standard REPORTING, cause:* INCOMPATIBLE_DESTINATION. *What should I do
> to fix this?
>
> Below is my complete console log:
>
>  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.
> 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.
> 2014-07-22 19:51:32.724263 [NOTICE] switch_channel.c:669 New Channel
> sofia/internal/alice at 192.168.146.133
> [4101d950-1214-11e4-933c-61443ed3c9c7]
> 2014-07-22 19:51:32.725481 [DEBUG] switch_core_state_machine.c:314
> (sofia/internal/alice at 192.168.146.133) Running State Change CS_NEW
> 2014-07-22 19:51:32.725481 [DEBUG] switch_core_state_machine.c:320
> (sofia/internal/alice at 192.168.146.133) State NEW
> 2014-07-22 19:51:32.762327 [DEBUG] sofia.c:4153 Channel sofia/internal/
> alice at 192.168.146.133 entering state [received][100]
> 2014-07-22 19:51:32.762327 [DEBUG] sofia.c:4164 Remote SDP:
> v=0
> o=Mozilla-SIPUA-31.0 12934 1 IN IP4 0.0.0.0
> s=Doubango Telecom - firefox
> t=0 0
> a=ice-ufrag:5e3a0151
> a=ice-pwd:9df6e8f0963f033e8573a23e4ce62298
> 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
> m=audio 56772 UDP/TLS/RTP/SAVPF 109 0 8 101
> c=IN IP4 184.69.59.132
> a=rtpmap:109 opus/48000/2
> a=ptime:20
> a=rtpmap:0 PCMU/8000
> a=rtpmap:8 PCMA/8000
> a=rtpmap:101 telephone-event/8000
> a=fmtp:101 0-15
> a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
> a=setup:actpass
> a=candidate:0 1 UDP 2128609535 172.16.1.188 56772 typ host
> a=candidate:2 1 UDP 1692467199 184.69.59.132 56772 typ srflx raddr
> 172.16.1.188 rport 56772
> a=candidate:5 1 UDP 2128543999 192.168.56.1 56773 typ host
> a=candidate:10 1 UDP 2128478463 192.168.232.1 56774 typ host
> a=candidate:15 1 UDP 2128412927 192.168.146.1 56775 typ host
> a=candidate:0 2 UDP 2128609534 172.16.1.188 56776 typ host
> a=candidate:1 2 UDP 1692467198 184.69.59.132 56776 typ srflx raddr
> 172.16.1.188 rport 56776
> a=candidate:5 2 UDP 2128543998 192.168.56.1 56777 typ host
> a=candidate:10 2 UDP 2128478462 192.168.232.1 56778 typ host
> a=candidate:15 2 UDP 2128412926 192.168.146.1 56779 typ host
> a=rtcp-mux
>
> 2014-07-22 19:51:32.762327 [NOTICE] sofia.c:4354 Hangup sofia/internal/
> alice at 192.168.146.133 [CS_NEW] [INCOMPATIBLE_DESTINATION]
> 2014-07-22 19:51:32.762327 [DEBUG] switch_channel.c:2102 Send signal
> sofia/internal/alice at 192.168.146.133 [KILL]
> 2014-07-22 19:51:32.762327 [DEBUG] switch_core_session.c:1021 Send signal
> sofia/internal/alice at 192.168.146.133 [BREAK]
> 2014-07-22 19:51:32.762327 [DEBUG] switch_core_state_machine.c:314
> (sofia/internal/alice at 192.168.146.133) Running State Change CS_HANGUP
> 2014-07-22 19:51:32.762327 [DEBUG] switch_core_state_machine.c:499
> (sofia/internal/alice at 192.168.146.133) State HANGUP
> 2014-07-22 19:51:32.762327 [DEBUG] mod_sofia.c:414 Channel sofia/internal/
> alice at 192.168.146.133 hanging up, cause: INCOMPATIBLE_DESTINATION
> 2014-07-22 19:51:32.780344 [DEBUG] mod_sofia.c:476 Responding to INVITE
> with: 488
> 2014-07-22 19:51:32.780344 [DEBUG] switch_core_state_machine.c:46
> sofia/internal/alice at 192.168.146.133 Standard HANGUP, cause:
> INCOMPATIBLE_DESTINATION
> 2014-07-22 19:51:32.780344 [DEBUG] switch_core_state_machine.c:499
> (sofia/internal/alice at 192.168.146.133) State HANGUP going to sleep
> 2014-07-22 19:51:32.780344 [DEBUG] switch_core_state_machine.c:333
> (sofia/internal/alice at 192.168.146.133) State Change CS_HANGUP ->
> CS_REPORTING
> 2014-07-22 19:51:32.780344 [DEBUG] switch_core_session.c:1021 Send signal
> sofia/internal/alice at 192.168.146.133 [BREAK]
> 2014-07-22 19:51:32.780344 [DEBUG] switch_core_state_machine.c:314
> (sofia/internal/alice at 192.168.146.133) Running State Change CS_REPORTING
> 2014-07-22 19:51:32.780344 [DEBUG] switch_core_state_machine.c:590
> (sofia/internal/alice at 192.168.146.133) State REPORTING
> 2014-07-22 19:51:32.780344 [DEBUG] switch_core_state_machine.c:53
> sofia/internal/alice at 192.168.146.133 Standard REPORTING, cause:
> INCOMPATIBLE_DESTINATION
> 2014-07-22 19:51:32.780344 [DEBUG] switch_core_state_machine.c:590
> (sofia/internal/alice at 192.168.146.133) State REPORTING going to sleep
> 2014-07-22 19:51:32.780344 [DEBUG] switch_core_state_machine.c:327
> (sofia/internal/alice at 192.168.146.133) State Change CS_REPORTING ->
> CS_DESTROY
> 2014-07-22 19:51:32.780344 [DEBUG] switch_core_session.c:1021 Send signal
> sofia/internal/alice at 192.168.146.133 [BREAK]
> 2014-07-22 19:51:32.780344 [DEBUG] switch_core_session.c:1164 Session 138
> (sofia/internal/alice at 192.168.146.133) Locked, Waiting on external
> entities
> 2014-07-22 19:51:32.780344 [NOTICE] switch_core_session.c:1182 Session 138
> (sofia/internal/alice at 192.168.146.133) Ended
> 2014-07-22 19:51:32.780344 [NOTICE] switch_core_session.c:1184 Close
> Channel sofia/internal/alice at 192.168.146.133 [CS_DESTROY]
> 2014-07-22 19:51:32.780344 [DEBUG] switch_core_state_machine.c:428
> (sofia/internal/alice at 192.168.146.133) Running State Change CS_DESTROY
> 2014-07-22 19:51:32.780344 [DEBUG] switch_core_state_machine.c:439
> (sofia/internal/alice at 192.168.146.133) State DESTROY
> 2014-07-22 19:51:32.780344 [DEBUG] mod_sofia.c:341 sofia/internal/
> alice at 192.168.146.133 SOFIA DESTROY
> 2014-07-22 19:51:32.780344 [DEBUG] switch_core_state_machine.c:60
> sofia/internal/alice at 192.168.146.133 Standard DESTROY
> 2014-07-22 19:51:32.780344 [DEBUG] switch_core_state_machine.c:439
> (sofia/internal/alice at 192.168.146.133) State DESTROY going to sleep
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> 
> 
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>



-- 

*Brian West*
brian at freeswitch.org


*Twitter: @FreeSWITCH , @briankwest*
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com

*T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
*iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140819/70d8987c/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list