Hi Benny, Thanks for you help in advance. Sorry for the unclear information I provided before. (1) The event ID does exist at out dialog SUBSCRIBEs only. I'm not sure if this is a problem for the scenario we mentioned before. All the trouble I said before was in dialog KPML and REFER. (2) The code flow that what I seen was a. In dialog KPML was received. evsub0x1003d1a UAS subscription created, using dialog dlg0x10039eb4 b. dlgsub belongs this KPML was allocated by evsub_create() ==== [on_new_transaction()] Subscription lookup info dlg=0x10039eb4 dlgsub=0x1003d564 -----------> Here I dumped the dlgsub instance at on_new_transaction() c. User transfer the call evsub0x1003ae8 UAC subscription created, using dialog dlg0x10039eb4 d. A brend new dlgsub was create for this REFER also by evsub_create() ===== [on_new_transaction()] Subscription lookup info dlg=0x10039eb4 dlgsub=0x1004f9f8 -----------> Here I dumped the dlgsub instance at on_new_transaction() I don't see the 2nd dlgsub (REFER) attached to the 1st dlgsub (KPML). ??? e. Receive the expires=0 KPML packet ====== [on_new_transaction()] Subscription lookup info dlg=0x10039eb4 dlgsub=0x1004f9f8 ------------> The dlgsub list contain the REFER method only. Subscription Does Not Exist for SUBSCRIBE, event=kpml;id= Please give me more insight regard this, thanks for your help in advance. Best Regards! The roughly packet header FYI.. SUBSCRIBE sip:216756d7-e7a8-4ee9-bf88-80d36ce680b2 at 192.168.164.88:2048;transport=TCP;x-device=dev00 SIP/2.0 Date: Tue, 12 Jan 2010 18:59:19 GMT From: sip:1@192.168.164.243;tag=438a4f45-ba20-4b13-bdaf-683a3b596e9f-19842689 Event: kpml Content-Length: 370 User-Agent: To: <sip:1107 at 192.168.164.243>;tag=7e9c8f51-339c-4f42-a3c4-77ac83997c7e Contact: <sip:192.168.164.243:5060;transport=tcp> Expires: 7200 Content-Type: application/kpml-request+xml Call-ID: c95d6f5d-2159-41a8-919c-f64fce5af63d Accept: application/kpml-response+xml Via: SIP/2.0/TCP 192.168.164.243:5060;branch=z9hG4bK798657aa4fe2 CSeq: 101 SUBSCRIBE Max-Forwards: 70 ================================================================================================================================================ REFER sip:1 at 192.168.164.243:5060;transport=tcp SIP/2.0 Via: SIP/2.0/tcp 192.168.164.88:2048;rport;branch=z9hG4bKPjc0a7fe14-bdb2-4720-a309-8117391e5d89 Max-Forwards: 70 From: <sip:1107@192.168.164.243>;tag=7e9c8f51-339c-4f42-a3c4-77ac83997c7e To: sip:1 at 192.168.164.243;tag=438a4f45-ba20-4b13-bdaf-683a3b596e9f-19842689 Contact: <sip:216756d7-e7a8-4ee9-bf88-80d36ce680b2 at 192.168.164.88:2048;transport=TCP;x-device=dev00>;+sip.instance="<urn:uuid:00000000-0000-0000-0000-00e0a66658c5>";+u.sip!devicename.ccm="ATA00E0A66658C5";+u.sip!model.com="550" Call-ID: c95d6f5d-2159-41a8-919c-f64fce5af63d CSeq: 5589 REFER Event: refer; Expires: 600 _________________________________________________________________ ??? Windows 7??????????????? http://windows.microsoft.com/shop -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20100114/041ae097/attachment.html>