remote_media_ip variable not set
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
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 mrene@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
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_lists@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 mrene@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
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?
I added a patch to do it in more places On Wed, Nov 25, 2009 at 11:47 AM, Michael Jerris <mike@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_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
participants (4)
-
Anthony Minessale
-
Juan Backson
-
Mathieu Rene
-
Michael Jerris