[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.

 

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> wrote:

Hello,

 

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,
Lars

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at 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 at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.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