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

Lars Paulsen lapa at novatec.de
Fri Apr 20 06:29:38 UTC 2018

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.




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




What you mean by outgoing register?a Gateway registering? 


If yes, I'm not sure you can do it.




On Fri, 20 Apr 2018, 01:33 Lars Paulsen, <lapa at novatec.de> wrote:



I have read the documentation under 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,

Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org

Official FreeSWITCH Sites

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20180420/921c16ad/attachment.html>

More information about the FreeSWITCH-users mailing list