hi all, I updated my PJLIB with SVN today,after build,I get the pjsua_lib_wince.lib successfully.But when I use this lib in my project,I got a big problem.I found the NOTIFY sent all the time,it can not stop even I closed my project,and my ppc's memory reduced fastly. I copy some messages as follows,I don't know since the subscription state has changed to TERMINATED in the first NOTIFY,why the second NOTIFY would be sent all the time,it is strange: 14:15:50.000 tsx003007C4 State changed from Null to Calling, event=TX_MSG 14:15:50.000 dlg002F33D4 Transaction tsx003007C4 state changed to Calling 14:15:50.000 evsub002B3420 Subscription state changed ACTIVE --> TERMINATED 14:15:50.000 pjsua_pres.c Server subscription to sip:90000209 at crcsip.com is TERMINATED 14:15:50.000 endpoint Request msg NOTIFY/cseq=30110 (tdta002E8AE0) created. 14:15:50.000 dlg002F33D4 Sending Request msg NOTIFY/cseq=30110 (tdta002E8AE0) 14:15:50.000 tsx002E9B54 Transaction created for Request msg NOTIFY/cseq=30109 (tdta002E8AE0) 14:15:50.000 tsx002E9B54 Sending Request msg NOTIFY/cseq=30109 (tdta002E8AE0) in state Null 14:15:50.000 sip_resolve.c Target '222.33.42.226:6058' type=Unspecified resolved to '222.33.42.226:6058' type=UDP (UDP transport) 14:15:50.000 pjsua_core.c TX 829 bytes Request msg NOTIFY/cseq=30109 (tdta002E8AE0) to UDP 222.33.42.226:6058: NOTIFY sip:90000209 at 192.168.139.121:5456 SIP/2.0 Via: SIP/2.0/UDP 169.254.2.1:5060;rport;branch=z9hG4bKPj45qR.GmjMvas7eZD2pKLShFsZDH06vbh Max-Forwards: 70 From: <sip:90000210@xxxxxxxxxx>;tag=ReB8oYooJ3wZexkKifQz.VuYoB3aAI7u To: "90000209" <sip:90000209 at crcsip.com>;tag=58166058 Contact: <sip:90000210 at 169.254.2.1:5060> Call-ID: OWQxNzQyN2YzODZiYjYxODhkMmQwNzFmNGJkNjFlMzc. CSeq: 30109 NOTIFY Route: <sip:222.33.42.226:6058;lr> Event: presence Subscription-State: terminated;reason=noresource Allow-Events: presence, refer Content-Type: application/pidf+xml Content-Length: 234 <?xml version="1.0" encoding="UTF-8"?> <presence entity="sip:90000210 at crcsip.com" xmlns="urn:ietf:params:xml:ns:pidf"> <tuple id="mshxjZi9YwXZBjTCBus0jdo4-WrYfm8m"> <status> <basic>open</basic> </status> </tuple> </presence> --end msg-- 14:15:50.000 tsx002E9B54 State changed from Null to Calling, event=TX_MSG 14:15:50.000 dlg002F33D4 Transaction tsx002E9B54 state changed to Calling 14:15:50.000 evsub002B3420 Subscription state changed TERMINATED --> TERMINATED 14:15:50.000 endpoint Request msg NOTIFY/cseq=30111 (tdta00302ED0) created. 14:15:50.000 dlg002F33D4 Sending Request msg NOTIFY/cseq=30111 (tdta00302ED0) 14:15:50.000 tsx002EA364 Transaction created for Request msg NOTIFY/cseq=30110 (tdta00302ED0) 14:15:50.000 tsx002EA364 Sending Request msg NOTIFY/cseq=30110 (tdta00302ED0) in state Null 14:15:50.000 sip_resolve.c Target '222.33.42.226:6058' type=Unspecified resolved to '222.33.42.226:6058' type=UDP (UDP transport) 14:15:50.000 pjsua_core.c TX 829 bytes Request msg NOTIFY/cseq=30110 (tdta00302ED0) to UDP 222.33.42.226:6058: NOTIFY sip:90000209 at 192.168.139.121:5456 SIP/2.0 Via: SIP/2.0/UDP 169.254.2.1:5060;rport;branch=z9hG4bKPjpVwXx54O3s-Sp-5OaOCWNoUh5MYjohdS Max-Forwards: 70 From: <sip:90000210@xxxxxxxxxx>;tag=ReB8oYooJ3wZexkKifQz.VuYoB3aAI7u To: "90000209" <sip:90000209 at crcsip.com>;tag=58166058 Contact: <sip:90000210 at 169.254.2.1:5060> Call-ID: OWQxNzQyN2YzODZiYjYxODhkMmQwNzFmNGJkNjFlMzc. CSeq: 30110 NOTIFY Route: <sip:222.33.42.226:6058;lr> Event: presence Subscription-State: terminated;reason=noresource Allow-Events: presence, refer Content-Type: application/pidf+xml Content-Length: 234 <?xml version="1.0" encoding="UTF-8"?> <presence entity="sip:90000210 at crcsip.com" xmlns="urn:ietf:params:xml:ns:pidf"> <tuple id="mshxjZi9YwXZBjTCBus0jdo4-WrYfm8m"> <status> <basic>open</basic> </status> </tuple> </presence> --end msg-- . . . . Thanks! 2008-04-18 liang -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080418/15a29ccd/attachment.html