Is it possible to create and send a SIP packets programmatically to a registered SIP device ? I would like to send a SIP notify message, something like shown below:
NOTIFY sip:alice@alice-phone.example.com SIP/2.0
To: <sip:alice@example.com>;tag=78923
From: <sip:alice@example.com>;tag=4442
Date: Mon, 10 Jul 2000 04:28:53 GMT
Contact: <sip:alice@vmail.example.com>
Call-ID: 1349882@alice-phone.example.com
CSeq: 31 NOTIFY
Event: message-summary
Subscription-State: active
Content-Type: application/simple-message-summary
Content-Length: 503
Messages-Waiting: yes
Message-Account: sip:alice@vmail.example.com
Voice-Message: 4/8 (1/2)
I would like to use Perl for sending this information to a SIP device. I am new to the SIP world, so my question might sound ambiguous . But any help on the same would be really appreciated.
Thank You.