Re: [Freeswitch-users] remote_media_ip variable not set

2009-11-25 Thread Michael Jerris
It's possible it does not.  I just added some code to set it on auto-adjust so 
it might be there sometimes now.  You might need to add some code in mod_sofia 
to add it other times.  Maybe it makes sense to move that var setting down to 
switch_rtp.c.  Patches for this would be welcome.

Thanks

Mike

On Nov 24, 2009, at 10:56 AM, Juan Backson wrote:

 Hi,
  
 In the case of proxy_media=true, does it gets set at all then?


___
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] remote_media_ip variable not set

2009-11-25 Thread Anthony Minessale
I added a patch to do it in more places


On Wed, Nov 25, 2009 at 11:47 AM, Michael Jerris m...@jerris.com wrote:

 It's possible it does not.  I just added some code to set it on auto-adjust
 so it might be there sometimes now.  You might need to add some code in
 mod_sofia to add it other times.  Maybe it makes sense to move that var
 setting down to switch_rtp.c.  Patches for this would be welcome.

 Thanks

 Mike

 On Nov 24, 2009, at 10:56 AM, Juan Backson wrote:

  Hi,
 
  In the case of proxy_media=true, does it gets set at all then?


 ___
 FreeSWITCH-users mailing list
 FreeSWITCH-users@lists.freeswitch.org
 http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
 UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
 http://www.freeswitch.org




-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_miness...@hotmail.com msn%3aanthony_miness...@hotmail.com
GTALK/JABBER/PAYPAL:anthony.miness...@gmail.compaypal%3aanthony.miness...@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:8...@conference.freeswitch.org sip%3a...@conference.freeswitch.org
iax:gu...@conference.freeswitch.org/888
googletalk:conf+...@conference.freeswitch.orggoogletalk%3aconf%2b...@conference.freeswitch.org
pstn:213-799-1400
___
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] remote_media_ip variable not set

2009-11-24 Thread Mathieu Rene
It gets set whenever the codec is negotiated. So it'll be NULL until  
(pre_)answer if you have late-negotiation on.

Mathieu Rene
Avant-Garde Solutions Inc
Office: + 1 (514) 664-1044 x100
Cell: +1 (514) 664-1044 x200
mr...@avgs.ca




On 24-Nov-09, at 10:22 AM, Juan Backson wrote:

 Hi,

 I tried to use the variable remote_media_ip from within dialplan,  
 but it is not returning anything.

 Does anyone know when this variable gets set and how to have this  
 variable to be set as soon as an INVITE hit freeswitch?

 Thanks,
 jb
 ___
 FreeSWITCH-users mailing list
 FreeSWITCH-users@lists.freeswitch.org
 http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
 UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
 http://www.freeswitch.org


___
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] remote_media_ip variable not set

2009-11-24 Thread Juan Backson
Hi,

In the case of proxy_media=true, does it gets set at all then?

thanks,
jb

On Tue, Nov 24, 2009 at 11:46 PM, Mathieu Rene mrene_li...@avgs.ca wrote:

 It gets set whenever the codec is negotiated. So it'll be NULL until
 (pre_)answer if you have late-negotiation on.

 Mathieu Rene
 Avant-Garde Solutions Inc
 Office: + 1 (514) 664-1044 x100
 Cell: +1 (514) 664-1044 x200
 mr...@avgs.ca




 On 24-Nov-09, at 10:22 AM, Juan Backson wrote:

  Hi,
 
  I tried to use the variable remote_media_ip from within dialplan,
  but it is not returning anything.
 
  Does anyone know when this variable gets set and how to have this
  variable to be set as soon as an INVITE hit freeswitch?
 
  Thanks,
  jb
  ___
  FreeSWITCH-users mailing list
  FreeSWITCH-users@lists.freeswitch.org
  http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
  UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
  http://www.freeswitch.org


 ___
 FreeSWITCH-users mailing list
 FreeSWITCH-users@lists.freeswitch.org
 http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
 UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
 http://www.freeswitch.org

___
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org