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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IP trunk between IPOffice and CM

Status
Not open for further replies.

stalker802

Technical User
Jun 29, 2011
120
LT
I'm trying to connect IPOffice to CM with IP trunk. Connections from IPOffice to CM works fine, i can dial extensions on CM from IPOffice. But I need to do another thing. I need to be able to redirect CM incoming numbers to IP Office. I defined this number on ARS analysis screen, wchich directs to IP trunk 2. However I get this message:

list trace tac 702 Page 1

LIST TRACE

time data

13:46:04 dial 0868726656 route:ARS
13:46:04 term trunk-group 2 cid 0x1b4
13:46:04 dial 0868726656 route:ARS
13:46:04 route-pattern 3 preference 1 cid 0x1b4
13:46:04 seize trunk-group 2 member 1 cid 0x1b4
13:46:04 Calling Number & Name 478 AAA
13:46:06 denial event 1166: Unassigned number D1=0x944 D2=0x50f01
13:46:06 idle trunk-group 2 member 1 cid 0x1b4
13:46:10 idle station 478 cid 0x1b4

On IPOffice I get:


20242195mS CMTARGET: 0.48.1 75 H323TrunkEP: LOOKUP CALL ROUTE: type=0 called_party=868726656 sub= calling=0478 dir=out complete=1 ses=0
20242195mS CMTARGET: 0.48.1 75 H323TrunkEP: ADD TARGET (N): number=868726656 type=0 depth=1 nobar=1 setorig=1 ses=0
20242196mS CMTARGET: 0.48.1 75 H323TrunkEP: TARGET: Not in dial plan


Seems like IP Office doesn't see incoming number. Hovewer on icoming call route I defined destination: extension 201.
Can't find the problem. Any help would be appreciated.



 
The CM is sending 0478 and not 478 so it does not see it.
Go to the H.323 trunk and add a shortcode like this:
0XXX
dial
XXX
line id 0


BAZINGA!

I'm not insane, my mother had me tested!

 
It didn't help. I think short codes are for dialing numbers, not for CLID (478). But i can be wrong.
 
Sorry, you are right.
I mixed them up.
The number you are dialing, is that an external number?
This number should be routed by shortcodes so this number should be routed to ARS and there must be a match somewhere.
A H.323 trunk does not use the incoming call route so check your shortcodes or use a shortcode in your H.323 trunk

N
dial
N
Line ID ARS



BAZINGA!

I'm not insane, my mother had me tested!

 
I am dialing number 868726656 from my CM phone. But the same should work if it is external number. I'm just trying with this number.
But what i found. I added:
N
dial
N
Line ID ARS

In ARS I added:

868726656
dial
201 or 851
line 0

And IPOffice extension 201 doesn't ring. CM 201 extension rings instead. If I change to 851 extension, which is not on CM, only on IPOffice, I get:


0261118mS CD: CALL: 0.88.1 BState=Idle Cut=1 Music=0.0 Aend="Line 0" (250.1) Bend="" [] (0.0) CalledNum=868726656 () CallingNum=0478 () Internal=0 Time=6 AState=Idle
30261119mS CMTARGET: 0.88.1 104 H323TrunkEP: LOOKUP CALL ROUTE: type=0 called_party=868726656 sub= calling=0478 dir=out complete=1 ses=0
30261120mS CMTARGET: 0.88.1 104 H323TrunkEP: ADD TARGET (N): number=868726656 type=0 depth=1 nobar=1 setorig=1 ses=0
30261121mS CMTARGET: 0.88.1 104 H323TrunkEP: LINE SC: 868726656 1 868726656 sc=type=Dial code=N, num=N
30261122mS CMARS: FindActiveARSByGroupID GroupID=50 - Found
30261122mS CMARS: MakeCallTarget - Called Number: 868726656
30261123mS CMTARGET: 0.88.1 104 H323TrunkEP: INITIAL TARGETING SUCCEEDED
30261124mS CMTARGET: 0.88.1 104 H323TrunkEP: GetNoAnswerTimer:15
30261126mS CMLineTx: v=0
CMProceeding
Line: type=IPLine 0 Call: lid=0 id=88 in=1
30261129mS CMTARGET: 0.88.1 104 H323TrunkEP: CancelTimer CMTCNoAnswerTimeout
30261130mS CMARS: FORM: Main - Received Number: 868726656
30261131mS CMARS: FOUND A SHORT CODE - short_code: 868726656 - Tel: 851 - Called_Party: 851 - Line Group Id: 0
30261132mS CMARS: FindActiveARSByGroupID GroupID=0 - Not Found
30261132mS CMLRQ: FindActiveLRQByGroupID GroupID=0 - Not Found
30261134mS PRN: Created MH ffd51db4 parent 0.1260.0 -1 H323TrunkEP
30261137mS CMARS: FOUND LINE - Line Id: 0 - using line group id: 0 - Called Number: 851 - Calling Number: 0478
30261138mS CMARS: SEND Setup TO LINE
30261144mS CMLineTx: v=0



I'm not exacly sure how to route incoming IP calls to internal extensions on IPOffice. Cause short codes are sending these numbers to line 0.
 
why are you sending such a long number?
just use a prefix and the number.
then remove the prefix with a shortcode when it hits the ipo.

BAZINGA!

I'm not insane, my mother had me tested!

 
This call is looping back down the H.323 line.

Why? Because you are using ARS..

As tlpeter has said, you need to use line shortcodes to correctly route the call

so line shortcode on H323 line

sc - 868726656
feat - DialExtn
TN - 201 (or whatever)


To be honest, I'd do the number manipulation off the CM and present the 3 or 4 digit extension number direct to the IPO, but you can do it this way i.e. send 9 digit and route in IPO(

Take Care

Matt
I have always wished that my computer would be as easy to use as my telephone.
My wish has come true. I no longer know how to use my telephone.
 
Matt is right do the digit conversion on the CM that how i have ours and we dont need to do anything on the IPO. as long at the digits from CM match ext/shortcode/group on the IPO they route fine.

Kevin Wing
ACSS Small and Medium Enterprise (SME) Communications
ACS- Implement IP Office
ACA- Implement IP Office
Carousel Industries
 
sc - 868726656
feat - DialExtn
TN - 201 (or whatever)

This worked, thanks. Then i'm going to try digit conversion.
 
I changed on CM:

change route-pattern 3 Page 1 of 3
Pattern Number: 3 Pattern Name: IPOffice
SCCAN? n Secure SIP? n
Grp FRL NPA Pfx Hop Toll No. Inserted DCS/ IXC
No Mrk Lmt List Del Digits QSIG
Dgts Intw
1: 2 0 9 201 n user
2: n user
3: n user
4: n user
5: n user
6: n user

BCC VALUE TSC CA-TSC ITC BCIE Service/Feature PARM No. Numbering LAR
0 1 2 M 4 W Request Dgts Format
Subaddress
1: y y y y y n y as-needed rest none
2: y y y y y n n rest none
3: y y y y y n n rest none
4: y y y y y n n rest none
5: y y y y y n n rest none
6: y y y y y n n rest none

And i changed on IP Office

sc - 201
feat - DialExtn
TN - 201 (or whatever)

And IPOffice is not receiving any signal.
I have also tried Change ars digit-conversion with no success. Something I am doing wrong.
 
sc - 868726656
feat - DialExtn
TN - 201 (or whatever)

This is now not working. It was working before. I don't understand. It looks simple, but something is wrong.
 
do a list tra tac on the CM

or a monitor trace from the IPO

I'd guess that you are passing too many digits or something other than what you expect!

Also try a list aar route-chosen <numnber cm user dials>


Take Care

Matt
I have always wished that my computer would be as easy to use as my telephone.
My wish has come true. I no longer know how to use my telephone.
 
I get:
denial event 1220: Recovery on timer expiry D1=0x944 D2=0x66
IP Office gets nothing
 
do a list trace station <originating station>

also check that the trunk is up - status trunk-group xx

Take Care

Matt
I have always wished that my computer would be as easy to use as my telephone.
My wish has come true. I no longer know how to use my telephone.
 
Trunk is up. From list tra sta same result:
denial event 1220: Recovery on timer expiry D1=0x944 D2=0x66
 
Stick a verify button on the CM handset

Press it and then enter the TAC and a trunk member say 001

then dial 201

see what happens!

Take Care

Matt
I have always wished that my computer would be as easy to use as my telephone.
My wish has come true. I no longer know how to use my telephone.
 
or just set dial access = y on the relevant trunk group and then dial tac (get dialtone) and 201

Take Care

Matt
I have always wished that my computer would be as easy to use as my telephone.
My wish has come true. I no longer know how to use my telephone.
 
Actually it was CA-TSC request set to as-needed. Now it is set to none. And i have no idea, what this thing does.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top