registered end-point user agent info filter
H i, I have already tried to look things up in FreeSWITCH wiki or just googling, but didn't find it. Is there a way I can use condition in the dialplan to filter for destination extension User Agent name so I can set or disable proxy-media on the fly? I know I can get this information by doing the following in console, but don't know how to get the same information in dialplan and have it filtered.
sofia status profile interal reg
Thanks, Henry
Calls are completely independent of registration, so ignore that. INVITE packets do contain the User-Agent header so the information would be available on all calls. Checking http://wiki.freeswitch.org/wiki/Channel_Variables it looks like there should be a sip_user_agent variable set. -Steve On 23 April 2013 00:59, Henry Huang <red.rain.seven@gmail.com> wrote:
H i,
I have already tried to look things up in FreeSWITCH wiki or just googling, but didn't find it.
Is there a way I can use condition in the dialplan to filter for destination extension User Agent name so I can set or disable proxy-media on the fly?
I know I can get this information by doing the following in console, but don't know how to get the same information in dialplan and have it filtered.
sofia status profile interal reg
Thanks,
Henry
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
participants (2)
-
Henry Huang
-
Steven Ayre