Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: ryusuf on November 27, 2016, 12:38:31 PM

Title: [SOLVED] SIPS responding with "404 Not found" for the INVITE coming from the SBC
Post by: ryusuf on November 27, 2016, 12:38:31 PM
Dears,

I have a Sangoma Vega NEtBorder SBC from where there is a SIP trunk to Genesys SIP server. In the SIP switch, i have created a trunk group with contact option set to the IP address of the SBC.

The INVITE is reaching the SIP server, however, it is responding back to SBC with [b]404 Not Found.[/b]

When i change the option [b]enable-unknown-gateway[/b] to true in the SIPS application object. The call reaches SIPS and the prompts are played correctly. Its only when we set the option enable-unknown-gateway to false i receive this error. Please find the log excerpt below, if anyone could help me out what am i missing.


15:07:11.378: Unable to resolve number for DN:114807195
15:07:11.378: Unable to resolve number for DN:NetBorder
15:07:11.378: trunk ip addr 10.1.144.109
2016-11-27T15:07:11.378 Std 52002 Gateway for address '10.1.144.109', number '114807195' is not found.
15:07:11.378: $+NET:SIP::0:0
15:07:11.378: SIPTR: Received [0,UDP] 1143 bytes from 10.1.144.109:5060 <<<<<
INVITE sip:6002@10.1.144.98:5060 SIP/2.0
Via: SIP/2.0/UDP 10.1.144.109;rport;branch=z9hG4bKD4Km5t3yHeSKj
Max-Forwards: 68
From: "114807195" <sip:114807195@10.1.144.109>;tag=r6epQ47440Z0g
To: <sip:6002@10.1.144.98:5060>
Call-ID: c9c25e88-2f2a-1235-7589-0090fb45d372
CSeq: 99784269 INVITE
Contact: <sip:NetBorder@10.1.144.109:5060>
User-Agent: NetBorder Session Controller
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
Supported: precondition, path, replaces
Allow-Events: talk, hold, presence, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer
Content-Type: application/sdp
Content-Disposition: session
Content-Length: 261
X-FS-Support: update_display
Remote-Party-ID: "114807195" <sip:114807195@10.1.144.109>;party=calling;screen=yes;privacy=off

v=0
o=nsc 1480219680 1480219682 IN IP4 10.1.144.109
s=nsc
c=IN IP4 10.1.144.109
t=0 0
m=audio 14040 RTP/AVP 0 8 18 98 9 101 13
a=fmtp:18 annexb=yes
a=rtpmap:98 iLBC/8000
a=fmtp:98 mode=20
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20

15:07:11.378: Unable to resolve number for DN:114807195
15:07:11.378: Unable to resolve number for DN:NetBorder
15:07:11.378: trunk ip addr 10.1.144.109
2016-11-27T15:07:11.378 Std 52002 Gateway for address '10.1.144.109', number '114807195' is not found.
15:07:11.378: CallMatcher: no call match attributes found
15:07:11.378: Unable to resolve number for DN:114807195
15:07:11.378: Unable to resolve number for DN:NetBorder
15:07:11.378: trunk ip addr 10.1.144.109
2016-11-27T15:07:11.378 Std 52002 Gateway for address '10.1.144.109', number '114807195' is not found.
15:07:11.378: ERROR: 10000002, GetDeviceManager().ResolveOriginationDevice(inviteMsg, from), SipCallManager.cpp,1991
15:07:11.378: Sending  [0,UDP] 344 bytes to 10.1.144.109:5060 >>>>>
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 10.1.144.109;rport;branch=z9hG4bKD4Km5t3yHeSKj;received=10.1.144.109
From: "114807195" <sip:114807195@10.1.144.109>;tag=r6epQ47440Z0g
To: <sip:6002@10.1.144.98:5060>;tag=E5BB2AB8-06DD-4064-8ED4-48F82C1242CC-40
Call-ID: c9c25e88-2f2a-1235-7589-0090fb45d372
CSeq: 99784269 INVITE
Content-Length: 0


15:07:11.378: $-NET:SIP::0:1070

15:07:11.378: $+NET:SIP::0:0
15:07:11.378: SIPTR: Received [0,UDP] 353 bytes from 10.1.144.109:5060 <<<<<
ACK sip:6002@10.1.144.98:5060 SIP/2.0
Via: SIP/2.0/UDP 10.1.144.109;rport;branch=z9hG4bKD4Km5t3yHeSKj
Max-Forwards: 68
From: "114807195" <sip:114807195@10.1.144.109>;tag=r6epQ47440Z0g
To: <sip:6002@10.1.144.98:5060>;tag=E5BB2AB8-06DD-4064-8ED4-48F82C1242CC-40
Call-ID: c9c25e88-2f2a-1235-7589-0090fb45d372
CSeq: 99784269 ACK
Content-Length: 0

Best Regards




Title: Re: SIP server responding with "404 Not found" for the INVITE coming from the SBC
Post by: cavagnaro on November 27, 2016, 03:10:00 PM
But logs say Trunk Gateway is not found

Can you post screenshot of DN and configuration?

Also, delete the DN and create again, show SIP Server logs snippet that cover the creation moment. There are some SIP Server versions that need a restart to acquire newly CME objects created...
Title: Re: SIP server responding with "404 Not found" for the INVITE coming from the SBC
Post by: Kubig on November 28, 2016, 06:38:30 AM
Create an object with type "Trunk" with section "TServer" in the annex and option "contact=IP:PORT"
Title: Re: SIP server responding with "404 Not found" for the INVITE coming from the SBC
Post by: ryusuf on November 28, 2016, 11:13:01 AM

Thanks Kubig for that, it worked after creating a trunk. I had created a trunk group with the IP address in the contact option.  :) :)

Title: Re: SIP server responding with "404 Not found" for the INVITE coming from the SBC
Post by: Kubig on November 28, 2016, 11:16:07 AM
Great! Please, mark the topis as solved ;-)
Title: Re: SIP server responding with "404 Not found" for the INVITE coming from the SBC
Post by: ryusuf on November 28, 2016, 12:22:19 PM
Sorry please let me know how do i mark it as solved? ???
Title: Re: SIP server responding with "404 Not found" for the INVITE coming from the SBC
Post by: Tambo on November 28, 2016, 04:09:43 PM
rename the thread with ***** Solved**** at the start or end