是否可以通过编程方式创建 SIP 数据包并将其发送到已注册的 SIP 设备?我想发送一条 SIP 通知消息,如下所示:
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)
我想使用 Perl 将此信息发送到 SIP 设备。我是 SIP 世界的新手,所以我的问题可能听起来模棱两可。但是,我们将非常感谢您对此的任何帮助。
谢谢你。