Can't get inbound or outbound calls coming in but POTS line is working?

Unanswered Question
Dec 23rd, 2009
User Badges:

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.






  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
khayes1984 Thu, 12/24/2009 - 05:53
User Badges:

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?

pratik.rb Thu, 12/24/2009 - 06:05
User Badges:

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 . By default the router will strip all digits explicitly matched on a dial-peer and only send the rest of digits.


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.

khayes1984 Thu, 12/24/2009 - 06:25
User Badges:

plar opx 110:  you mean the other ext on my network?

pratik.rb Thu, 12/24/2009 - 06:31
User Badges:

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

khayes1984 Thu, 12/24/2009 - 07:39
User Badges:

I'm confused on which dial-peer i'm suppose to assign this too.

pratik.rb Sat, 12/26/2009 - 09:06
User Badges:

You apply "connection plar opx " to voice-port configuration not dial-peer. Every FXO port has a voice-port created in IOS configuration. This configuration will enable incoming calls to be directed towards a desired extension as configured in

khayes1984 Sat, 12/26/2009 - 09:54
User Badges:

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!!

khayes1984 Sun, 12/27/2009 - 16:18
User Badges:

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.

Actions

This Discussion