08-06-2007 10:52 AM - edited 03-14-2019 10:57 PM
In an effort to get around several 800 numbers being handed off to the same number on a PRI (i.e. 800-123-4567 and 877-234-5678 are handed off as 7500 on the PRI) is there a way to use translation rules, or some other mechanism, to match on the original called number instead of the called party number (or modify the called number to be the original called number)? GTD seems like a good alternative, but I need call routing not call reporting.
Is there any hope?
12.4(11)T2
Solved! Go to Solution.
08-06-2007 11:09 AM
Hi,
if telco is delivering alle the numbers with samecalled IE = 7500, and there is no other IE indicating what was the number called originally (check debug isdn q931), there is nothing you can do. You will need to ask telco to deliver each toll free to a different DID for your routing purposes.
08-06-2007 11:09 AM
Hi,
if telco is delivering alle the numbers with samecalled IE = 7500, and there is no other IE indicating what was the number called originally (check debug isdn q931), there is nothing you can do. You will need to ask telco to deliver each toll free to a different DID for your routing purposes.
08-06-2007 11:13 AM
We have the following handoff:
Aug 6 16:41:01.000: ISDN Se0/0/0:23 Q931: RX <- SETUP pd = 8 callref = 0x0274
Bearer Capability i = 0x8090A2
Standard = CCITT
Transfer Capability = Speech
Transfer Mode = Circuit
Transfer Rate = 64 kbit/s
Channel ID i = 0xE9828317
Exclusive, Interface 2, Channel 23
Display i = 0xB5, 'DYNAMEX EXPRESS'
Calling Party Number i = 0x2081, '9054055613'
Plan:Unknown, Type:National
Called Party Number i = 0xC1, '7550'
Plan:ISDN, Type:Subscriber(local)
Original Called Number i = '!', 0x000F81, '9056778455'
Plan:ISDN, Type:National
I want to match the original called number of '9056778455'. I believe these are RCF and I'll get telco to change the handoff, but now I can't (they are in Canada and it is some kind of national holiday).
Thanks Paolo
08-06-2007 11:40 AM
Hi,
I don't think there is a way, beside using a TCL IVR script. I think "original called number" should map to TCL/IVR leg_rdn attribute.
If you want to try if that is true, I can pass you a minimal script to test. If true, then handof to whatever number you want is trivial with a script.
08-06-2007 11:42 AM
I would love to see that.
08-06-2007 12:03 PM
Try the script below. If my theory is right it will attempt to reroute to 7504. Even if doesn't succeeds in that, you will see the string "rdn is XXXX" if you enable "debug voice application script".
config as
application
service reroute flash:test.tcl
dial-peer voice 7500 pots
service reroute
incoming called-number 7500
#script begins here
proc act_Setup { } {
global dnis
global rdn
leg setupack leg_incoming
leg proceeding leg_incoming
leg connect leg_incoming
set rdn [infotag get leg_rdn]
set dnis [infotag get leg_dnis]
puts -nonewline "rdn is $rdn"
if {$rdn == "9056778455"} {
set handoff_to 7504
} else {
set handoff_to $dnis
}
handoff appl leg_incoming default "DESTINATION=$handoff_to"
}
proc act_Close { } {
call close
}
requiredversion 2.0
init
#----------------------------------
# State Machine
#----------------------------------
set fsm(any_state,ev_disconnected) "act_Close same_state"
set fsm(any_state,ev_session_terminate) "act_Close same_state"
set fsm(INIT,ev_setup_indication) "act_Setup same_state"
fsm define fsm INIT
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: