refer
Добавлено: 26 окт 2022, 16:20
Добрый день! Подскажите пожалуйсто как отправить REFER сообщение такого типа через PJSIP:
REFER sip:0565522@10.243.0.130:5061;user=phone;transport=udp SIP/2.0
Via: SIP/2.0/UDP 10.99.103.60:5060;branch=z9hG4bK658c9d9d
Max-Forwards: 70
From: <sip:asterisk@10.99.103.60>;tag=as4fa07b21
To: <sip:0565522@10.243.0.130:5061;user=phone;transport=udp>
Contact: <sip:asterisk@10.99.103.60:5060>
Call-ID: 423323ac1495129e2da42827295c0b89@10.99.103.60:5060
CSeq: 101 REFER
User-Agent: PBX
Date: Wed, 26 Oct 2022 10:18:02 GMT
Require: norefersub
Refer-To: cid:0bfcf029
Content-Id: 0bfcf029
Content-Type: application/x-cisco-remotecc-request+xml
Expires: 0
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces,timer,X-cisco-sis-7.0.0
Content-Length: 172
<x-cisco-remotecc-request>
<cfwdallupdate>
<linenumber>1</linenumber>
<fwdaddress></fwdaddress>
<tovoicemail>off</tovoicemail>
</cfwdallupdate>
</x-cisco-remotecc-request>