What about the sip_h_X- variant?

It depends which you want it to go into. sip_ph_X will only show in 100/180/183 provisional responses.


-Steve




On 7 June 2011 21:16, Eric Beard <eric@loopfx.com> wrote:

Hello,

 

I am trying to set SIP response headers using something like this in the dial plan:

 

<action application="set" data="sip_ph_X-MyVariable=true"/>

 

I haven’t been able to get it into the SIP headers, however.

 

I have a simple setup for testing:

 

Soft Phone -> Freeswitch -> Gateway

 

I want Freeswitch to add the header to the SIP response sent back to the soft phone.

 

Any ideas what I might be missing?  I have also tried the sip_rh_ variant.

 

Thanks,

 

-----------------------

Eric Z. Beard, CTO

Loop LLC

w (877) 850-2010 x9249

m (727) 776-2768

eric@loopfx.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