Hello, i used sipsak to send the NOTIFY message:
sipsak -H 192.168.10.1 -f sip.txt -s sip:192.168.10.11 -vvvvv
asterisk listens on 192.168.10.1 and the phone with MWI is the 192.168.10.11
i send a couple of different messages to the phone but i always get back:
received ICMP packet (type: 3, code: 3): from 192.168.10.11
When reading out the log of the phone with ethereal i see something like:
type 3: destination unreachable
code 3: port unreachable
after that, the whole SIP messages gets repeated inside the ICMP packet
Any idea?
Christian
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:[EMAIL PROTECTED] SIP/2.0
From: <sip:[EMAIL PROTECTED]>;tag=2427962554
To: <sip:[EMAIL PROTECTED]>
Call-ID: [EMAIL PROTECTED]
CSeq: 101 NOTIFY
Contact: <sip:[EMAIL PROTECTED]: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
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users