Hello guys,
I was wondering if someone had any success using an OS40 running SIP firmware V3 R4.10.0 with BLF/Presence monitoring, not on a OSV environment.
I try to SUBSCRIBE to the phone but always got a response 405 Method Not Allowed, although I can subscribe to other vendors and see the BLF working, like Polycom for instance.
Is this the way it was designed to operate?
I have a small portion of a trace from the device itself pasted below, which shows a debug msg "Event(dialog) not supported for incoming SUBSCRIBE"
Is there maybe a specific SIP Firmware version that allows SUBSCRIBE to dialog events?
Thanks in advance.
-
MM
[pre] Packet In <---172.20.2.210
SUBSCRIBE sip:3006@172.20.2.49:5060;transport=tcp;x-sipX-nonat SIP/2.0
Record-Route: <sip:172.20.2.210:5060;lr;sipXecs-rs=%2Aauth%7E.%2Afrom%7Ec3lzMHo3%21fc3ff349d0aaeec70567adb3177bd445>
From: <sip:sipXrls@172.20.2.210:53449>;tag=sys0z7
To: <sip:3006@172.20.2.49:5060;transport=tcp;x-sipX-nonat>
Call-Id: GdPYOOT6R54ec6
Cseq: 2 SUBSCRIBE
Contact: <sip:172.20.2.210:53449;transport=udp;x-sipX-nonat>
Event: dialog
Accept: application/dialog-info+xml
Expires: 3045
Date: Wed, 14 Dec 2016 18:11:25 GMT
Max-Forwards: 19
User-Agent: sipXecs/16.04 sipXecs/rls (Linux)
Accept-Language: en
Proxy-Authorization: Digest username="~~id~sipXrls", realm="uc.example.com.br", nonce="6146de822696d088cdd32df4698dfed658518b4d", uri="sip:3006@172.20.2.49:5060;transport=tcp;x-sipX-nonat", response="466f970275f2bdbefee1e2bfd6ff4fa2", cnonce="rnUpKe", qop=auth, nc=00000001
Via: SIP/2.0/TCP 172.20.2.210;branch=z9hG4bK-XX-5ec0TqATpo_`ml93KdP6BB7S1A
Via: SIP/2.0/UDP 172.20.2.210:53449;branch=z9hG4bK-XX-7bb4_WP9DFynM`lrRu0hFvsSKA
Content-Length: 0
___TRACE:___ Wed Dec 14 15:11:25 2016.652
SIP Signalling(1984): ./src/sg_engine.cpp:1958 EvOnPacketReceived(SUBSCRIBE)
___TRACE:___ Wed Dec 14 15:11:25 2016.652
SIP Signalling(1984): ./src/sg_engine.cpp:1979 EvOnPacketReceived() - packet does not match an existing dialog
___TRACE:___ Wed Dec 14 15:11:25 2016.652
SIP Signalling(1984): ./src/sgInfoObjMgmt.cpp:94 CreateInfoObj() - new RefId(458,1)/Event created, 3 InfoObj(s) in total
___TRACE:___ Wed Dec 14 15:11:25 2016.653
SIP Signalling(1984): ./src/sg_engine_not.cpp:1133 CreateSipContextForEvent() - InfoObj created, LineId(1), RefId(458)
___TRACE:___ Wed Dec 14 15:11:25 2016.654
SIP Signalling(1984): ./src/sg_engine.cpp:3495 AddUserAgentSvc() - No RemoteUri
___TRACE:___ Wed Dec 14 15:11:25 2016.655
SIP Signalling(1984): ./src/sg_engine.cpp:3520 AddUserAgentSvc() - Cv4(<sip:3006@172.20.2.49:5060;transport=tcp>)(1) Cv6((null))(0) T(<sip:3006@matrix.uc.example.com.br>) R(sip:3006@matrix.uc.example.com.br:5060;transport=tcp) F(<sip:3006@matrix.uc.example.com.br>)
___TRACE:___ Wed Dec 14 15:11:25 2016.655
SIP Signalling(1984): ./src/sg_engine_not.cpp:58 AddNotifierSvc() - pContext(0x9f2180) rstrEvent(dialog) uDefaultExpiration(3600)
___TRACE:___ Wed Dec 14 15:11:25 2016.656
SIP Signalling(1984): ./src/sg_engine_auth.cpp:46 AddDigestClientAuthSvc() SetLoopThreshold(3)
___TRACE:___ Wed Dec 14 15:11:25 2016.657
SIP Signalling(1984): ./src/sg_engine_not.cpp:574 EvSubscribed(ISipNotifierSvc)
___TRACE:___ Wed Dec 14 15:11:25 2016.657
SIP Signalling(1984): ./src/sg_engine_not.cpp:609 EvSubscribed() - NewSubscribeReceivedE(458,1,0xa044b0)
___TRACE:___ Wed Dec 14 15:11:25 2016.657
SIP Signalling(1984): ./src/SIPService.cpp:389 dispatchMsgToSignalling()
___TRACE:___ Wed Dec 14 15:11:25 2016.660
SIP Signalling(603): ./src/SIPService.cpp:720 sgParseIncomingMessage - event(112) state(2)
___TRACE:___ Wed Dec 14 15:11:25 2016.660
SIP Signalling(603): ./src/SIPService.cpp:1018 Engine->EventsService: sipNewSubscribeReceived
___TRACE:___ Wed Dec 14 15:11:25 2016.660
SIP Signalling(603): ./src/sg_events_service.cpp:2052 sgEvtNewSubscribeReceived() - Event(dialog) not supported for incoming SUBSCRIBE
___TRACE:___ Wed Dec 14 15:11:25 2016.660
SIP Signalling(603): ./src/sg_events_service.cpp:2058 EventsService->Engine: sgEvtNewSubscribeReceived()/SubscribeResponseA - RefId(458) Code(405) Reason(Method Not Allowed)
___TRACE:___ Wed Dec 14 15:11:25 2016.661
SIP Signalling(603): ./src/sg_events_service.cpp:2063 EventsService->Engine: sgEvtNewSubscribeReceived()/TerminateIncSubscriptionA - RefId(458) Reason(5)
___TRACE:___ Wed Dec 14 15:11:25 2016.661
SIP Signalling(1984): ./src/sg_engine.cpp:1513 EvMessageServiceMgrAwaken(0,27,0x8c8bd0)
___TRACE:___ Wed Dec 14 15:11:25 2016.661
SIP Signalling(1984): ./src/sg_engine_not.cpp:104 InternalSubscribeResponseA() - RefId(458) unLineId(1)
___TRACE:___ Wed Dec 14 15:11:25 2016.663
SIP Signalling(1984): ./src/sg_engine.cpp:1513 EvMessageServiceMgrAwaken(0,29,0x9f15f0)
___TRACE:___ Wed Dec 14 15:11:25 2016.663
SIP Signalling(1984): ./src/sg_engine_not.cpp:354 InternalTerminateIncSubscriptionA() - RefId(458), unLineId(255)
***ERROR:*** Wed Dec 14 15:11:25 2016.663
SIP Signalling(1984): ./src/sg_engine_not.cpp:515 InternalTerminateIncSubscriptionA() - NotifyFailureE(458,1,0x424a90), NOTIFY/terminate ERROR pClientTransaction((nil)) res(80000003)(FE:Invalid argument)
___TRACE:___ Wed Dec 14 15:11:25 2016.663
SIP Signalling(1984): ./src/SIPService.cpp:389 dispatchMsgToSignalling()
___TRACE:___ Wed Dec 14 15:11:25 2016.663
SIP Signalling(1984): ./src/sgInfoObj.cpp:291 SipDialogState - RefId(458) transition from(0) to(4)
___TRACE:___ Wed Dec 14 15:11:25 2016.664
SIP Signalling(1984): ./src/sg_engine_not.cpp:548 InternalTerminateIncSubscriptionA() - EventRemovedE(458,1)
___TRACE:___ Wed Dec 14 15:11:25 2016.664
SIP Signalling(1984): ./src/SIPService.cpp:389 dispatchMsgToSignalling()
___TRACE:___ Wed Dec 14 15:11:25 2016.664
SIP Signalling(1984): ./src/sgInfoObjMgmt.cpp:111 RemoveInfoObj() - RefId(458)/Event removed, 2 InfoObj(s) left
___TRACE:___ Wed Dec 14 15:11:25 2016.665
SIP Signalling(603): ./src/SIPService.cpp:720 sgParseIncomingMessage - event(117) state(2)
___TRACE:___ Wed Dec 14 15:11:25 2016.665
SIP Signalling(603): ./src/SIPService.cpp:1060 Engine->EventsService: sipNotifyFailure
___TRACE:___ Wed Dec 14 15:11:25 2016.665
SIP Signalling(603): ./src/sg_events_service.cpp:2442 sgEvtNotifyFailure() - no RecordObj for RefId(458)
___TRACE:___ Wed Dec 14 15:11:25 2016.665
SIP Signalling(603): ./src/sg_events_service.cpp:2445 EventsService->Engine: sgEvtNotifyFailure()/TerminateIncSubscriptionA - RefId(458) Reason(5)
___TRACE:___ Wed Dec 14 15:11:25 2016.665
SIP Signalling(603): ./src/SIPService.cpp:720 sgParseIncomingMessage - event(126) state(2)
___TRACE:___ Wed Dec 14 15:11:25 2016.665
SIP Signalling(603): ./src/SIPService.cpp:1124 Engine->EventsService: sipEventRemoved
___TRACE:___ Wed Dec 14 15:11:25 2016.665
SIP Signalling(603): ./src/sg_events_service.cpp:2732 sgEvtEventRemoved() - RecordObj(458) not available
___TRACE:___ Wed Dec 14 15:11:25 2016.666
SIP Signalling(1984): ./src/sg_engine.cpp:1513 EvMessageServiceMgrAwaken(0,29,0x9f15f0)
___TRACE:___ Wed Dec 14 15:11:25 2016.666
SIP Signalling(1984): ./src/sg_engine_not.cpp:354 InternalTerminateIncSubscriptionA() - RefId(458), unLineId(1)
___TRACE:___ Wed Dec 14 15:11:25 2016.666
SIP Signalling(1984): ./src/sg_engine_not.cpp:360 InternalTerminateIncSubscriptionA() - EventNotAvailableE(458,1), no InfoObj
___TRACE:___ Wed Dec 14 15:11:25 2016.666
SIP Signalling(1984): ./src/SIPService.cpp:389 dispatchMsgToSignalling()
___TRACE:___ Wed Dec 14 15:11:25 2016.667
SIP Signalling(603): ./src/SIPService.cpp:720 sgParseIncomingMessage - event(127) state(2)
___TRACE:___ Wed Dec 14 15:11:25 2016.667
SIP Signalling(603): ./src/SIPService.cpp:1130 Engine->EventsService: sipEventNotAvailable
___TRACE:___ Wed Dec 14 15:11:25 2016.668
SIP Signalling(1985): ./src/sg_engine.cpp:2722 EvPacketReceived(ISipTransportObserver) - REQ Method(SUBSCRIBE)
___TRACE:___ Wed Dec 14 15:11:25 2016.669
SIP Messages(1985): ./src/sgCSipPacketLog.cpp:110 :
Packet Out--->172.20.2.210
SIP/2.0 405 Method Not Allowed
Via: SIP/2.0/TCP 172.20.2.210;branch=z9hG4bK-XX-5ec0TqATpo_`ml93KdP6BB7S1A, SIP/2.0/UDP 172.20.2.210:53449;branch=z9hG4bK-XX-7bb4_WP9DFynM`lrRu0hFvsSKA
From: <sip:sipXrls@172.20.2.210:53449>;tag=sys0z7
To: <sip:3006@172.20.2.49:5060;transport=tcp;x-sipX-nonat>;tag=2827881096
Call-ID: GdPYOOT6R54ec6
CSeq: 2 SUBSCRIBE
Server: OpenStage_40_V3 R4.10.0 SIP 160728
Content-Length: 0
[/pre]
I was wondering if someone had any success using an OS40 running SIP firmware V3 R4.10.0 with BLF/Presence monitoring, not on a OSV environment.
I try to SUBSCRIBE to the phone but always got a response 405 Method Not Allowed, although I can subscribe to other vendors and see the BLF working, like Polycom for instance.
Is this the way it was designed to operate?
I have a small portion of a trace from the device itself pasted below, which shows a debug msg "Event(dialog) not supported for incoming SUBSCRIBE"
Is there maybe a specific SIP Firmware version that allows SUBSCRIBE to dialog events?
Thanks in advance.
-
MM
[pre] Packet In <---172.20.2.210
SUBSCRIBE sip:3006@172.20.2.49:5060;transport=tcp;x-sipX-nonat SIP/2.0
Record-Route: <sip:172.20.2.210:5060;lr;sipXecs-rs=%2Aauth%7E.%2Afrom%7Ec3lzMHo3%21fc3ff349d0aaeec70567adb3177bd445>
From: <sip:sipXrls@172.20.2.210:53449>;tag=sys0z7
To: <sip:3006@172.20.2.49:5060;transport=tcp;x-sipX-nonat>
Call-Id: GdPYOOT6R54ec6
Cseq: 2 SUBSCRIBE
Contact: <sip:172.20.2.210:53449;transport=udp;x-sipX-nonat>
Event: dialog
Accept: application/dialog-info+xml
Expires: 3045
Date: Wed, 14 Dec 2016 18:11:25 GMT
Max-Forwards: 19
User-Agent: sipXecs/16.04 sipXecs/rls (Linux)
Accept-Language: en
Proxy-Authorization: Digest username="~~id~sipXrls", realm="uc.example.com.br", nonce="6146de822696d088cdd32df4698dfed658518b4d", uri="sip:3006@172.20.2.49:5060;transport=tcp;x-sipX-nonat", response="466f970275f2bdbefee1e2bfd6ff4fa2", cnonce="rnUpKe", qop=auth, nc=00000001
Via: SIP/2.0/TCP 172.20.2.210;branch=z9hG4bK-XX-5ec0TqATpo_`ml93KdP6BB7S1A
Via: SIP/2.0/UDP 172.20.2.210:53449;branch=z9hG4bK-XX-7bb4_WP9DFynM`lrRu0hFvsSKA
Content-Length: 0
___TRACE:___ Wed Dec 14 15:11:25 2016.652
SIP Signalling(1984): ./src/sg_engine.cpp:1958 EvOnPacketReceived(SUBSCRIBE)
___TRACE:___ Wed Dec 14 15:11:25 2016.652
SIP Signalling(1984): ./src/sg_engine.cpp:1979 EvOnPacketReceived() - packet does not match an existing dialog
___TRACE:___ Wed Dec 14 15:11:25 2016.652
SIP Signalling(1984): ./src/sgInfoObjMgmt.cpp:94 CreateInfoObj() - new RefId(458,1)/Event created, 3 InfoObj(s) in total
___TRACE:___ Wed Dec 14 15:11:25 2016.653
SIP Signalling(1984): ./src/sg_engine_not.cpp:1133 CreateSipContextForEvent() - InfoObj created, LineId(1), RefId(458)
___TRACE:___ Wed Dec 14 15:11:25 2016.654
SIP Signalling(1984): ./src/sg_engine.cpp:3495 AddUserAgentSvc() - No RemoteUri
___TRACE:___ Wed Dec 14 15:11:25 2016.655
SIP Signalling(1984): ./src/sg_engine.cpp:3520 AddUserAgentSvc() - Cv4(<sip:3006@172.20.2.49:5060;transport=tcp>)(1) Cv6((null))(0) T(<sip:3006@matrix.uc.example.com.br>) R(sip:3006@matrix.uc.example.com.br:5060;transport=tcp) F(<sip:3006@matrix.uc.example.com.br>)
___TRACE:___ Wed Dec 14 15:11:25 2016.655
SIP Signalling(1984): ./src/sg_engine_not.cpp:58 AddNotifierSvc() - pContext(0x9f2180) rstrEvent(dialog) uDefaultExpiration(3600)
___TRACE:___ Wed Dec 14 15:11:25 2016.656
SIP Signalling(1984): ./src/sg_engine_auth.cpp:46 AddDigestClientAuthSvc() SetLoopThreshold(3)
___TRACE:___ Wed Dec 14 15:11:25 2016.657
SIP Signalling(1984): ./src/sg_engine_not.cpp:574 EvSubscribed(ISipNotifierSvc)
___TRACE:___ Wed Dec 14 15:11:25 2016.657
SIP Signalling(1984): ./src/sg_engine_not.cpp:609 EvSubscribed() - NewSubscribeReceivedE(458,1,0xa044b0)
___TRACE:___ Wed Dec 14 15:11:25 2016.657
SIP Signalling(1984): ./src/SIPService.cpp:389 dispatchMsgToSignalling()
___TRACE:___ Wed Dec 14 15:11:25 2016.660
SIP Signalling(603): ./src/SIPService.cpp:720 sgParseIncomingMessage - event(112) state(2)
___TRACE:___ Wed Dec 14 15:11:25 2016.660
SIP Signalling(603): ./src/SIPService.cpp:1018 Engine->EventsService: sipNewSubscribeReceived
___TRACE:___ Wed Dec 14 15:11:25 2016.660
SIP Signalling(603): ./src/sg_events_service.cpp:2052 sgEvtNewSubscribeReceived() - Event(dialog) not supported for incoming SUBSCRIBE
___TRACE:___ Wed Dec 14 15:11:25 2016.660
SIP Signalling(603): ./src/sg_events_service.cpp:2058 EventsService->Engine: sgEvtNewSubscribeReceived()/SubscribeResponseA - RefId(458) Code(405) Reason(Method Not Allowed)
___TRACE:___ Wed Dec 14 15:11:25 2016.661
SIP Signalling(603): ./src/sg_events_service.cpp:2063 EventsService->Engine: sgEvtNewSubscribeReceived()/TerminateIncSubscriptionA - RefId(458) Reason(5)
___TRACE:___ Wed Dec 14 15:11:25 2016.661
SIP Signalling(1984): ./src/sg_engine.cpp:1513 EvMessageServiceMgrAwaken(0,27,0x8c8bd0)
___TRACE:___ Wed Dec 14 15:11:25 2016.661
SIP Signalling(1984): ./src/sg_engine_not.cpp:104 InternalSubscribeResponseA() - RefId(458) unLineId(1)
___TRACE:___ Wed Dec 14 15:11:25 2016.663
SIP Signalling(1984): ./src/sg_engine.cpp:1513 EvMessageServiceMgrAwaken(0,29,0x9f15f0)
___TRACE:___ Wed Dec 14 15:11:25 2016.663
SIP Signalling(1984): ./src/sg_engine_not.cpp:354 InternalTerminateIncSubscriptionA() - RefId(458), unLineId(255)
***ERROR:*** Wed Dec 14 15:11:25 2016.663
SIP Signalling(1984): ./src/sg_engine_not.cpp:515 InternalTerminateIncSubscriptionA() - NotifyFailureE(458,1,0x424a90), NOTIFY/terminate ERROR pClientTransaction((nil)) res(80000003)(FE:Invalid argument)
___TRACE:___ Wed Dec 14 15:11:25 2016.663
SIP Signalling(1984): ./src/SIPService.cpp:389 dispatchMsgToSignalling()
___TRACE:___ Wed Dec 14 15:11:25 2016.663
SIP Signalling(1984): ./src/sgInfoObj.cpp:291 SipDialogState - RefId(458) transition from(0) to(4)
___TRACE:___ Wed Dec 14 15:11:25 2016.664
SIP Signalling(1984): ./src/sg_engine_not.cpp:548 InternalTerminateIncSubscriptionA() - EventRemovedE(458,1)
___TRACE:___ Wed Dec 14 15:11:25 2016.664
SIP Signalling(1984): ./src/SIPService.cpp:389 dispatchMsgToSignalling()
___TRACE:___ Wed Dec 14 15:11:25 2016.664
SIP Signalling(1984): ./src/sgInfoObjMgmt.cpp:111 RemoveInfoObj() - RefId(458)/Event removed, 2 InfoObj(s) left
___TRACE:___ Wed Dec 14 15:11:25 2016.665
SIP Signalling(603): ./src/SIPService.cpp:720 sgParseIncomingMessage - event(117) state(2)
___TRACE:___ Wed Dec 14 15:11:25 2016.665
SIP Signalling(603): ./src/SIPService.cpp:1060 Engine->EventsService: sipNotifyFailure
___TRACE:___ Wed Dec 14 15:11:25 2016.665
SIP Signalling(603): ./src/sg_events_service.cpp:2442 sgEvtNotifyFailure() - no RecordObj for RefId(458)
___TRACE:___ Wed Dec 14 15:11:25 2016.665
SIP Signalling(603): ./src/sg_events_service.cpp:2445 EventsService->Engine: sgEvtNotifyFailure()/TerminateIncSubscriptionA - RefId(458) Reason(5)
___TRACE:___ Wed Dec 14 15:11:25 2016.665
SIP Signalling(603): ./src/SIPService.cpp:720 sgParseIncomingMessage - event(126) state(2)
___TRACE:___ Wed Dec 14 15:11:25 2016.665
SIP Signalling(603): ./src/SIPService.cpp:1124 Engine->EventsService: sipEventRemoved
___TRACE:___ Wed Dec 14 15:11:25 2016.665
SIP Signalling(603): ./src/sg_events_service.cpp:2732 sgEvtEventRemoved() - RecordObj(458) not available
___TRACE:___ Wed Dec 14 15:11:25 2016.666
SIP Signalling(1984): ./src/sg_engine.cpp:1513 EvMessageServiceMgrAwaken(0,29,0x9f15f0)
___TRACE:___ Wed Dec 14 15:11:25 2016.666
SIP Signalling(1984): ./src/sg_engine_not.cpp:354 InternalTerminateIncSubscriptionA() - RefId(458), unLineId(1)
___TRACE:___ Wed Dec 14 15:11:25 2016.666
SIP Signalling(1984): ./src/sg_engine_not.cpp:360 InternalTerminateIncSubscriptionA() - EventNotAvailableE(458,1), no InfoObj
___TRACE:___ Wed Dec 14 15:11:25 2016.666
SIP Signalling(1984): ./src/SIPService.cpp:389 dispatchMsgToSignalling()
___TRACE:___ Wed Dec 14 15:11:25 2016.667
SIP Signalling(603): ./src/SIPService.cpp:720 sgParseIncomingMessage - event(127) state(2)
___TRACE:___ Wed Dec 14 15:11:25 2016.667
SIP Signalling(603): ./src/SIPService.cpp:1130 Engine->EventsService: sipEventNotAvailable
___TRACE:___ Wed Dec 14 15:11:25 2016.668
SIP Signalling(1985): ./src/sg_engine.cpp:2722 EvPacketReceived(ISipTransportObserver) - REQ Method(SUBSCRIBE)
___TRACE:___ Wed Dec 14 15:11:25 2016.669
SIP Messages(1985): ./src/sgCSipPacketLog.cpp:110 :
Packet Out--->172.20.2.210
SIP/2.0 405 Method Not Allowed
Via: SIP/2.0/TCP 172.20.2.210;branch=z9hG4bK-XX-5ec0TqATpo_`ml93KdP6BB7S1A, SIP/2.0/UDP 172.20.2.210:53449;branch=z9hG4bK-XX-7bb4_WP9DFynM`lrRu0hFvsSKA
From: <sip:sipXrls@172.20.2.210:53449>;tag=sys0z7
To: <sip:3006@172.20.2.49:5060;transport=tcp;x-sipX-nonat>;tag=2827881096
Call-ID: GdPYOOT6R54ec6
CSeq: 2 SUBSCRIBE
Server: OpenStage_40_V3 R4.10.0 SIP 160728
Content-Length: 0
[/pre]