[Freeswitch-users] How to add headers to an outgoing REGISTER

KSrigo ksrigo at gmail.com
Mon Apr 23 12:28:58 UTC 2018


Hi Lars,

Thats what I understood. I’m not sure you can add a header to a SIP register send by FS. Is there any reason why you want to add these headers?

srigo


> On Apr 20, 2018, at 4:29 PM, Lars Paulsen <lapa at novatec.de> wrote:
> 
> Hello Srigo,
>  
> yes, a gateway sending out a REGISTER. And I want to add headers to it before it’s send out.
> I DO NOT mean adding headers to an REGISTER response send to a local extension.
>  
> To be precise I wanted to add “Require” and “Proxy-Require” headers.
> But I failed on adding completely new headers.
>  
> Regards,
> Lars
>  
> Von: FreeSWITCH-users [mailto:freeswitch-users-bounces at lists.freeswitch.org] Im Auftrag von Srigo Kanapathipillai
> Gesendet: Freitag, 20. April 2018 03:40
> An: FreeSWITCH Users Help
> Betreff: Re: [Freeswitch-users] How to add headers to an outgoing REGISTER
>  
> Hi,
>  
> What you mean by outgoing register?a Gateway registering? 
>  
> If yes, I'm not sure you can do it.
>  
> Srigo
>  
> On Fri, 20 Apr 2018, 01:33 Lars Paulsen, <lapa at novatec.de <mailto:lapa at novatec.de>> wrote:
>> Hello,
>>  
>> I have read the documentation under https://wiki.freeswitch.org/wiki/Sofia-SIP#Adding_Request_Headers <https://wiki.freeswitch.org/wiki/Sofia-SIP#Adding_Request_Headers> and as I understood it is possible to add
>> Headers to SIP requests simply by changing the configuration.
>>  
>> But the documentation refers to the dialing plan.
>> I tried to add headers to an outgoing REGISTER but failed.
>>  
>> Because the documentation refers to the dialplan and changing headers for existing calls, I am not sure if adding headers to a REGISTER request is possible or not.
>> Can anyone please tell me if it is possible or not and if yes, how to formulate the correct “<action application=”set” …>” and “<condition>” sections in the configuration.
>>  
>> Thanks in advance for all answers.
>>  
>> Best Regards,
>> Lars
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org <mailto:consulting at 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 at lists.freeswitch.org <mailto:FreeSWITCH-users at 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/>_________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org <mailto:consulting at 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 at lists.freeswitch.org <mailto:FreeSWITCH-users at 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/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20180423/003419d9/attachment-0001.html>


More information about the FreeSWITCH-users mailing list