12-23-2009 05:11 PM
So ive been working on my CUCM lab and trying to make calls work outbound to the PSTN but they are not working:
!
voice-port 1/1/0
connection plar opx 100
station-id number 100
!
voice-port 1/1/1
!
!
!
!
!
dial-peer voice 102 pots
destination-pattern 9[^1].........
port 1/1/0
!
dial-peer voice 103 pots
destination-pattern 911
port 1/1/0
forward-digits all
!
dial-peer voice 104 pots
destination-pattern 9678.......
port 1/1/0
!
dial-peer voice 100 pots
destination-pattern 9770.......
port 1/1/0
!
dial-peer voice 105 pots
destination-pattern 9404.......
port 1/1/0
!
dial-peer voice 106 pots
destination-pattern 91..........
port 1/1/0
!
dial-peer voice 107 pots
destination-pattern 9T
port 1/1/0
!
dial-peer voice 1 voip
destination-pattern 1..
voice-class h323 1
session target ipv4:10.0.1.1
dtmf-relay h245-alphanumeric
codec g711ulaw
no vad
I ran the show active voice calls command and got this when I was trying to make calls:
Telephony call-legs: 1
SIP call-legs: 0
H323 call-legs: 1
Call agent controlled call-legs: 0
SCCP call-legs: 0
Multicast call-legs: 0
Media call-legs: 0
Total call-legs: 2
GENERIC:
SetupTime=897479720 ms
Index=1
PeerAddress=100
PeerSubAddress=
PeerId=1
PeerIfIndex=16
LogicalIfIndex=0
ConnectTime=897482640 ms
CallDuration=00:00:21 sec
CallState=4
CallOrigin=2
ChargedUnits=0
InfoType=speech
TransmitPackets=1098
TransmitBytes=175680
ReceivePackets=1097
ReceiveBytes=175520
VOIP:
ConnectionId[0x800B4DBF 0x3C2531B3 0x21002101 0xA01010C]
IncomingConnectionId[0x800B4DBF 0x3C2531B3 0x21002101 0xA01010C]
CallID=72
RemoteIPAddress=10.0.1.1
RemoteUDPPort=17292
RemoteSignallingIPAddress=10.0.1.1
RemoteSignallingPort=52490
RemoteMediaIPAddress=10.1.1.12
RemoteMediaPort=17292
RoundTripDelay=0 ms
SelectedQoS=best-effort
tx_DtmfRelay=h245-alphanumeric
FastConnect=FALSE
Separate H245 Connection=TRUE
H245 Tunneling=FALSE
SessionProtocol=cisco
ProtocolCallId=
SessionTarget=
OnTimeRvPlayout=18100
GapFillWithSilence=0 ms
GapFillWithPrediction=0 ms
GapFillWithInterpolation=0 ms
GapFillWithRedundancy=0 ms
HiWaterPlayoutDelay=65 ms
LoWaterPlayoutDelay=55 ms
TxPakNumber=909
TxSignalPak=0
TxComfortNoisePak=0
TxDuration=18190
TxVoiceDuration=18190
RxPakNumber=908
RxSignalPak=0
RxComfortNoisePak=0
RxDuration=18150
RxVoiceDuration=18100
RxOutOfSeq=0
RxLatePak=0
RxEarlyPak=0
RxBadProtocol=0
PlayDelayCurrent=55
PlayDelayMin=55
PlayDelayMax=65
PlayDelayClockOffset=-124553562
PlayDelayJitter=0 ms
PlayErrPredictive=0
PlayErrInterpolative=0
PlayErrSilence=0
PlayErrBufferOverFlow=10
PlayErrRetroactive=0
PlayErrTalkspurt=0
OutSignalLevel=-41
InSignalLevel=-42
LevelTxPowerMean=0
LevelRxPowerMean=0
LevelBgNoise=0
ERLLevel=9
ACOMLevel=9
ErrRxDrop=0
ErrTxDrop=0
ErrTxControl=0
ErrRxControl=0
ReceiveDelay=55 ms
LostPackets=0
EarlyPackets=0
LatePackets=0
SRTP = off
TextRelay = off
VAD = disabled
CoderTypeRate=g711ulaw
CodecBytes=160
Media Setting=flow-through
CallerName=
CallerIDBlocked=False
OriginalCallingNumber=100
OriginalCallingOctet=0x0
OriginalCalledNumber=97705707990
OriginalCalledOctet=0xA8
OriginalRedirectCalledNumber=
OriginalRedirectCalledOctet=0xFF
TranslatedCallingNumber=100
TranslatedCallingOctet=0x0
TranslatedCalledNumber=97705707990
TranslatedCalledOctet=0xA8
TranslatedRedirectCalledNumber=
TranslatedRedirectCalledOctet=0xFF
GwReceivedCalledNumber=97705707990
GwReceivedCalledOctet3=0xA8
GwReceivedCallingNumber=100
GwReceivedCallingOctet3=0x0
GwReceivedCallingOctet3a=0x81
MediaInactiveDetected=no
MediaInactiveTimestamp=
MediaControlReceived=
LongDurationCallDetected=no
LongDurCallTimestamp=
LongDurcallDuration=
Username=
Then on my dial peers:
sh dial-peer voice summary
dial-peer hunt 0
AD PRE PASS OUT
TAG TYPE MIN OPER PREFIX DEST-PATTERN FER THRU SESS-TARGET STAT PORT
102 pots up up 9[^1]......... 0 up 1/1/0
103 pots up up 911 0 up 1/1/0
104 pots up up 9678....... 0 up 1/1/0
100 pots up up 9770....... 0 up 1/1/0
105 pots up up 9404....... 0 up 1/1/0
106 pots up up 91.......... 0 up 1/1/0
107 pots up up 9T 0 up 1/1/0
1 voip up up 1.. 0 syst ipv4:10.0.1.1
UITS-2621XM#
I don't understand why I can't make outbound calls and receive them from the outside. Can someone please help me understand why? Would translation rules be a cause of this? I don't know how to configure them if they are, and i don't understand them much.
12-24-2009 05:53 AM
I see that my gateway is getting the incoming calls now but my phones aren't ringing or when I dial out the are ringing out, BUT I get this distorted noise. Any ideas?
12-24-2009 06:05 AM
Have you added the connection plar opx 110 to all voice-ports. If you dont add them the gateway wont accept incoming calls and caller will just hear ringing.
Secondly, in most of your POTS dial-peers you have not configured forward digit
For example dial-peer having destination-pattern 97800..... and you call 9780012345 will have 97800 removed and rest of number 12345 will be sent to PSTN. This may result in no-response or reorder.
12-24-2009 06:25 AM
plar opx 110: you mean the other ext on my network?
12-24-2009 06:31 AM
Any incoming call on FXO - analog line does not contain DNIS (dialled number) unlike DID on PRI lines. So in order to route incoming calls to a IP Phone preferably to operator, put the following command under all voice-ports (FXO ports)
connection plar opx
12-24-2009 07:39 AM
I'm confused on which dial-peer i'm suppose to assign this too.
12-26-2009 09:06 AM
You apply "connection plar opx
12-26-2009 09:54 AM
I got outbound working, I'm working on Inbound. So I thought I had the correct configuration for incoming calls to work from the PSTN.... AGH!!
12-27-2009 04:18 PM
Finally got inbound and outbound working. I tried setting up my Caller-ID but my FXO card does not support it. Also Call Waiting, and having problems adding in calls when i have a active call on the line. I tried searching the administration guide, but I don't know what I'm looking for when it comes to setting up the Call Waiting, Three Waiting (Conferencing) etc.. I don't know where I need to look.
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