I have a problem with Re-INVITE in issabel with asterisk11 11.25.3 3.el7.centos.
I have the parameter sendrpid = yes in SIP TRUNK.
(I have to do this to correctly transmit the number presentations to my service provider from the "Outbound CID" field in issabel extensions.)
Incoming calls routed directly to the extension do not cause a problem.
However, when the call is directed first to the Announcement or IVR and then to a specific internal number, issabel begins to send to the service provider re-invite, which annoys him terribly :-).
When I turn off the sendrpid in SIP-TRUNK, everything is ok, there is no re-invite but I do not have the correct number presentation :-(.
This INVITE has really changed numbers in the FROM - To field
this is how the first INVITE arrives :
INVITE sip:410000000@xxx.xxx.xxx.xxx:5060 SIP/2.0
Record-Route: <sip:xxx.xxx.xx.xxx;lr;ftag=as02eda0cf>
Via: SIP/2.0/UDP xxx.xxx.xx.xxx;branch=z9hG4bK2b1a.beb80164.0
Via: SIP/2.0/UDP xxx.xxx.xx.xxx:5090;branch=z9hG4bK67263d21;rport=5090
Max-Forwards: 69
To: "410000000" <sip:410000000@xxx.xxx.xx.xxx>
From: "777777777" <sip:777777777@xxx.xxx.xx.xxx:5090>;tag=as02eda0cf
Contact: <sip:777777777@xxx.xxx.xx.xxx:5090>
Call-ID: 01cd384714c485de5a2f57df3c6a4fbf@195.162.16.203:5090
CSeq: 102 INVITE
User-Agent: HiperusC5
Date: Tue, 13 Nov 2018 12:13:59 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Remote-Party-ID: "7777777777" <sip:777777777@xxx.xxx.xx.xxx>;party=calling;privacy=off;screen=no
Content-Type: application/sdp
Content-Length: 473
and so re-invite:
INVITE sip:777777777@xxx.xxx.xx.xxx:5090 SIP/2.0
Via: SIP/2.0/UDP xxx.xxx.xxx.xxx:5060;branch=z9hG4bK4ca0ab9e;rport
Route: <sip:xxx.xxxx.xx.xxx;lr;ftag=as02eda0cf>
Max-Forwards: 70
From: "410000000" <sip:410000000@xxx.xxx.xx.xxx>;tag=as26965c8a
To: "777777777" <sip:777777777@xxx.xxx.xx.xxx:5090>;tag=as02eda0cf
Contact: <sip:410000000@xxx.xxx.xxx.xxx:5060>
Call-ID: 01cd384714c485de5a2f57df3c6a4fbf@xxx.xxx.xx.xxx:5090
CSeq: 102 INVITE
User-Agent: FPBX-2.11.0.47(11.25.3)
Session-Expires: 1800;refresher=uac
Min-SE: 90
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
P-Asserted-Identity: "Daniel" <sip:12@xxx.xxx.xx.xxx>
Content-Type: application/sdp
Content-Length: 314