[Freeswitch-users] sofia_contact not resolving

Martin Boese martin at maxnet.ao
Tue Mar 1 13:39:01 MSK 2016


Hello..

I need to bridge a call to a sip-registered user. I only know the
username, so I want to use the sofia_contact function. But I have two
possible profiles a user can register to. It works for a user on one
profile but not on another - see below. The two sip-profiles are
indentical, just sip/rtp IP changes. So I am running out of ideas
here. Please help! 


  freeswitch at internal> show registrations 
  reg_user,realm,token,url,expires,network_ip,network_port,network_proto,hostname,metadata
  mypbx,10.255.0.22,5631334372ce72703e065a6c229ed744 at 0.0.0.0,sofia/voice-cust/sip:mypbx at 10.255.0.21,1456827880,10.255.0.21,5060,udp,voices1,
  martin,197.234.112.90,854360386,sofia/public-ip/sip:martin at 195.216.48.154:65476;line=0e91ea8856947c7,1456827842,195.216.48.154,65476,udp,voices1,

  freeswitch at internal> sofia_contact martin
  sofia/public-ip/sip:martin at 195.216.48.154:65476;line=0e91ea8856947c7


..great, but the other user:

  freeswitch at internal> sofia_contact mypbx
  error/user_not_registered

  freeswitch at internal> sofia_contact */mypbx
  error/user_not_registered

  freeswitch at internal> sofia_contact */mypbx at 10.255.0.21
  error/user_not_registered


Version:

  freeswitch at internal> version
  FreeSWITCH Version 1.6.6-13-d2d0b32~64bit (-13-d2d0b32 64bit)



Thanks!

Martin



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