Hi everyone,
We continue our test with Asterisk. We try to activate BLF on our IP Phones.
When IP Phone n°229 calls n°224, we can read logs in the Reception IP Phone n°221 (CP-8851) as following :
1840 DEB Sep 06 13:07:06.405370 (722:851) JAVA-sipio-recv<--- NOTIFY sip:o13i2k7a@192.168.41.100:5060;transport=udp SIP/2.0^M
Via: SIP/2.0/UDP 192.168.41.5:5060;branch=z9hG4bK234cbbcd^M
Max-Forwards: 70^M
From: <sip:224@wazo>;tag=as32841e96^M
To: <sip:o13i2k7a@192.168.41.100>;tag=ec1d8bbbfc6c000632f3e17a-6595b5d6^M
Contact: <sip:224@192.168.41.5:5060>^M
Call-ID: ec1d8bbb-fc6c0005-4ea21bca-035b6fec@192.168.41.100^M
CSeq: 736 NOTIFY^M
User-Agent: Wazo PBX^M
Subscription-State: active^M
Event: presence^M
Content-Type: application/cpim-pidf+xml^M
Content-Length: 340^M
^M
<?xml version="1.0"?>
<!DOCTYPE presence PUBLIC "-//IETF//DTD RFCxxxx XPIDF 1.0//EN" "xpidf.dtd">
<presence>
<presentity uri="sip:o13i2k7a@192.168.41.100;method=SUBSCRIBE" />
<atom id="224">
<address uri="sip:224@wazo;user=ip" priority="0.800000">
<status status="open" />
<msnsubstatus substatus="online" />
</address>
</atom>
</presence>
1841 DEB Sep 06 13:07:06.405392 (722:851) JAVA-::End-Of-Sip-Message::
1842 NOT Sep 06 13:07:06.405565 (722:851) JAVA-SIPCC-SIP_MSG_RECV: ccsip_dump_recv_msg_info: <192.168.41.5:0 >:NOTIFY : <sip:224@wazo>;tag=as32841e96 :736 NOTIFY::ec1d8bbb-fc6c0005-4ea21bca-035b6fec@192.168.41.100
1843 DEB Sep 06 13:07:06.405807 (722:851) JAVA-SIPCC-SIP_CONTENT_TYPE: sipSPICheckContentHeaders: Pass-through "application/cpim-pidf+xml"
1844 DEB Sep 06 13:07:06.406096 (722:851) JAVA-SIPCC-SIP_SESSION_ID: sipGetSessionId: Remote Session ID: (null)
1845 ERR Sep 06 13:07:06.406176 (722:854) JAVA-SUBMGR : notify_ind_cb : NOTIFY does not contain presence body
1846 NOT Sep 06 13:07:06.406228 (722:854) JAVA-SIPCC-BLF_INFO: notify_ind_cb: SUB 1: BLF 0
1847 DEB Sep 06 13:07:06.406275 (722:850) JAVA-SIPCC-SIP_CC_PROV: ccsnap_gen_blfFeatureEvent: button=8 : contact= : featureOptionMask=0 : feature_id=21 : name=
1848 DEB Sep 06 13:07:06.406296 (722:850) JAVA-SIPCC-SIP_CC_PROV: ccsnap_gen_blfFeatureEvent: retrievalPrefix= : speedDialNumber=224 speedDialIndex=0
1849 DEB Sep 06 13:07:06.406310 (722:850) JAVA-SIPCC-SIP_CC_PROV: ccsnap_gen_blfFeatureEvent: blf_state=0
1850 NOT Sep 06 13:07:06.406430 (722:850) JAVA-Thread-5|cip.sipcc.SubscriptionHandler:NotifyStatus - The BLF state has not changed
1851 DEB Sep 06 13:07:06.406535 (722:851) JAVA-SIPCC-MSG_SEND_RESP: sipSPISendSubscribeNotifyResponse: Sending response 200...
1852 DEB Sep 06 13:07:06.407179 (722:851) JAVA-edge_send_get: Length of data read from edge_gateway 64
1853 DEB Sep 06 13:07:06.407246 (722:851) JAVA-SIPCC-SIP_SESSION_ID: sipAddSessionIdHeader: tracking ID: 8851_49c1c196-0010-5000-a000-ec1d8bbbfc6c
1854 DEB Sep 06 13:07:06.407268 (722:851) JAVA-SIPCC-SIP_SESSION_ID: sipAddSessionIdHeader: local_uuid: 49c1c19600105000a000ec1d8bbbfc6c remote_uuid:
1855 DEB Sep 06 13:07:06.407331 (722:851) JAVA-SIPCC-SIP_SUB: sm_add_contact: adding device name [SEPEC1D8BBBFC6C] to contact header
1856 DEB Sep 06 13:07:06.407364 (722:851) JAVA-SIP : sipSPISendSubscribeNotifyResponse : Via host: 192.168.41.5, port: 5060, rcvd host: (null)
1857 DEB Sep 06 13:07:06.407425 (722:851) JAVA-SIPCC-SIP_STORE: sipRelDevCoupledMessageStore: Storing for reTx (cseq=734, method=NOTIFY, to_tag=<ec1d8bbbfc6c000504f2c04d-759ee8b2>)
1858 DEB Sep 06 13:07:06.407504 (722:851) JAVA-SIP : sipTransportCreateSendMessage : sippmh_write() with message size=[546]
1859 NOT Sep 06 13:07:06.407541 (722:851) JAVA-SIPCC-SIP_MSG_SEND: ccsip_dump_send_msg_info: <192.168.41.5:5060>:200 OK^M: <sip:o13i2k7a@192.168.41.100>;tag=ec1d8bbbfc6c000504f2c04d-759ee8b2 :734 NOTIFY::ec1d8bbb-fc6c0004-1caa5ab8-31ff79a1@192.168.41.100
Could you help me to change the state of BLF ?
I don't know if the problem is on the IP Phone or in the Asterisk Server...
Thanks in advance for your help.
J0hannesR
---------------------