- Joined
- Apr 5, 2019
- Messages
- 1
- Reaction score
- 0
I'm trying to link our 3CX installation to an unsupported SIP provider (Zadarma). I would like to use a single trunk for multiple incoming numbers, and I can see in their Invite messages that there is a header "CALLED_DID" which contains the number - however the To: field contains their extension number I'm connecting to.
I can't figure out if there's a combination of settings in the Inbound Parameters page which will let me take the value from a custom header and use it as the CalledNum param, so that I can then assign all the numbers we have and manage them solely in 3CX with Inbound Rules.
The only place on Inbound Parameters where I can specify a custom header is in the bottom field under Call Source Identification and I don't think this is the right place. Any suggestions or indications whether what I want is possible to achieve?
I can't figure out if there's a combination of settings in the Inbound Parameters page which will let me take the value from a custom header and use it as the CalledNum param, so that I can then assign all the numbers we have and manage them solely in 3CX with Inbound Rules.
25/06/2020 10:52:43 - [CM500002]: Call(C:2422): Info on incoming INVITE from Line:10012<<+44xxxxxxxxxx:
Invite-IN Recv Req INVITE from 185.45.152.164:5060 tid=3389.a68ebcad0c40a0736c59001964dbaeff.0 [email protected]:5060:
INVITE sip:xxxxxx-102@MY3CXIP:5060;rinstance=xxxxxxxxxxxxxxxx SIP/2.0
Via: SIP/2.0/UDP 185.45.152.164;branch=z9hG4bK3389.a68ebcad0c40a0736c59001964dbaeff.0
Via: SIP/2.0/UDP 185.45.152.206:5060;rport=5060;branch=z9hG4bK6e6f0fe4
Max-Forwards: 69
Record-Route: <sip:185.45.152.164;lr=on;ftag=as3cdd7bb6;nat=yes>
Contact: <sip:[email protected]:5060>
To: <sip:[email protected]>
From: "+44xxxxxxxxxx" <sip:[email protected]>;tag=as3cdd7bb6
Call-ID: [email protected]:5060
CSeq: 102 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Content-Type: application/sdp
Date: Thu, 25 Jun 2020 09:52:43 GMT
Supported: replaces
User-Agent: Zadarma PBXv2
CALLED_DID: 44xxxxxxxxxx
Content-Length: 416
The only place on Inbound Parameters where I can specify a custom header is in the bottom field under Call Source Identification and I don't think this is the right place. Any suggestions or indications whether what I want is possible to achieve?