[Freeswitch-users] Freeswitch srtp rejecting SRTP with 488

Kamrul Khan dodul at live.com
Wed Aug 20 02:31:38 MSD 2014


Hello Brian,
Thanks for your reply. I initially tried without the rtp_secire_media; I added rtp_secure_media = true after going through this page:
https://wiki.freeswitch.org/wiki/Secure_RTP
Probably I misunderstood it. So what is actually the issue and how to fix this. Please help ... Thanks in advanced!
BR//Kamrul

From: dodul at live.com
To: freeswitch-users at lists.freeswitch.org
Subject: Freeswitch srtp rejecting SRTP with 488
Date: Wed, 20 Aug 2014 03:22:03 +0600




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_NEW2014-07-22 19:51:32.725481 [DEBUG] switch_core_state_machine.c:320 (sofia/internal/alice at 192.168.146.133) State NEW2014-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=0o=Mozilla-SIPUA-31.0 12934 1 IN IP4 0.0.0.0s=Doubango Telecom - firefoxt=0 0a=ice-ufrag:5e3a0151a=ice-pwd:9df6e8f0963f033e8573a23e4ce62298a=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:FDm=audio 56772 UDP/TLS/RTP/SAVPF 109 0 8 101c=IN IP4 184.69.59.132a=rtpmap:109 opus/48000/2a=ptime:20a=rtpmap:0 PCMU/8000a=rtpmap:8 PCMA/8000a=rtpmap:101 telephone-event/8000a=fmtp:101 0-15a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-levela=setup:actpassa=candidate:0 1 UDP 2128609535 172.16.1.188 56772 typ hosta=candidate:2 1 UDP 1692467199 184.69.59.132 56772 typ srflx raddr 172.16.1.188 rport 56772a=candidate:5 1 UDP 2128543999 192.168.56.1 56773 typ hosta=candidate:10 1 UDP 2128478463 192.168.232.1 56774 typ hosta=candidate:15 1 UDP 2128412927 192.168.146.1 56775 typ hosta=candidate:0 2 UDP 2128609534 172.16.1.188 56776 typ hosta=candidate:1 2 UDP 1692467198 184.69.59.132 56776 typ srflx raddr 172.16.1.188 rport 56776a=candidate:5 2 UDP 2128543998 192.168.56.1 56777 typ hosta=candidate:10 2 UDP 2128478462 192.168.232.1 56778 typ hosta=candidate:15 2 UDP 2128412926 192.168.146.1 56779 typ hosta=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_HANGUP2014-07-22 19:51:32.762327 [DEBUG] switch_core_state_machine.c:499 (sofia/internal/alice at 192.168.146.133) State HANGUP2014-07-22 19:51:32.762327 [DEBUG] mod_sofia.c:414 Channel sofia/internal/alice at 192.168.146.133 hanging up, cause: INCOMPATIBLE_DESTINATION2014-07-22 19:51:32.780344 [DEBUG] mod_sofia.c:476 Responding to INVITE with: 4882014-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_DESTINATION2014-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 sleep2014-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_REPORTING2014-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_REPORTING2014-07-22 19:51:32.780344 [DEBUG] switch_core_state_machine.c:590 (sofia/internal/alice at 192.168.146.133) State REPORTING2014-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_DESTINATION2014-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 sleep2014-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_DESTROY2014-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 entities2014-07-22 19:51:32.780344 [NOTICE] switch_core_session.c:1182 Session 138 (sofia/internal/alice at 192.168.146.133) Ended2014-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_DESTROY2014-07-22 19:51:32.780344 [DEBUG] switch_core_state_machine.c:439 (sofia/internal/alice at 192.168.146.133) State DESTROY2014-07-22 19:51:32.780344 [DEBUG] mod_sofia.c:341 sofia/internal/alice at 192.168.146.133 SOFIA DESTROY2014-07-22 19:51:32.780344 [DEBUG] switch_core_state_machine.c:60 sofia/internal/alice at 192.168.146.133 Standard DESTROY2014-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
 		 	   		   		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140820/2e575e6e/attachment-0001.html 


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