How to control custom header
Hi, users. Sorry about my poor english. I am a beginner of FS. I have a problem with IP-PBX. My customer wants to call mobile phone using FS connected IP-PBX. IP-PBX must set 100-rel mode. IP-PBX send to FS with custom SIP header(P-Charging-Vector), and I want to add this header to response SIP message. I read FS wiki and try many cases. but, i can't solve my problem. Follow is my call diagram: ======================================================================================================= SIP CLIENT : FreeSwitch : IP-PBX : Telecom(?) ======================================================================================================= INVITE --> <-- 100 TRYING INVITE --> <-- 100 TRYING <-- *183 Session Progress (with P-Charging-Vector Header)* *PRACK --> (without P-Charging-Vector Header) * <-- 183 (with P-Charging-Vector Header) *<-- 481 Call Leg/Transaction Does Not Exist * CANCEL --> <-- 200 OK <-- 487 Request Terminated ACK --> <-- 480 Temporarily Unavailable ACK --> ======================================================================================================= SIP Client is sofia based windows client. Please help me. Thank you. Regards, -- BooKyung Oh
Hi BooKyung Does this work for you? http://wiki.freeswitch.org/wiki/Mod_sofia#Adding_Response_Headers regards, Anita On Thu, Feb 23, 2012 at 5:31 PM, 오부경 <lanopk@gmail.com> wrote:
Hi, users. Sorry about my poor english.
I am a beginner of FS. I have a problem with IP-PBX. My customer wants to call mobile phone using FS connected IP-PBX. IP-PBX must set 100-rel mode.
IP-PBX send to FS with custom SIP header(P-Charging-Vector), and I want to add this header to response SIP message.
I read FS wiki and try many cases. but, i can't solve my problem.
Follow is my call diagram:
======================================================================================================= SIP CLIENT : FreeSwitch : IP-PBX : Telecom(?)
======================================================================================================= INVITE --> <-- 100 TRYING INVITE --> <-- 100 TRYING <-- *183 Session Progress (with P-Charging-Vector Header)* *PRACK --> (without P-Charging-Vector Header) * <-- 183 (with P-Charging-Vector Header) *<-- 481 Call Leg/Transaction Does Not Exist * CANCEL --> <-- 200 OK <-- 487 Request Terminated ACK --> <-- 480 Temporarily Unavailable ACK -->
======================================================================================================= SIP Client is sofia based windows client.
Please help me.
Thank you. Regards,
-- BooKyung Oh
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
participants (2)
-
Anita Hall
-
오부경