Direct inward dialing
When direct inward dialing the TFN routes to agent even if agent is in busy status, can it be set to only send calls to agent on available status and to agent's VM when not?
The only one that is simple is the option under controls and restrictions that can 'send the call directly to voicemail if the user is logged off'
If you want to also do the Available one, then you use web service from inside a campaign to check the agents current status.
Similar Messages
-
Hello,
I am about to deploy CUCM 8 at our company and doing some prep for it.
I am trying to configure DID and wish to know some info.
Below is a sample config that i will deploy on my voice router which is an MGCP gateway. Currently I'm outside US and here we have 7 digit phone system. We use a digitial PABX and our we have two different set of DIDs, one starting 211 71XX and 202 45XX.Extensions inside are 1XXX
My PRI is an E1.
Below is what I am planning as config:
dial-peer voice 1 pots
application mgcpapp
incoming called-number 211....
destination-pattern 9T
direct-inward-dial
port 1/0:15
dial-peer voice 2 pots
application mgcpapp
incoming called-number 202....
destination-pattern 9T
direct-inward-dial
port 1/0:15
dial-peer voice 3 voip
application mgcpapp
destination-pattern 1...
session target ipv4:10.1.2.45
codec g711alaw
Is the above correct, can I include incoming called-number . instead of having the dial-peer voice 2 pots?
After doing this, what do i Configure on CUCM, Do I configure translation pattern or transformation Masks, i a bit confused.
As for CSS the gateway must use the same CSS as the phones?
Thanks to help.I'd strongly recommend you to review MGCP documentation about how to configure this.
How to Configure MGCP with Digital PRI and Cisco CallManager
http://www.cisco.com/en/US/partner/tech/tk1077/technologies_configuration_example09186a00801ad22f.shtml
Configuring the Cisco IOS MGCP Gateway
http://www.cisco.com/en/US/partner/products/sw/voicesw/ps556/products_tech_note09186a008017787b.shtml
Inbound CSS from GW is exactly the same as what you configure in any device, it determines what devices you can reach. Just configure it accordingly to reach whatever internal devices you will reach thru that GW.
HTH
java
If this helps, please rate
www.cisco.com/go/pdihelpdesk -
Implement Direct Inward System Access (DISA) in VoIP Environment
Hi,
May i know, is it possible to implement DISA Call in VoIP environment. If yes, how we can make it? Is it some configuration in CE Router at SRST Sites or CE Router at Main Sites? Also can you give me the information how to implement it?
As I understand DISA (Direct Inward System Access) allows someone calling in from outside the telephone switch (PBX) to obtain an "internal" system dialtone and dial calls as if from one of the extensions attached to the telephone switch. Frequently the user calls a number DISA number with invokes the DISA application. The DISA application in turn requires the user to enter his passcode, followed by the pound sign (#). If the passcode is correct, the user will hear dialtone on which a call may be placed.
Please advise me as soonest.
Thanks in advanced
Rgds,
Izazi ZainyGiving users access to system dial tone via DISA is a security hole on PBX's and VOIP system so be careful how you use it. The following note describes how to use a TCL script and audio prompts to allow a user to call in and authenticate via an account number and PIN before they can dial an internal number. This will allow basic DISA type functions on a H323 gateway. Obviously you would also want to log the details of who made the call and when they made it, so syslog VOIP accounting is enabled to send a CDR to a syslog server.
We use an inbuilt TCL script that is inbuilt in IOS called 'clid_authen_collect'. This script authenticates the call with the ANI (Calling number) and DNIS (Called number) of the incoming call, or if this fails, it then prompts the user to enter an account number and then a PIN number. Since the call is coming in on an FXO (or FXS) port, there is no associated ANI and DNIS, so the script immediately prompts the user for the account number and PIN. We do the authentication by a local 'username XXX password YYY' command in the router config. The user keys in the account code and PIN (can use the # as a string terminator to speed the process up and if the values entered match a local username and password, it then prompts for the user to enter the actual destination telephone number.
I have also enabled syslog accounting for call detail records, so when the call completes you get a basic record of the called number and durations. If they wanted to use a full blown AAA server, they could run the authentication from this and this way keep a full log of all users calling in, and it would also log the CDR's for billing etc ...
The router needs the following audio .AU files on the flash memory :
Test#sh flash
System flash directory:
File Length Name/status
1 14097360 c2600-is-mz.122-11.T.bin
2 14150 enter_account.au
3 14869 auth_fail_retry.au
4 11510 enter_pin.au
5 52644 enter_destination.au
[14190860 bytes used, 2062068 available, 16252928 total]
16384K bytes of processor board System flash (Read/Write)
Test#
(obviously needs the IOS image but the important files are the audio prompts)
The .au files are the audio prompts that the IVR plays. These are in Sun/Next audio 64Kbps G711ulaw audio format. Use an audio editor to create the files and save them in this format.
When a call comes in on FXO port 1/0/0, you will hear a prompt to enter the account code. Key in the account number, followed by a #, then key in the PIN , followed by #. The caller will be prompted to enter the destination phone number, and this is matched on any subsequent voip or pots dial peers.
Configured user account numbers/passwords are 1000/1000 and 1001/1001
Refer to the attachment for the full router configs. Hope this helps. -
Direct Outward Dial on CME 3.1
I am at a complete loss. Cisco want 800 USD to help me.
I need to setup Direct Outward Dial on my CME 3.1 (3725). I need to have one of my two POTS lines show up on the telephones mapped to a button.
I have searched for quite a while, and tried most everything I can think of. I have failed.
Any help is appreciated!It is not clear to me what you are trying to accomplish, but it sounds like a scenerio I deploy on a regular basis.
If you want to force a particular DN to use a specific analog fxo line for outbound calls, simply create a translation pattern and apply it to the ephone-dn. Basically, you will be prepending a '1#' to the dialed phone number and have a specific dial-peer matching 1# using the fxo voice port as a destination. For example:
translation-rule 1
Rule 0 ^.* 1#
translation-rule 2
Rule 0 ^.* 2#
dial-peer voice 100 pots
destination-pattern 1#0
port 1/0/0
forward-digits 1
dial-peer voice 101 pots
destination-pattern 1#1..........
port 1/0/0
forward-digits 11
dial-peer voice 102 pots
destination-pattern 1#[2-9]......
port 1/0/0
forward-digits 7
dial-peer voice 103 pots
destination-pattern 1#[4,9]11
port 1/0/0
forward-digits 3
dial-peer voice 200 pots
destination-pattern 2#0
port 1/0/1
forward-digits 1
dial-peer voice 201 pots
destination-pattern 2#1..........
fax rate disable
port 1/0/1
forward-digits 11
dial-peer voice 202 pots
destination-pattern 2#[2-9]......
port 1/0/1
forward-digits 7
dial-peer voice 203 pots
destination-pattern 2#[4,9]11
port 1/0/1
forward-digits 3
ephone-dn 1
number 1001
label Line 1
description 555-1212
name Line 1
call-forward busy 7000
call-forward noan 7000 timeout 15
translate called 1
hold-alert 120 idle
ephone-dn 2
number 1002
label Line 2
description 555-1213
name Line 2
call-forward busy 7000
call-forward noan 7000 timeout 15
translate called 2
hold-alert 120 shared
In addition, when you do this you usually want to do the same in reverse: a specific fxo port to ring a specific line when an inbound call comes in, you do this with the connection plar-opx command on the fxo voice port, for example:
voice-port 1/0/0
input gain 10
no comfort-noise
connection plar opx 1001
caller-id enable type 1
voice-port 1/0/1
input gain 10
no comfort-noise
connection plar opx 1002
caller-id enable type 1
Let me know if I'm on the right track...
/Rick -
How can I do direct ip dialing?
Hello:
Usually I configure the dial peers with the command session target with the remote gw ip address.
there is any way to make the call using an ip from the caller endpoint?
In each call the user can dial a different ip address and I need that the gw sends the setup to that ip.
If I can not do it with ios, there is some product from cisco that it can do it?
Thanks everyoneYou can simply extract the dry signal from the project file.
When you ctrl-click or right-click your project (.band file) and use the command "Show package contents" from the contextual menu, you will see the internal folders like this:
The "Media" folder contains the dry recordings as aiff files. The screenshot above is from GarageBand 10.0. In GarageBand '11 the aiff files will be directly in the Media folder. -
Hi Everyone,
I am trying to configure IP dialing but two linksys PAP 2T ATA one in ksa and the other in india, i have the configured the line 1 of pap2T to dial to line 2 of PAP 2T in india. I have done the settings as metioned in the document "Configuring IP Dialing on the PAP2 document on the linksys knowledge Base".
I would be glad if any one could tell me as what values i have to provide for the following fields
1) PROXY
2) USER ID
3) PASSWORD
In the document provided by linksys the above fields are left as it is intended to call between ATA on the same network which is not i am looking for,Look forward to have any inputs on the issue.
Thanks in Advance.Your remarks are correct about the voip provider. When an adapter "registers" with a voip provider's proxy the adapter initiates conversation and the exchange removes some of the NAT router problems that you can encounter when you are using direct ip calling. The NAT Keep Alive function will send something every 15-seconds to the proxy and will further reduce problems with your NAT router. The registration, of course, also gives the voip provider your current ip address to send an incoming call. Frequent registration every few minutes keeps your ip address current. It is possible, though, to use direct ip calling without using a voip provider.
I believe from what you have outlined that your adapter is sending the call request to the distant ata and the odds are the packet is not being received by the distant ata. Running a sip debug trace, first on the sending ata will establish that the sip invite is being sent. Then running a sip debug trace on the receiving ata will establish that the sip invite is not being received. Or I could be mistaken and the traces will show error messages flowing back and forth. In any event it is useful to know what is happening.
To run a sip debug trace you need to download and install a syslog program on a pc. Usually the pc is on a network local to the ata because you don't need to worry about the syslog packets being blocked by a router. In any event, you put the pc's ip address on the PAP's system tab under Debug Server, and you set the Debug Level to 3 on the system tab. On the Line Tab you set the Sip Debug Option to FULL. Then you run a call. On the pc running the syslog program, the syslog messages will display and be saved to the pc's hard drive.
If you do not have a syslog program, send me a private message with your email address and I will send you a syslog program that will run on a Windows pc.
In your dial plan the SO should be S0 (S zero). This is not causing the problem, though.
Message Edited by hw on 08-02-2009 10:15 PM -
Direct inward System Access (DISA) Audio or script files ??
Dear All,
I was looking for Simple-DISA-SBCS.zip files as I search on cisco website and support community forums but I am unable to find the files.
It will be very helpful if anyone send the link to download the files or send the files.
Model : UC560Dear All,
I was looking for Simple-DISA-SBCS.zip files as I search on cisco website and support community forums but I am unable to find the files.
It will be very helpful if anyone send the link to download the files or send the files.
Model : UC560 -
Site to Site calling issue - Cisco 2911 Dial Peer Configuration
My customer dials from remote site to main site to their main site number, the call by-passes their auto attendant and goes directly to any random available party.
At first fingers were pointing to the their PBX, however we noticed one of their sites that wasn't managed by our company did not have the issue. We cut that site over to our service and the issue started right up. I believe it is possibly due to the way the dial peers are configured and how the calls route into the PBX. Unfortunately I do not understand much about them and curious to know if anyone has any history on a issue similiar to this or any input whatsoever?
Cisco equipment/Dialpeer config below ........
co IOS Software, C2900 Software (C2900-UNIVERSALK9-M), Version 15.2(4)M4, RELEASE SOFTWARE (fc2) - Cisco CISCO2911/K9
dial-peer voice 100 voip
description --- VoIP Dial-Peer ---
translation-profile outgoing 7digit
huntstop
preference 1
service session
destination-pattern .T
progress_ind setup enable 3
session protocol sipv2
session target sip-server
incoming called-number .T
voice-class codec 99
dtmf-relay rtp-nte
fax-relay ecm disable
fax rate 14400
fax nsf 000000
ip qos dscp af41 signaling
no vad
dial-peer voice 150 voip
permission none
description 900 block
huntstop
destination-pattern 1900T
session protocol sipv2
session target sip-server
voice-class codec 99
dtmf-relay rtp-nte
ip qos dscp af41 signaling
no vad
dial-peer voice 151 voip
permission none
description 900 block
huntstop
destination-pattern 900T
session protocol sipv2
session target sip-server
voice-class codec 99
dtmf-relay rtp-nte
ip qos dscp af41 signaling
no vad
dial-peer voice 101 pots
description --- INCOMING Calls from PBX ---
incoming called-number .T
direct-inward-dial
dial-peer voice 1001 pots
description --- Calls to the PBX ---
preference 3
destination-pattern .T
port 0/0/1:23
forward-digits 4
Here is some ISDN debug information
BAD CALL
Protocol Profile = Networking Extensions
0xA11C0201420201008014484152545F20484F54454C535F434C4159544F4E
Component = Invoke component
Invoke Id = 66
Operation = CallingName
Name Presentation Allowed Extended
Name = XXXXXXXXXXX
Display i = ''XXXXXXXXXXX''
Calling Party Number i = 0x2180, ''XXXXXXXXXX''
Plan:ISDN, Type:National
Called Party Number i = 0x80, ''6551''
Plan:Unknown, Type:Unknown
Aug 19 16:10:47.242 GMT: ISDN Se0/0/1:23 Q931: RX <- ALERTING pd = 8 callref = 0xAB15
Channel ID i = 0xA98381
Exclusive, Channel 1
Aug 19 16:11:02.634 GMT: ISDN Se0/0/1:23 Q931: RX <- CONNECT pd = 8 callref = 0xAB15
Channel ID i = 0xA98381
Exclusive, Channel 1
Aug 19 16:11:02.634 GMT: ISDN Se0/0/1:23 Q931: TX -> CONNECT_ACK pd = 8 callref = 0x2B15
GOOD CALL
Protocol Profile = Networking Extensions
0xA116020144020100800E475245454E204D4F554E5441494E
Component = Invoke component
Invoke Id = 68
Operation = CallingName
Name Presentation Allowed Extended
Name = XXXXXXXXXXXXXXXXXX
Display i = ''XXXXXXXXXXX''
Calling Party Number i = 0x2180, ''XXXXXXXXXX''
Plan:ISDN, Type:National
Called Party Number i = 0x80, 'XXXX''
Plan:Unknown, Type:Unknown
Aug 19 16:15:07.999 GMT: ISDN Se0/0/1:23 Q931: RX <- ALERTING pd = 8 callref = 0xAB17
Channel ID i = 0xA98381
Exclusive, Channel 1I done the configration via CCA and the running conf i can see two voip dial peer. this is the site where all trunk line roured. Customer from other site2 needs to call outside by taking line from site1.
dial-peer voice 2100 voip
corlist incoming call-internal
description **CCA*INTERSITE inbound call to SITE 1
translation-profile incoming multisiteInbound
incoming called-number 82...
voice-class h323 1
dtmf-relay h245-alphanumeric
fax protocol cisco
no vad
dial-peer voice 2101 voip
corlist incoming call-internal
description **CCA*INTERSITE outbound calls to SITE2
translation-profile outgoing multisiteOutbound
destination-pattern 81...
session target ipv4:192.168.50.1
voice-class h323 1
dtmf-relay h245-alphanumeric
fax protocol cisco
no vad
no dial-peer outbound status-check pots -
I have a 5350 router, and I get some troubles. I can't use fax over wan links. Before I had a 5300 router and it works fine (same IOS version). Voice works fine, but I can't use fax. This interface is E1 with ISDN Q-Sig.
Configuration below...
==
version 12.2
service timestamps debug datetime msec localtime show-timezone
service timestamps log datetime msec localtime show-timezone
service password-encryption
hostname 5350
no boot startup-test
logging buffered 20480 debugging
aaa new-model
aaa authentication login default local
aaa authentication enable default enable
aaa session-id common
resource-pool disable
calltracker enable
spe default-firmware spe-firmware-1
ip subnet-zero
ip cef
frame-relay switching
isdn switch-type primary-qsig
isdn voice-call-failure 0
voice call send-alert
voice call carrier capacity active
voice rtp send-recv
voice service voip
fax protocol t38 ls-redundancy 0 hs-redundancy 0
mta receive maximum-recipients 0
controller E1 3/0
pri-group timeslots 1-31
interface FastEthernet0/0
ip address x.x.x.x x.x.x.x
duplex auto
speed auto
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
interface Serial3/0:15
no ip address
isdn switch-type primary-qsig
isdn overlap-receiving
isdn incoming-voice modem
isdn bchan-number-order ascending
isdn sending-complete
no cdp enable
interface Group-Async0
ip unnumbered FastEthernet0/0
encapsulation ppp
ip tcp header-compression
async mode dedicated
peer default ip address pool mypool
ppp authentication pap
group-range 1/00 1/59
ip local pool mypool x.x.x.x x.x.x.x
ip classless
ip route 0.0.0.0 0.0.0.0 x.x.x.x
no ip http server
call rsvp-sync
voice-port 3/0:D
bearer-cap Speech
voice-port 3/1:0
compand-type a-law
mgcp profile default
dial-peer cor custom
dial-peer voice 8400 pots
application data_dialpeer
incoming called-number 8400
port 3/1:0
forward-digits all
dial-peer voice 1000 pots
destination-pattern 1...
direct-inward-dial
port 3/0:D
forward-digits all
dial-peer voice 1001 pots
destination-pattern 8...
direct-inward-dial
port 3/0:D
forward-digits all
dial-peer voice 2000 voip
destination-pattern 12..
session target ipv4:x.x.x.x
dtmf-relay rtp-nte
ip qos dscp cs5 media
5350#sh ver
Cisco Internetwork Operating System Software
IOS (tm) 5350 Software (C5350-IS-M), Version 12.2(11)T8, RELEASE SOFTWARE (fc1)
TAC Support: http://www.cisco.com/tac
Copyright (c) 1986-2003 by cisco Systems, Inc.
Compiled Thu 27-Mar-03 22:32 by hqluong
Image text-base: 0x60008948, data-base: 0x61380000
ROM: System Bootstrap, Version 12.2(1r)1, RELEASE SOFTWARE (fc1)
BOOTLDR: 5350 Software (C5350-BOOT-M), Experimental Version 12.1(20000922:142008) [nag-flo_t_0110 101]
cfw-5350-voip uptime is 1 day, 3 hours, 8 minutes
System returned to ROM by reload at 00:23:01 brz Fri Jan 21 2000
System image file is "flash:c5350-is-mz.122-11.T8.bin"
cisco AS5350 (R7K) processor (revision T) with 131072K/65536K bytes of memory.
Processor board ID JAE070401D5
R7000 CPU at 250Mhz, Implementation 39, Rev 1.0, 256KB L2, 2048KB L3 Cache
Last reset from IOS reload
Channelized E1, Version 1.0.
Bridging software.
X.25 software, Version 3.0.0.
SuperLAT software (copyright 1990 by Meridian Technology Corp).
Primary Rate ISDN software, Version 1.1.
Manufacture Cookie Info:
EEPROM Type 0x0001, EEPROM Version 0x01, Board ID 0x32,
Board Hardware Version 3.34, Item Number 800-5171-02,
Board Revision C0, Serial Number JAE070401D5,
PLD/ISP Version 2.2, Manufacture Date 24-Jan-2003.
Processor 0x14, MAC Address 0x0B5FDAB22
Backplane HW Revision 1.0, Flash Type 5V
2 FastEthernet/IEEE 802.3 interface(s)
37 Serial network interface(s)
60 terminal line(s)
2 Channelized E1/PRI port(s)
512K bytes of non-volatile configuration memory.
32768K bytes of processor board System flash (Read/Write)
8192K bytes of processor board Boot flash (Read/Write)
Configuration register is 0x2102
5350#
===
Can someone help me?
regardstry this:
voice service pots
fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback pass-through g711alaw
voice service voip
fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback pass-through g711alaw
dial-peer voice 900 voip
permission term
description your outgoing dialpeer
destination-pattern ^1234..
modem relay nse codec g711alaw redundancy
modem relay latency 150
modem relay sprt retries 6
fax-relay ecm disable
fax nsf 000000
fax protocol t38 ls-redundancy 2 hs-redundancy 2 fallback pass-through g711ulaw
no vad
and make sure you have g711alaw and g711ulaw in your codec preference list. -
NOT RECEIVING THE COMPLETE DIALED STRING FROM AN ISDN TRUNK PBX - AS5850
Hi
The problem i'm facing is the next:
I have a Cisco AS5850 with an Euro ISDN trunk connected to a PBX. The pbx send out the calls in order the A5850 terminate these calls in a remote gateway. I receive only a maximum of 12 digits of the complete string dialed in a phone hooked up in the PBX side.
Is it normal to receive only a max of 12 digits or there is something to do to receive as much digits as those come from the PBX??
My dial-peer looks like this:
dial-peer voice 13 pots
incoming called-number 0T
destination-pattern 0T
direct-inward-dial
port 2/7:D
dial-peer voice 14 voip
destination-pattern 0T
session target ipv4:209.210.174.17
tech-prefix 1051
fax rate 9600
fax protocol t38 ls-redundancy 2 hs-redundancy 2 fallback none
and the output from the debug dialpeer is this:
1w4d: destination pattn: 1234567891 expanded string: 1234567891
1w4d: MatchNextPeer: Peer 7 matched
1w4d: MatchNextPeer: Peer 8 matched
1w4d: dpMatchPeersMoreArg: Result=0 after MATCH_ORIGINATE
Thanks in advance for your help!
OscarDo a debug isdn q931 and see what comes in from the PBX. Post it here so we can see. They could be sending the digits using overlap sending , so the intial setup may not have all the digits that you want or need.
Also, your VOIP and POTS dial peers have the same destination pattern. There is nothing stopping an inwards ISDN call from being hairpinned back out the PRI if it has a leading 0. You might want to make your dial plan a bit more specific. -
IP address based dial-peer matching
Hi,
is it possible to define a rule for incoming voip dial-peer matching based on the source IP address of originating VOIP gateway ?
I need it for differentiate outgoing POTS lines based on the source gateway. Any ideas how to do it ?
Thanks,
VladimirHI
Yes is it, to using voice source-group features..
Simple examble:
voice source-group vladimir
access-list 50
disconnect-cause call-reject
translation-profile incoming 50
voice translation-profile 50
translate called 50
voice translation-rule 50
rule 1 /^1\(.*\)/ /6501\1/
access-list 50 permit 10.0.0.0 0.0.0.255
dial-peer voice 52 pots
destination-pattern 650T
progress_ind alert enable 8
progress_ind progress enable 8
direct-inward-dial
port 7/0:D
rgds,
Ismo -
Cisco dial-peer path selection with "preference"
Hi everybody,
for a test lab environment i'm testing the integration between cisco voice gateway 3925 and third party voice gateway by means of isdn PRI.
here the connection schema:
PSTN (emulated)-----> port0/0/0-Cisco3925-port0/0/1 <------- Third party Voice Gateway
| (ethernet)
Cisco CUCM (172.23.112.20)
in brief:
- i'm emulating PSTN with a cisco voice gateway, this gateway is connected to cisco3925's port 0/0/0.
- cisco3925's port 0/0/1 is connected to Third party Voice Gateway.
- cisco 3925 speaks with Cisco CUCM in H323.
Now let's go for an incoming call from the PSTN when 3925 has no connection to CUCM, with called number 321672711 (321672... is the GNR of the site):
1. inbound: dial-peer 110 finds match so the called number is transformed to 591711 (it is a DN not registered to SRST cisco gateway)
2. outbound: i expect dial-peer 100 to be matched, because 172.23.112.20 is no more reacheable. From the show call active voice dial-peer 1 is matched as the attached. I need to set preference 1 in dial-peer 100 because when WAN is UP i don't want dial-peer 100 to be matched (and it works). But when WAN is down dial-peer 100 must match. If i remove preference 1, dial-peer 100 finds match; but for correct path selection i cannot remove it.
What am I forgetting?
thanks for support
voice translation-rule 1
rule 1 /^321672/ /591/
voice translation-profile ENTRANTE
translate called 1
(translate calling omitted)
dial-peer voice 1 voip
description Inbound per USCENTI - Outbound per ENTRANTI
corlist incoming CSSSRSTInternazionali
tone ringback alert-no-PI
destination-pattern 591...
session target ipv4:172.23.112.20
voice-class codec 1
dtmf-relay h245-alphanumeric
no vad
dial-peer voice 100 pots
preference 1
translation-profile outgoing NOMIG
destination-pattern 591...
port 0/0/1:15
dial-peer voice 110 pots
corlist incoming CSSSRSTInternazionali
description Inbound per ENTRANTI
translation-profile incoming ENTRANTE
incoming called-number 321672...
direct-inward-dial
port 0/0/0:15Hello Marco,
There could be two possibilities:
1. To avoid dial-peer 1 being selected in the dialplan match, when gateway is trying to route the call, you can configure ICMP Probe , which would mark dial-peer as down, in case of WAN failure. So call will use dial-peer 100, automatically, as that will only be an possible match.
Here is document , in case you are interested in ICMP Probe:
http://www.cisco.com/c/en/us/td/docs/ios/voice/command/reference/vr_book/vr_m3.html#wp1397581
2. Ideally default dial-peer hunting mechanism is, Longest - Preference - Random , so as both the dial-peer has same destination pattern, in terms of specific digits and number of wild cards. So it should be looking as preference value of two possible matches, so in this test dial-peer 1 would win. Router will try to route the call using that dial-peer, if fails it should automatically fall back to dial-peer 100 as next choice.
But please note that it will still use dial-peer 1 at first attempt, as dial-peer status is not linked to interface status or WAN status. To verify this theory , you can remove session target command, and you will see that dial-peer 1, is not even selected in match, that's because removing session target command, will mark is as DOWN for outgoing status.
Taking below said debugs would help further, in case configuring ICMP probe is not viable option.
debug voip ccapi inout ( it will help understand , dial-peer match and hunting process ).
debug voip dialpeer inout
Hope that helps. -
UC560 T1E1 with Direct TCP SIP
Hi,
Firstly I am new to cisco's voice setup, and have a UC560-T1E1-K9 which I need to configure as just a basic gateway. Essentially i want to setup trunk-to-trunk between ISDN PRI and TCP SIP but do not have the first idea where to start.
The main aim is to receive calls over ISDN PRI (E1 NET5) and pass the call stright through to a direct tcp sip trunk (incoming only).
Then configure FXS for a few numbers for two way calling.
Hope someone can give me a couple of pointers as the CUE is not very helpful
Thanks,
Alex.Hi,
You have two approaches.
Option A
Use CCA to configure the unit from scratch. Configure the unit for your ISDN connection and test using the fxs ports. Manually configure a SIP dial-peer to route inbound PSTN calls to your Lync server. You'll need to tweak the configuration at various places to make it work. You therefore need to be pretty confident in understanding all the work CCA has done for you. The benefit this, is you have a local outbound dial-plan pre-configured on the unit.
Option B
Configure the unit yourself from scratch. Rough outline:
1. Configure E1 controller for voice
2. Setup the DSP modules for your region
3. configure a pots inbound dial peer to accept calls from the PSTN
4. configure an outbound SIP dial-peer to send the calls to Lync.
Lync expects calls to be prefixed with a + & E.164 and bare in mind the telco may only send you the last 6 sigits of the called number
Here's an example for UK ISDN with 30 timeslots: note module slots will be incorrect in this code, example is generic IOS and not specific to UC560.
1. Configure E1 controller for voice
card type e1 0
network-clock-participate wic 0 ! something like this, you may need to work out which slot you have
network-clock-participate slot 1 ! or something like this
network-clock-select 5 E1 1/0 ! you get the idea....
controller E1 1/0
pri-group timeslots 1-31
interface Serial1/0:15 ! do a show run to check the right interface slot number
description "use dial-peer voice 10 to reach me for outbound"
no ip address
encapsulation hdlc
isdn switch-type primary-net5
isdn timer T309 400000
isdn incoming-voice modem
isdn T309-enable
isdn send-alerting
isdn sending-complete
no cdp enable
Your E1 card should now be up
c2821.1.hex#show controllers e1
E1 1/0 is up.
Applique type is Channelized E1 - balanced
Cablelength is Unknown
No alarms detected.
alarm-trigger is not set
Version info Firmware: 20090408, FPGA: 13, spm_count = 0
Framing is NO-CRC4, Line Code is HDB3, Clock Source is Line.
CRC Threshold is 320. Reported from firmware is 320.
Data in current interval (652 seconds elapsed):
0 Line Code Violations, 0 Path Code Violations
0 Slip Secs, 0 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins
0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 0 Unavail Secs
Total Data (last 24 hours)
0 Line Code Violations, 0 Path Code Violations,
0 Slip Secs, 0 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins,
0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 0 Unavail Secs
2. Setup the DSP modules for your region
voice-port 1/0:15
cptone GB
bearer-cap Speech
3. configure a pots inbound dial peer to accept calls from the PSTN
I suggest at this point, you debug isdn q931 and dial in. See how many digits the telco sends you.
Configure a number translation to put this number in to E.164
In my example we take the 6 digits the telco sends us and prepend 441234
voice translation-rule 10
rule 1 /^\(.+\)$/ /441234\1/
voice translation-profile incomingisdn
translate called 10
in exec mode:
SOV_TAG1#test voice translation-rule 10 567890
Matched with rule 1
Original number: 567890 Translated number: 441234567890
Original number type: none Translated number type: none
Original number plan: none Translated number plan: none
dial-peer voice 1000 pots
description Inbound POTS dial-peer
translation-profile incoming incomingisdn
incoming called-number .+
direct-inward-dial
port 1/0:15
4. configure an outbound SIP dial-peer to send the calls to Lync. Lync expects calls to be prefixed with a + & E.164 so we're going to add a plus
voice class codec 1
codec preference 1 g711alaw
codec preference 2 g711ulaw
codec preference 3 g729r8
codec preference 4 g729br8
voice translation-rule 20
rule 1 /\(.+\)/ /+\1/
voice translation-profile addaplus
translate called 20
in exec mode
#test voice translation-rule 20 123
Matched with rule 1
Original number: 123 Translated number: +123
dial-peer voice 1010 voip
description SIP Trunk to Lync
translation-profile outgoing addaplus
preference 5
destination-pattern ^441234.+ ! note this is the area code we added to make the number into E164
voice-class codec 1
voice-class sip outbound-proxy ipv4:192.168.10.10 ! ip address of lync
session target dns:lync.mydomain.net ! your lync realm
session protocol sipv2
session transport tcp
dtmf-relay rtp-nte
no vad
and that's about it apart from getting the fx0 ports sorted - one step at a time.
For outbound you added an incoming SIP dial-peer and an outgoing pots dial peer.
Adam
VoIP.co.uk -
Hi,
We have FXO ports on the router and SIP trunk towards ITSP. People used to dial into FXO and get the dial tone to callout using the SIP trunk. But after the upgrade of the IOS, this functionality has stopped. Now if you call the FXO, you get busy tone. The IOS has been upgraded from 12.4(11) to 15.1(M4) to basically its a big leap.
I strongly believe that we need to make some configuration to make it work like before.
Please advise.
Attachached are the logs from the "debug vpm all"[+] for Calro
Here is the new feature complied in 15.X release
http://www.cisco.com/en/US/docs/ios/15_1/release/notes/151-2TNEWF.html
Toll Fraud Prevention
In Cisco IOS Release 15.1(2)T, the Toll Fraud Prevention feature is supported as below:
•Source IP address authentication is enabled on incoming IPv4 H323/ or SIP trunk calls. The source IP address of any incoming IPv4 H323 or SIP trunk calls will be authenticated based on:
–Manually configured IP address trusted list.
–VoIP dial-peer session target (the state of a VoIP dial-peer must be in "Operation State = UP")
Incoming IPv4 H323 or SIP trunk calls will be rejected if the authentication fails and the default cause-code call-reject (21) disconnects the call.
Execute the show ip address trusted list command to display IP address trusted data and a list of valid source IP addresses. The default behavior can be disabled as shown in the example below:
voice service voip
no ip address trusted authenticate
•Secondary dial-tone is disabled for a call initiated from a FXO port. No secondary dial-tone causes the outgoing call setup to fail if the called number is NULL. The default behavior can be disabled as shown below:
voice-port
secondary dialtone
•Direct-inward-dial is enabled to prevent the toll fraud for incoming ISDN calls. Two-stage dialing is disabled for incoming ISDN calls by default. The incoming called number will then be used for outgoing call setup. The default behavior can be disabled as shown in the example below:
voice service pots
no direct-inward-dial isdn
For more information, see the Cisco Unified Communications Manager Express System Administrator Guide at the following URL:
http://www.cisco.com/en/US/docs/voice_ip_comm/cucme/admin/configuration/guide/cmeadm.
html
Br,
Nadeem
Please rate all useful post. -
Need configuration help on producing dial tone
Hello Experts,
I have a Cisco 2921 router with VWIC3-2MFT-T1/E1 card. On this card we have T1-CAS digital line connected. We have been provided with a set of DID numbers. We have a requirement where, when we dial a DID, the router should provide a dial tone, and should allow the user to dial to extension numbers. Not sure if this is feasible. If at all possible, will need to some configuration help.
Thanks
ArabindaSure it's possible. What's the T1 connected to? The router will offer two-stage dialing (aka dial tone) when the incoming POTS dial-peer does not have the 'direct-inward-dial' command on it. The router will accept any input and search for an outbound dial-peer (or ephone-dn for locally registered DNs) to match. Be careful if the T1 is connected to the PSTN as this is a toll fraud risk. You need to use CoR to reign in what outbound dial-peers are available to it.
Dial Peer Basics:
http://www.cisco.com/en/US/tech/tk652/tk90/technologies_tech_note09186a008010ae1c.shtml
Class of Restrictions:
http://www.cisco.com/en/US/tech/tk652/tk90/technologies_configuration_example09186a008019d649.shtml
Please remember to rate helpful responses and identify helpful or correct answers.
Maybe you are looking for
-
Air Navigation Pro Using Integrated iPhone GPS without a sim card
I use Air Navigation Pro with my iphone on a passenger seat of the plane. Integrated GPS function works just fine without a SIM card installed, but only to a certain speed ~300 km/h or height then it can't find any satellite at all. Can be this pro
-
Hi, Any tips on how to import a sequence of still jpegs and convert to a video? Although Photoshop seems to go through all the motions to do this it doesn't work for me. I just get a video consisting of the first frame of my sequence although the d
-
I can't update my version 10.6.8 to 10.7.2 or later
In my app store on version 10.6.8 Mac OS X I am trying to get apps but when I click 'install' it says I need Mac OS X 10.7.2 and I tried to update it in the apple symbol drop down box but it said all my software updates are up to date. Plz help me.
-
HI, I have suse linux desktop and running Firefox 3.5.2, I was having problems opening Farmville using my browser so I decided to upgrade it. I downloaded the tar file (32-bit) and copied the .so file to the plugins directory but to no avail, Next I
-
When importing into organizer, do files end up duplicating and taking up space on myhard drive? Or does it maintain simply a pointer to the pics?