Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Going CRAZY,Can't get it to work. Need to route inbound calls according to what number I call from

Status
Not open for further replies.

tcolca03

Programmer
Aug 23, 2017
22
US
I cant figure this out and it's driving me crazy.

Need to route calls using my caller ID according to what number is calling in.
when I call from my cell 5556667777,call needs to go to ext 9876. however my cell number is ignored and call routes to 1234 as it normally does.
SIP trunk line 17

ICR
inbound line group: 20 ; incoming number +1 3334445555; Dest: x1234
incoming CLI: none

inbound line group: 30; incoming number +1 3334445555; Dest: x9876
incoming CLI: 1 5556667777

URIs
Incoming group: [highlight #FCAF3E]20[/highlight] local uri,contact,display name: [highlight #FCE94F]internal data[/highlight] PAI: [highlight #FCE94F]none[/highlight]
Incoming group: [highlight #FCE94F]30[/highlight] local uri,contact,display name: [highlight #FCE94F]*[/highlight] PAI: [highlight #FCE94F]*[/highlight]
 
You're URIs should have the same incoming ID.

Then do a monitor trace to see exactly how the CLI is presented, you need to enter it the same way in ICR.

"Trying is the first step to failure..." - Homer
 
Thank you for the reply.
Caller ID in trace shows as 15556667777@sip.ff.com

Only enter the digits?
 
You need to put in the exact incoming CLI including prefix otherwise it won't work.
This has nothing to do with URI's

BAZINGA!

I'm not insane, my mother had me tested!
 
The lowest URI is checked on incoming first and as that has a match it follows that.

Change both incoming URIs to match and then ensure the incoming CLI is the full number (the @part isnt needed) as shown on the incoming trace and it should work.

| ACSS SME |
 
I cut and pasted the number exactly as it is sent to the switch.
Am I grabbing the number from the correct place?
I made the URI lower as Pepp77 suggested and it uses it first. but now I get error 404 not found.

I've used the same line number as the normal inbound calls in ICR but still no good. I've used different URI, nothing.

Any known issues with 9.1.7?
Here's the trace. Obviously these are bogus numbers but in the exact format as shown.

8/25/17 11:24:10 AM-819ms Line = 17, Channel = 1, SIP Message = Response, Direction = From Switch, From = +15556667777@fl.gg, To = +12223334444@fl.gg, Response = 100 Trying
8/25/17 11:24:10 AM-821ms Line = 17, Channel = 1, SIP Message = Invite, Direction = To Switch, From = +115556667777@fl.gg, To = +12223334444@fl.gg
8/25/17 11:24:10 AM-825ms Call Ref = 399, Originator Type = Trunk, Destination Type = none
8/25/17 11:24:10 AM-832ms Line = 17, Channel = 1, SIP Message = Response, Direction = From Switch, From = +15556667777@fl.gg, To = +12223334444@fl.gg, Response = 404 Not Found


THANK YOU
 
Call from your cell, have SSA up with Active Calls showing. Double click on the call, and in plain text you will see what the system considers the incoming caller id. This you can copy and paste into the Incoming CLO box if the ICR with the correct incoming Line Group ID, * for the incoming number
 
You don't need the domain part in ICR but if it comes with + you need the + in ICR.

"Trying is the first step to failure..." - Homer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top