[Asterisk-Users] SIP NOTIFY message

Steve Blair blairs at isc.upenn.edu
Thu Jun 30 03:36:10 MST 2005




Leon Sun wrote:

>Hi, All
>
>I would like to send SIP "NOTIFY" to SIP UA from Asterisk. Is it possible?
>
>I appreciate if you can provide detail sample of message header.
>
>  
>
To turn on MWI using an unsolicited NOTIFY you could use the following with
sipsak Replace the word 'yes' with 'no' to turn the lamp off..

NOTIFY sip:$replace$@bigcompany.com SIP/2.0
From: <sip:voicebox at asterisk-box.bigcompany.com>;tag=2427962554
To: <sip:$replace$@bigcompany.com>
Call-ID: 1403239680@$srchost$
CSeq: 101 NOTIFY
Contact: <sip:$user$@$srchost$:5060>
User-Agent: sipsak voicebox
Event: simple-message-summary
Content-Type: application/simple-message-summary
Content-Length: 22

Messages-Waiting: yes

-Steve

>Regards
>
>
>Leon Sun
>
>
>_______________________________________________
>Asterisk-Users mailing list
>Asterisk-Users at lists.digium.com
>http://lists.digium.com/mailman/listinfo/asterisk-users
>To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>  
>

-- 
  
ISC Network Engineering
The University of Pennsylvania
3401 Walnut Street, Suite 221A
Philadelphia, PA 19104  


voice: 215-573-8396 

       215-746-8001

fax: 215-898-9348    

sip:blairs at upenn.edu




More information about the asterisk-users mailing list