need help to send offline presence info
Hi sip user A has its contact (sip user 1005), when sip user 1005 reach expired time, freeswitch send NOTIFY message to sip user A How do i config freeswitch send same NOTIFY message to sip user A when sip user 1005 send register message with expired time = 0(unregister) U 42.117.9.12:5060 -> 42.117.9.14:5060 NOTIFY sip:1004@42.117.9.14:5060;transport=udp;registering_acc=42_117_9_12 SIP/2.0. Via: SIP/2.0/UDP 42.117.9.12;rport;branch=z9hG4bKQm5F9gDa5y4ga. Max-Forwards: 70. From: <sip:1005@42.117.9.12>;tag=veeparLOVMgh. To: "1004" <sip:1004@42.117.9.12>;tag=c206df20. Call-ID: e784afc92c3b4927bcc4c7405f89fad1@0:0:0:0:0:0:0:0. CSeq: 573273074 NOTIFY. Contact: <sip:1005@42.117.9.12:5060 ;transport=udp;registering_acc=42_117_9_12>. User-Agent: FreeSWITCH-mod_sofia/1.2.9. Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE. Supported: timer, precondition, path, replaces. Event: presence. Allow-Events: talk, hold, conference, presence, dialog, line-seize, call-info, sla, include-session-description, pesence.winfo, message-summary, refer. Subscription-State: active;expires=2945. Content-Type: application/pidf+xml. Content-Length: 435. . <?xml version="1.0" encoding="ISO-8859-1"?> <presence xmlns='urn:ietf:params:xml:ns:pidf' xmlns:dm='urn:ietf:params:xml:ns:pidf:data-model' xmlns:rpid='urn:ietf:params:xml:ns:pidf:rpid' xmlns:c='urn:ietf:params:xml:ns:pidf:cipid' entity='sip:1005@42.117.9.12'> <tuple id='t6a5ed77e'> <status>. <basic>closed</basic> </status> </tuple> <dm:person id='p06360c4a'> <dm:note>Unregistered</dm:note> </dm:person> </presence> # U 42.117.9.14:5060 -> 42.117.9.12:5060 SIP/2.0 200 OK. To: "1004" <sip:1004@42.117.9.12>;tag=c206df20. Via: SIP/2.0/UDP 42.117.9.12;rport=5060;branch=z9hG4bKQm5F9gDa5y4ga;received=42.117.9.12. CSeq: 573273074 NOTIFY. Call-ID: e784afc92c3b4927bcc4c7405f89fad1@0:0:0:0:0:0:0:0. From: <sip:1005@42.117.9.12>;tag=veeparLOVMgh. Contact: "1004" <sip:1004@42.117.9.14:5060 ;transport=udp;registering_acc=42_117_9_12>. User-Agent: Jitsi1.0-build.3967Windows Server 2008. Content-Length: 0. . Thank you Ha`
participants (1)
-
Do Nguyen Ha