[Freeswitch-users] Outbound call not reaching destination - target on TLS

Iskren Hadzhinedev iskren.hadzhinedev at ikiji.com
Sat Feb 1 13:26:14 MSK 2014


Hello,
You have to export rtp_secure_media=true in order to serve SRTP on the outbound leg also. 
If you're using the default dialplan you can uncomment lines 142 and 151. The comments 1 
line above those two explain why that is needed. 
Kind regards,
-- 
Iskren Hadzhinedev
System Administrator


The Idea Factory | 20 Mearns Street | Aberdeen | AB11 5AT | UK
T: 01224 607500
VAT Reg No: 982 4936 74. Company registered in Scotland, SC237116

On Friday 31 January 2014 19:53:20 Michal Borkowski - MORCOM wrote:
> Hi,
> 
> I did more tests and it is looking that the problem is when using SRTP and
> ZRTP or only SRTP - in that case outbound connections  from my mobile are
> fine, but inbound connections are just not working.
> 
> So TLS without SRTP is working perfectly fine. With SRTP - I can call from
> my mobile client but nb can call me.
> 
> Any Idea????
> 
> Thanks
> 
> Michal
> 
> 
> On Fri, Jan 31, 2014 at 6:59 PM, Michal Borkowski - MORCOM
> 
> <morcom at wiwat.pl>wrote:
> > Hi,
> > 
> > I manage to solve most of the issues with FreeSwitch.
> > One main left only.....
> > 
> > I have mobile phone which is using CSipSimple
> > 
> > All on FreeSwitch set up and I can register the mobile with my extension.
> > I can call all destinations from the mobile (This is using TLS with all
> > security settings)
> > but I can not call that mobile. I was testing various codec sets in
> > CSipSimple - but nothing helped.
> > There must be something more.
> > I'm getting the error message that destination is incompatible.
> > Maybe looking to the log files sb would know the source of issue?
> > Sorry for long log....
> > 
> > =======
> > 
> > => 2014-01-31 18:12:41.230255 [DEBUG] switch_core_state_machine.c:679
> > (sofia/internal/sip:michalb at 62.140.132.18:4203) State HANGUP going to
> > sleep
> > => 2014-01-31 18:12:41.230255 [DEBUG] switch_core_state_machine.c:48
> > sofia/internal/sip:michalb at 62.140.132.18:4203 Standard HANGUP, cause:
> > INCOMPATIBLE_DESTINATION
> > => 2014-01-31 18:12:41.230255 [DEBUG] mod_sofia.c:506 Channel
> > sofia/internal/sip:michalb at 62.140.132.18:4203 hanging up, cause:
> > INCOMPATIBLE_DESTINATION
> > 
> >  => 2014-01-31 18:12:41.230255 [DEBUG] switch_core_state_machine.c:679
> > 
> > (sofia/internal/sip:michalb at 62.140.132.18:4203) State HANGUP
> > => 2014-01-31 18:12:41.230255 [DEBUG] switch_core_state_machine.c:415
> > (sofia/internal/sip:michalb at 62.140.132.18:4203) Running State Change
> > CS_HANGUP
> > => 2014-01-31 18:12:41.230255 [DEBUG] switch_core_session.c:1351 Send
> > signal sofia/internal/sip:michalb at 62.140.132.18:4203 [BREAK]
> > => 2014-01-31 18:12:41.230255 [DEBUG] switch_channel.c:3184 Send signal
> > sofia/internal/sip:michalb at 62.140.132.18:4203 [KILL]
> > => 2014-01-31 18:12:41.230255 [NOTICE] sofia.c:6629 Hangup sofia/internal/
> > sip:michalb at 62.140.132.18:4203 [CS_CONSUME_MEDIA]
> > [INCOMPATIBLE_DESTINATION]
> > 
> >  => 2014-01-31 18:12:41.230255 [DEBUG] sofia.c:5785 Channel
> >  sofia/internal/
> > 
> > sip:michalb at 62.140.132.18:4203 entering state [terminated][488]
> > => 2014-01-31 18:12:41.230255 [DEBUG] switch_core_session.c:1016 Send
> > signal sofia/internal/sip:michalb at 62.140.132.18:4203 [BREAK]
> > => 2014-01-31 18:12:41.230255 [DEBUG] switch_core_session.c:1016 Send
> > signal sofia/internal/sip:michalb at 62.140.132.18:4203 [BREAK]
> > => 2014-01-31 18:12:41.230255 [DEBUG] switch_core_session.c:1016 Send
> > signal sofia/internal/sip:michalb at 62.140.132.18:4203 [BREAK]
> > => 2014-01-31 18:12:38.600281 [DEBUG] switch_core_state_machine.c:490
> > (sofia/internal/sip:michalb at 62.140.132.18:4203) State CONSUME_MEDIA going
> > to sleep
> > 
> >  => 2014-01-31 18:12:38.600281 [DEBUG] switch_core_state_machine.c:490
> > 
> > (sofia/internal/sip:michalb at 62.140.132.18:4203) State CONSUME_MEDIA
> > => 2014-01-31 18:12:38.600281 [DEBUG] sofia.c:5785 Channel sofia/internal/
> > sip:michalb at 62.140.132.18:4203 entering state [calling][0]
> > => 2014-01-31 18:12:38.600281 [DEBUG] switch_core_state_machine.c:415
> > (sofia/internal/sip:michalb at 62.140.132.18:4203) Running State Change
> > CS_CONSUME_MEDIA
> > => 2014-01-31 18:12:38.600281 [DEBUG] switch_core_state_machine.c:471
> > (sofia/internal/sip:michalb at 62.140.132.18:4203) State ROUTING going to
> > sleep
> > => 2014-01-31 18:12:38.600281 [DEBUG] switch_core_session.c:1016 Send
> > signal sofia/internal/sip:michalb at 62.140.132.18:4203 [BREAK]
> > => 2014-01-31 18:12:38.600281 [DEBUG] switch_core_session.c:1351 Send
> > signal sofia/internal/sip:michalb at 62.140.132.18:4203 [BREAK]
> > => 2014-01-31 18:12:38.600281 [DEBUG] switch_ivr_originate.c:67
> > (sofia/internal/sip:michalb at 62.140.132.18:4203) State Change CS_ROUTING
> > -> CS_CONSUME_MEDIA
> > => 2014-01-31 18:12:38.600281 [DEBUG] mod_sofia.c:150 sofia/internal/
> > sip:michalb at 62.140.132.18:4203 SOFIA ROUTING
> > => 2014-01-31 18:12:38.600281 [DEBUG] switch_core_state_machine.c:471
> > (sofia/internal/sip:michalb at 62.140.132.18:4203) State ROUTING
> > => 2014-01-31 18:12:38.600281 [DEBUG] switch_core_state_machine.c:415
> > (sofia/internal/sip:michalb at 62.140.132.18:4203) Running State Change
> > CS_ROUTING
> > 
> >  => 2014-01-31 18:12:38.600281 [DEBUG] switch_core_state_machine.c:455
> > 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140201/672b6174/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 4641 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140201/672b6174/attachment-0001.png 


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