Skip Menu |

This queue is for tickets about the Net-SIP CPAN distribution.

Report information
The Basics
Id: 99136
Status: rejected
Priority: 0/
Queue: Net-SIP

People
Owner: Nobody in particular
Requestors: ben.sadler [...] zeninternet.co.uk
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: SIP Headers
Date: Thu, 25 Sep 2014 13:54:53 +0000
To: "bug-Net-SIP [...] rt.cpan.org" <bug-Net-SIP [...] rt.cpan.org>
From: Ben Sadler <ben.sadler [...] zeninternet.co.uk>
Hello, I’m trying to use Net::SIP::Simple to make some automated calls for our monitoring platform. I’ve hit an issue whereby the Call-ID header is sent as “Call-id” (no capitals on the ID part) which is ignored by the SIP Proxy we’re talking to. I’ve had a read of the RFC which suggests it should have capital ID: Call-ID = ( "Call-ID" / "i" ) HCOLON callid callid = word [ "@" word ] I’ve had a look but can’t find a way to change this (I tried adding a custom Call-ID header which ended up in the same format) - Is there any way to change it or is this a bug? Thanks, Ben. -- Ben Sadler Systems Engineer Zen Internet Main Switchboard: 01706 902000 Fax: 01706 902170 Web: zen.co.uk We are Which? Recommended Broadband Provider for the eighteenth time http://www.zen.co.uk/latest-news.aspx?page=11982 This message is private and confidential. If you have received this message in error, please notify us and remove it from your system. Zen Internet Limited may monitor email traffic data to manage billing, to handle customer enquiries and for the prevention and detection of fraud. We may also monitor the content of emails sent to and/or from Zen Internet Limited for the purposes of security, staff training and to monitor quality of service. Zen Internet Limited is registered in England and Wales, Sandbrook Park, Sandbrook Way, Rochdale, OL11 1RY Company No. 03101568 VAT Reg No. 686 0495 01
Am Do 25. Sep 2014, 09:55:13, ben.sadler@zeninternet.co.uk schrieb: Show quoted text
> Hello, > > I’m trying to use Net::SIP::Simple to make some automated calls for > our monitoring platform. > > I’ve hit an issue whereby the Call-ID header is sent as “Call-id” (no > capitals on the ID part) which is ignored by the SIP Proxy we’re > talking to. > > I’ve had a read of the RFC which suggests it should have capital ID:
I would not consider the field names as written in RFC3261 as suggestions on how to write the name. Nothing in the RFC says that there is a preferred writing at all. Instead it says clearly at page 31: "When comparing header fields, field names are always case-insensitive." Show quoted text
> I’ve had a look but can’t find a way to change this (I tried adding a > custom Call-ID header which ended up in the same format) - Is there > any way to change it or is this a bug?
There is no way to change it except changing the code. But I consider this not as a bug in Net::SIP. Instead it is a bug in the SIP proxy which does not adhere to the RFC, because it does not compare field names case-insensitive. Regards, Steffen