how to manipulate sip headers in Freeswitch
hi, i am new to free switch and am trying to connect it to a call out system. But whenever i make the out call, the remote server says "too many Allow events" and the support representative says i need to remove the Allow-Events. does any one know how to manipulate or remove the "allow-event" part of the sip header ? My current allow events are Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Allow-Events: talk, hold, presence, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer and the server has problem with Allow-Events. they only want talk and hold. thanks. -sam
First what device are you talking to that requires this change? /b On Jan 14, 2012, at 4:53 AM, sam wrote:
hi, i am new to free switch and am trying to connect it to a call out system. But whenever i make the out call, the remote server says "too many Allow events" and the support representative says i need to remove the Allow-Events.
does any one know how to manipulate or remove the "allow-event" part of the sip header ?
My current allow events are Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
Allow-Events: talk, hold, presence, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer
and the server has problem with Allow-Events. they only want talk and hold.
thanks. -sam
-- Brian West FreeSWITCH Solutions, LLC Phone: +1 (918) 420-9266 Fax: +1 (918) 420-9267 brian@freeswitch.org http://www.freeswitch.org
Manipulating Sip header in Freeswitch - "Status 500: Too many Allow-Event" I am using a local company's support for call out, and they would not tell me the device name nor the details at their end, only the error and the reason for it being too many allow-events. however, i had tested the same system on my local setup with spa 3102 and it worked fine. i dont know how to change the sip header part, and the error remains "Status 500: Too many Allow-Event". is there a conf file i need to change, because i dont want to go into the packet making problems. -sam
Interesting.. You can try stripping this sip header in your dial plan like this, <action application="unset" data="sip_h_Allow-Event"/> and try again. If the termination carrier says Allow-Event header is mandatory then try this, <action application="set" data="sip_h_Allow-Event= whatever value you need here"/> Hope this helps. Thank you. On Sat, Jan 14, 2012 at 5:30 PM, sam <samia.razaq@gmail.com> wrote:
Manipulating Sip header in Freeswitch - "Status 500: Too many Allow-Event"
I am using a local company's support for call out, and they would not tell me the device name nor the details at their end, only the error and the reason for it being too many allow-events.
however, i had tested the same system on my local setup with spa 3102 and it worked fine. i dont know how to change the sip header part, and the error remains "Status 500: Too many Allow-Event". is there a conf file i need to change, because i dont want to go into the packet making problems.
-sam
_________________________________________________________________________ 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
-- Muhammad Shahzad ----------------------------------- CISCO Rich Media Communication Specialist (CRMCS) CISCO Certified Network Associate (CCNA) Cell: +92 334 422 40 88 MSN: shari_786pk@hotmail.com Email: shaheryarkh@googlemail.com
Brian West <brian@...> writes:
First what device are you talking to that requires this change? /b
I am using another call out setup and i am only forwarding my calls via sip,rtp to them. i have no information about their devices and setup. only a voice-ip to which i send and from which i receive my calls. the error i get is "status 500 : too many Allow-Event". -- sam
On Jan 14, 2012, at 4:53 AM, sam wrote: hi,i am new to free switch and am trying to connect it to a call out system.
Butwhenever i make the out call, the remote server says "too many Allow events" andthe support representative says i need to remove the Allow-Events.does any one know how to manipulate or remove the "allow-event" part of the sipheader ?My current allow events are Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER,REFER, NOTIFY, PUBLISH, SUBSCRIBEAllow-Events: talk, hold, presence, dialog, line-seize, call-info, sla,include-session-description, presence.winfo, message-summary, referand the server has problem with Allow-Events. they only want talk and hold. thanks.-sam
-- Brian West FreeSWITCH Solutions, LLC Phone: +1 (918) 420-9266 Fax: +1 (918) 420-9267 brian@freeswitch.org http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@... 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@... http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (3)
-
Brian West
-
Muhammad Shahzad
-
sam