Strip and use SIP headers in freeswitch dialplan configuration
Hi All, Am trying to fetch "Proxy-Authorization" header present in the SIP INVITE request through dialplan xml. Since there is no Built-in variable to fetch this header, is there a way to find if this header is present in the SIP INVITE request?. I browsed to find any possible solution but wasnt successful. Thanks, Vivek
Hi Vivek, try accessing it with sip_h_Proxy-Authorization. Giacomo On 14 February 2017 at 11:25, vivek@advaitamtech.com <vivek@advaitamtech.com
wrote:
Hi All,
Am trying to fetch "Proxy-Authorization" header present in the SIP INVITE request through dialplan xml.
Since there is no Built-in variable to fetch this header, is there a way to find if this header is present in the SIP INVITE request?. I browsed to find any possible solution but wasnt successful.
Thanks,
Vivek
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
Why are you needing to access this? On Tue, Feb 14, 2017 at 4:49 AM Giacomo Vacca <giacomo.vacca@gmail.com> wrote:
Hi Vivek, try accessing it with sip_h_Proxy-Authorization.
Giacomo
On 14 February 2017 at 11:25, vivek@advaitamtech.com < vivek@advaitamtech.com> wrote:
Hi All,
Am trying to fetch "Proxy-Authorization" header present in the SIP INVITE request through dialplan xml.
Since there is no Built-in variable to fetch this header, is there a way to find if this header is present in the SIP INVITE request?. I browsed to find any possible solution but wasnt successful.
Thanks,
Vivek
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
-- *Brian West* brian@freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com Allison prompts for FreeSWITCH: *https://www.gofundme.com/allison-prompts-for-freeswitch* <https://www.gofundme.com/allison-prompts-for-freeswitch> Wish to schedule a meeting? http://app.timebridge.com/#/meet/freeswitch Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *Skype:*briankwest
Its worked. Thanks a lot Giacomo. -----Original Message----- From: "Giacomo Vacca" <giacomo.vacca@gmail.com> Sent: Tuesday, 14 February, 2017 4:17pm To: "FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org> Subject: Re: [Freeswitch-users] Strip and use SIP headers in freeswitch dialplan configuration Hi Vivek, try accessing it with sip_h_Proxy-Authorization. Giacomo On 14 February 2017 at 11:25, [ vivek@advaitamtech.com ]( mailto:vivek@advaitamtech.com ) <[ vivek@advaitamtech.com ]( mailto:vivek@advaitamtech.com )> wrote: Hi All, Am trying to fetch "Proxy-Authorization" header present in the SIP INVITE request through dialplan xml. Since there is no Built-in variable to fetch this header, is there a way to find if this header is present in the SIP INVITE request?. I browsed to find any possible solution but wasnt successful. Thanks, Vivek _________________________________________________________________________ Professional FreeSWITCH Consulting Services: [ consulting@freeswitch.org ]( mailto:consulting@freeswitch.org ) [ http://www.freeswitchsolutions.com ]( http://www.freeswitchsolutions.com ) Official FreeSWITCH Sites [ http://www.freeswitch.org ]( http://www.freeswitch.org ) [ http://confluence.freeswitch.org ]( http://confluence.freeswitch.org ) [ http://www.cluecon.com ]( http://www.cluecon.com ) FreeSWITCH-users mailing list [ FreeSWITCH-users@lists.freeswitch.org ]( mailto:FreeSWITCH-users@lists.freeswitch.org ) [ http://lists.freeswitch.org/mailman/listinfo/freeswitch-users ]( http://lists.freeswitch.org/mailman/listinfo/freeswitch-users ) UNSUBSCRIBE:[ http://lists.freeswitch.org/mailman/options/freeswitch-users ]( http://lists.freeswitch.org/mailman/options/freeswitch-users ) [ http://www.freeswitch.org ]( http://www.freeswitch.org )
participants (3)
-
Brian West
-
Giacomo Vacca
-
vivek@advaitamtech.com