02-03-2009 11:37 AM - edited 03-15-2019 03:58 PM
Hi All-
I'm sure I've seen this here before, but I can't find it. I need to take 10 digits in, dial the DN correspondnig to the first 5 then outpulse the second 5 as DTMF. I believe I have the translation pattern OK, but I can;t get everything to come together properly.
I am using this:
voice translation-rule 1
rule 1 /^32223/ /32225,\1/
and this tests out OK as
test voice translation-rule 1 3222312345
Matched with rule 1
Original number: 3222312345 Translated number: 32225,12345
Original number type: none Translated number type: none
Original number plan: none Translated number plan: none
How do I get the dialpeer to send the 32225 in-band and DTMF out the 12345?
I can't get the dial-peer right! any help would be appreciated.
02-03-2009 01:33 PM
This is only done on POTS dial peers. You can't do this for voip dial peers.
For a pots dial peer there are a number of things you can use:
forward-digits [all|none|
no digit-strip
prefix
It sounds like in this case you want to use forward-digits 5.
hth,
nick
02-03-2009 03:08 PM
It's not quite doing what I am trying to accomplish. I am using different numbers now, but the same operation. I need to:
dial 51511
wait for connect
send 66233 (as DTMF)
With the dial-peer as:
dial-peer voice 51511 pots
destination-pattern 51511
port 0/3/0:23
forward-digits 5
I get:
List of Matched Outgoing Dial-peer(s):
1: Dial-peer Tag=51511
Feb 3 17:01:28.097: ISDN Se0/3/0:23 Q931: pak_private_number: Invalid type/plan 0x0 0x1 may be overriden; sw-type 13
Feb 3 17:01:28.097: ISDN Se0/3/0:23 Q931: Applying typeplan for sw-type 0xD is 0x0 0x0, Calling num 32081
Feb 3 17:01:28.097: ISDN Se0/3/0:23 Q931: Applying typeplan for sw-type 0xD is 0x0 0x0, Called num 66233
Feb 3 17:01:28.097: ISDN Se0/3/0:23 Q931: TX -> SETUP pd = 8 callref = 0x011B
Bearer Capability i = 0x8090A2
Standard = CCITT
Transfer Capability = Speech
Transfer Mode = Circuit
Transfer Rate = 64 kbit/s
Channel ID i = 0xA98397
Exclusive, Channel 23
Calling Party Number i = 0x0081, '32081'
Plan:Unknown, Type:Unknown
Called Party Number i = 0x80, '66233'
Plan:Unknown, Type:Unknown
If i change the dial-peer to this:
dial-peer voice 51511 pots
destination-pattern 51511
port 0/3/0:23
forward-digits extra inband
I may be getting a little closer:
List of Matched Outgoing Dial-peer(s):
1: Dial-peer Tag=51511
Feb 3 17:03:50.202: ISDN Se0/3/0:23 Q931: pak_private_number: Invalid type/plan 0x0 0x1 may be overriden; sw-type 13
Feb 3 17:03:50.202: ISDN Se0/3/0:23 Q931: Applying typeplan for sw-type 0xD is 0x0 0x0, Calling num 32081
Feb 3 17:03:50.206: ISDN Se0/3/0:23 Q931: Applying typeplan for sw-type 0xD is 0x0 0x0, Called num 51511
Feb 3 17:03:50.206: ISDN Se0/3/0:23 Q931: TX -> SETUP pd = 8 callref = 0x011C
Bearer Capability i = 0x8090A2
Standard = CCITT
Transfer Capability = Speech
Transfer Mode = Circuit
Transfer Rate = 64 kbit/s
Channel ID i = 0xA98397
Exclusive, Channel 23
Calling Party Number i = 0x0081, '32081'
Plan:Unknown, Type:Unknown
Called Party Number i = 0x80, '51511'
Plan:Unknown, Type:Unknown
Feb 3 17:03:50.218: ISDN Se0/3/0:23 Q931: RX <- SETUP_ACK pd = 8 callref = 0x811C
Channel ID i = 0xA98397
Exclusive, Channel 23
Feb 3 17:03:50.222: ISDN Se0/3/0:23 **ERROR**: Ux_BadMsg: Invalid Message for call state 1, call id 0x80A0, call ref 0x11C, event 0xD
Feb 3 17:03:50.222: ISDN Se0/3/0:23 Q931: TX -> STATUS pd = 8 callref = 0x011C
Cause i = 0xC0E50D - Message not compatible with call state
Call State i = 0x01
Feb 3 17:03:50.230: ISDN Se0/3/0:23 Q931: RX <- DISCONNECT pd = 8 callref = 0x811C
Cause i = 0x80E5 - Message not compatible with call state
Feb 3 17:03:50.230: ISDN Se0/3/0:23 Q931: TX -> RELEASE pd = 8 callref = 0x011C
Cause i = 0xC0E5 - Message not compatible with call state
Feb 3 17:03:50.238: ISDN Se0/3/0:23 Q931: RX <- RELEASE_COMP pd = 8 callref = 0x811C
But, I think it's still trying to send the last digits out the D-Channel instead of as DTMF in-band.
Would I have better luck using a CAS T1?
02-03-2009 05:26 PM
You could try:
dial-peer voice x pots
destination-pattern 51511.T
prefix 51511,,,,
This would dial 51511 and then send the remaining digits after a 4 second pause.
But - from your debugs it looks like the provider doesn't accept 51511 as a valid number. It's sending a SETUP_ACK which is normally used for overlap sending and they are expecting more digits.
Sounds like something else may be going on here.
hth,
nick
02-04-2009 12:18 AM
Hello Waschochet,
From my experience IOS does not send digits inband with the commas in the way you wanted when we are using a PRI line, I have to say that this is one of those things that you do not know nor are documented until you face them.
It will work fine with the commas though if you use analog ports (FXO) or CAS as the POTS interface, so if this is really a pressing matter to get the IPT roll out going, move to CAS, if what you are doing is trying to make life easier to the end users (having them not dial the authorization code the Telco asks to call that area code) either have them manually press this digits when the Telco annunciator answers or - this is the best solution in my opinion - get the Telco to remove the authorization code.
In any case what nicmath said is correct, the Telco does not like the
51511 as called number and wants more digits sent via overlap.
Hope this helps.
- Manny
02-04-2009 07:05 AM
Thanks Manny - in this case, it's our Nurse Call system. The patient presses the nurse call button and a text message is sent to a 7925 wireless phone that the nurse carries. One of the softkeys on the phone is set by the text message to dial back to the pillow speaker in the same room. This is done by placing a call into the NC system and then DTMF'ing the room number in, (similar to an analog DID).
I will give the CAS T1 a shot later today.
04-26-2009 06:45 AM
Hi all,
I need your help, can I use the IP phones instead of the nurse call system and make the same job of the nurse call system??
thanks
04-27-2009 05:28 AM
Is there some particular function that you are trying to perform? Notifications or callbacks?
04-27-2009 11:04 PM
No, just I need to deal with the IP phones as if it is a nurse call system, for example the ill man press on special button and it rings to the nurse place and the nurse will not be able to stop the ring excpet from his rom using the ip phone.
I need the ip phone to be as if it is a nurse call system plus it can make calls through it
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide