[SIP Beyond VoIP] 405 method not allowed for MESSAGE
Cuneyt Emrah DURGUN
cdurgun at netas.com.tr
Tue Oct 23 13:09:39 CEST 2012
Hi,
I got 405 Method Not Allowed for MESSEAGE, but it is said that supported
in http://sylkserver.com/features.phtml .
Here the logs from notifications.txt and sip_trace.txt :
NOTIFICATIONS.TXT
2012-10-23 14:27:11.650864 [sylk-server 28527]: Notification
name=SIPIncomingRequestGotRequest
sender=<sipsimple.core._core.IncomingRequest object at 0x35cc6d8>
{'body': 'asdasdasdasdas\r\n',
'headers': {'Accept': ['application/vnd.nortelnetworks.digits'],
'CSeq': (1, 'MESSAGE'),
'Call-ID': FrozenHeader('Call-ID', '3-6388 at 217.78.99.27'),
'Contact':
[FrozenContactHeader(FrozenSIPURI('217.78.99.27', 'odolu0', None, 5061,
False, frozendict({}), frozendict({})), None, frozendict({'q':
'0.0'}))],
'Content-Length': 33,
'Content-Type':
FrozenContentTypeHeader('application/vnd.nortelnetworks.digits',
frozendict({})),
'Expires': 90,
'From': FrozenFromHeader(FrozenSIPURI('nl12taf.com',
'odolu0', None, None, False, frozendict({}), frozendict({})), None,
frozendict({'tag': '3'})),
'Max-Forwards': 40,
'To': FrozenToHeader(FrozenSIPURI('nl12taf.com', 'odolu1',
None, None, False, frozendict({}), frozendict({})), None,
frozendict({})),
'User-Agent': FrozenHeader('User-Agent', 'Nortel PCC
8.0.1907'),
'Via': [FrozenViaHeader('UDP', '217.78.99.27', 5061,
frozendict({'received': '217.78.99.27', 'branch':
'z9hG4bK-6388-3-0'}))],
'x-nt-guid': FrozenHeader('x-nt-guid',
'0065be094707492049130bc2608fa42398a911')},
'method': 'MESSAGE',
'request_uri': FrozenSIPURI('nl12taf.com', 'odolu1', None, None, False,
frozendict({}), frozendict({}))}
2012-10-23 14:27:11.750646 [sylk-server 28527]: Notification
name=SIPIncomingRequestSentResponse
sender=<sipsimple.core._core.IncomingRequest object at 0x35cc6d8>
{'body': None,
'code': 405,
'headers': {'CSeq': (1, 'MESSAGE'),
'Call-ID': FrozenHeader('Call-ID', '3-6388 at 217.78.99.27'),
'From': FrozenFromHeader(FrozenSIPURI('nl12taf.com',
'odolu0', None, None, False, frozendict({}), frozendict({})), None,
frozendict({'tag': '3'})),
'To': FrozenToHeader(FrozenSIPURI('nl12taf.com', 'odolu1',
None, None, False, frozendict({}), frozendict({})), None,
frozendict({})),
'Via': [FrozenViaHeader('UDP', '217.78.99.27', 5061,
frozendict({'received': '217.78.99.27', 'branch':
'z9hG4bK-6388-3-0'}))]},
'reason': 'Method Not Allowed'}
SIP_TRACE.TXT
2012-10-23 14:27:11.647655 [sylk-server 28527]: RECEIVED: Packet 449,
+16:17:58.548687
217.78.99.27:5061 -(SIP over UDP)-> 47.168.85.98:5060
MESSAGE sip:odolu1 at nl12taf.com SIP/2.0
From: <sip:odolu0 at nl12taf.com>;tag=3
To: <sip:odolu1 at nl12taf.com>
CSeq: 1 MESSAGE
Call-ID: 3-6388 at 217.78.99.27
Via: SIP/2.0/UDP 217.78.99.27:5061;branch=z9hG4bK-6388-3-0
Content-Length: 33
Content-Type: application/vnd.nortelnetworks.digits
Contact: <sip:odolu0 at 217.78.99.27:5061>
User-Agent: Nortel PCC 8.0.1907
Accept: application/vnd.nortelnetworks.digits
Expires: 90
Max-Forwards: 40
x-nt-guid: 0065be094707492049130bc2608fa42398a911
asdasdasdasdas
--
2012-10-23 14:27:11.749484 [sylk-server 28527]: SENDING: Packet 450,
+16:17:58.650516
47.168.85.98:5060 -(SIP over UDP)-> 217.78.99.27:5061
SIP/2.0 405 Method Not Allowed
Via: SIP/2.0/UDP
217.78.99.27:5061;received=217.78.99.27;branch=z9hG4bK-6388-3-0
Call-ID: 3-6388 at 217.78.99.27
From: <sip:odolu0 at nl12taf.com>;tag=3
To: <sip:odolu1 at nl12taf.com>
CSeq: 1 MESSAGE
Server: SylkServer-2.1.0
Content-Length: 0
Am I doing something wrong here? Could you please advise?
Regards
Cuneyt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ag-projects.com/pipermail/sipbeyondvoip/attachments/20121023/45ee464d/attachment.html>
More information about the SIPBeyondVoIP
mailing list