- Joined
- Mar 20, 2023
- Messages
- 6
- Reaction score
- 0
Hi,
We have a problem with SIP Trunking. We have configured 3CX SIP Trunk to our Custom SIP Server. We are providing IVR/Voicemail services.
Our problem : if an extension configured like "if no answer forward it to XXXX" and XXXX our SIP Service Port via SIP Trunk. In this scenario we are gettting INVITE message but there is no diversion or history header. So we dont know forwared extension.
Example : 1002 calls 2101. Extension 2101 has a config redirect it to 6200 if user dont answer after 10 secs. (6200 forwards call to our SIP Service via Trunk.)
INVITE message we get:
INVITE sip:[email protected]:5060;transport=TCP SIP/2.0
Via: SIP/2.0/TCP 10.1.2.242:5060;branch=z9hG4bK-524287-1---44669632a913c045;rport
Max-Forwards: 70
Contact: <sip:[email protected]:5060;transport=TCP>
To: <sip:[email protected]:5060;transport=TCP>
From: "Mustafa Yamakzade"<sip:[email protected]:5060;transport=TCP>;tag=684fd128
Call-ID: zln3wBoj9Btl-lY_sBF9hw..
CSeq: 1 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REGISTER, SUBSCRIBE, NOTIFY, REFER, INFO, MESSAGE, UPDATE
Content-Type: application/sdp
Supported: replaces, timer
User-Agent: 3CXPhoneSystem 18.0.5.418 (418)
P-Asserted-Identity: <sip:[email protected]:5060>
P-Preferred-Identity: <sip:[email protected]:5060>
P-Called-Party-ID: "1002"<sip:[email protected]:5060>
Remote-Party-ID: "1002"<sip:[email protected]:5060>;party=calling
Remote-Party-ID: <sip:[email protected]:5060>;party=called
Content-Length: 274
As you see there is “Diversion” header. If there is no Diversion header there should be a way we can get forwarded extension when user no answer.
Can you please help me ?
Regards.
We have a problem with SIP Trunking. We have configured 3CX SIP Trunk to our Custom SIP Server. We are providing IVR/Voicemail services.
Our problem : if an extension configured like "if no answer forward it to XXXX" and XXXX our SIP Service Port via SIP Trunk. In this scenario we are gettting INVITE message but there is no diversion or history header. So we dont know forwared extension.
Example : 1002 calls 2101. Extension 2101 has a config redirect it to 6200 if user dont answer after 10 secs. (6200 forwards call to our SIP Service via Trunk.)
INVITE message we get:
INVITE sip:[email protected]:5060;transport=TCP SIP/2.0
Via: SIP/2.0/TCP 10.1.2.242:5060;branch=z9hG4bK-524287-1---44669632a913c045;rport
Max-Forwards: 70
Contact: <sip:[email protected]:5060;transport=TCP>
To: <sip:[email protected]:5060;transport=TCP>
From: "Mustafa Yamakzade"<sip:[email protected]:5060;transport=TCP>;tag=684fd128
Call-ID: zln3wBoj9Btl-lY_sBF9hw..
CSeq: 1 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REGISTER, SUBSCRIBE, NOTIFY, REFER, INFO, MESSAGE, UPDATE
Content-Type: application/sdp
Supported: replaces, timer
User-Agent: 3CXPhoneSystem 18.0.5.418 (418)
P-Asserted-Identity: <sip:[email protected]:5060>
P-Preferred-Identity: <sip:[email protected]:5060>
P-Called-Party-ID: "1002"<sip:[email protected]:5060>
Remote-Party-ID: "1002"<sip:[email protected]:5060>;party=calling
Remote-Party-ID: <sip:[email protected]:5060>;party=called
Content-Length: 274
As you see there is “Diversion” header. If there is no Diversion header there should be a way we can get forwarded extension when user no answer.
Can you please help me ?
Regards.