Пробовал на asterisk 13.22.0 и 16.24.0
Смотрел пакеты, заголовок отсутсвует
Invite на номер 1998:
Код: Выделить всё
<--- History Entry 0 Received from 172.18.62.66:51396 at 1665623565 --->
INVITE sip:1998@172.18.0.28:5060 SIP/2.0
Via: SIP/2.0/UDP 172.18.62.66:5060;received=172.18.62.66;branch=z9hG4bK228116AE
From: <sip:101145@172.18.62.66>;tag=ECCD26CC-185B
To: <sip:1998@172.18.0.28>
Date: Thu, 13 Oct 2022 02:07:14 GMT
Call-ID: 974C39D6-49D211ED-A4FA8560-84150CAE@172.18.62.66
Supported: 100rel, timer, replaces
Min-SE: 1800
Cisco-Guid: 2538155279-1238503917-2406285346-2416707040
User-Agent: Cisco-SIPGateway/IOS-12.x
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, COMET, REFER, SUBSCRIBE, NOTIFY, INFO, UPDATE, REGISTER
CSeq: 101 INVITE
Max-Forwards: 70
Remote-Party-ID: <sip:101145@172.18.62.66>;party=calling;screen=no;privacy=off
Timestamp: 1665626834
Contact: <sip:101145@172.18.62.66:5060>
Expires: 180
Allow-Events: telephone-event
Content-Type: application/sdp
Content-Length: 374
Content-Type: application/sdp
Content-Length: 374
v=0
o=CiscoSystemsSIP-GW-UserAgent 3166 3136 IN IP4 172.18.62.66
s=SIP Call
c=IN IP4 172.18.62.66
t=0 0
m=audio 18564 RTP/AVP 18 4 8 0 101 19
c=IN IP4 172.18.62.66
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:4 G723/8000
a=fmtp:4 annexa=no
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=rtpmap:19 CN/8000
Invite на номер 1999:
здесь по моей логике должен появиться заголовок X-Room-Name: newroom1
Код: Выделить всё
<--- History Entry 2 Sent to 172.18.0.239:5060 at 1665623565 --->
INVITE sip:1999@172.18.0.239:5060;registering_acc=172_18_0_28 SIP/2.0
Via: SIP/2.0/UDP 172.18.0.28:5060;rport;branch=z9hG4bKPjd17a1f91-4bcd-4335-bbeb-f9f169461be2
From: <sip:101145@172.18.0.28>;tag=da560a84-62b5-419b-8403-a98517fd7010
To: <sip:1999@172.18.0.239;registering_acc=172_18_0_28>
Contact: <sip:asterisk@172.18.0.28:5060>
Call-ID: 2390a395-5ea6-4d6d-879e-a5b8116352cc
CSeq: 28989 INVITE
Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, MESSAGE, REFER
Supported: 100rel, timer, replaces, norefersub
Session-Expires: 1800
Min-SE: 90
P-Asserted-Identity: <sip:101145@172.18.0.28>
Max-Forwards: 70
User-Agent: FPBX-14.0.16.11(13.22.0)
Content-Type: application/sdp
Content-Length: 281
v=0
o=- 1402841129 1402841129 IN IP4 172.18.0.28
s=Asterisk
c=IN IP4 172.18.0.28
t=0 0
m=audio 13428 RTP/AVP 0 8 3 111 9
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:3 GSM/8000
a=rtpmap:111 G726-32/8000
a=rtpmap:9 G722/8000
a=ptime:20
a=maxptime:150
a=sendrecv