cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
494
Views
5
Helpful
11
Replies

MGCP gateway calling number not show in CUCM

Hi everyone.

I have a small problem.

I have configured MGCP service on Cisco 2811 Router and connected it to the CUCM (12.5) and all calls are working fine.

I can call outside and I can receive calls from outside. I only have 1 FXO port connected to the PSTN and no FXS ports exists on 2811.

My problem is I do not see Calling number on CUCM. But in debug vpm signal command I can see PSTN sending me the calling number.

In my phone I see unknown number in calls.

Another problem is when I decline the call from IP phone CUCM (Attendant Number) the call is not ending on the other end. And vice-versa. After maybe a minute call is released.

My main problem is Unknown Number on incoming calls from PSTN.

I have enabled Caller ID on voice port 0/0/0.

Could you let me know what can cause to this?

11 Replies 11

b.winter
VIP
VIP

Please post the full config of the MGCP GW (without any sensitive info) and also the output of "debug isdn q931" or "debug vpm signal"

Hello. Here is the configuration

!
version 12.4
!
hostname ganja_vr
!
boot-start-marker
boot-end-marker
!
voice-card 0
no dspfarm
!
!
!
voice service voip
allow-connections h323 to h323
h323
no call service stop
!
!
archive
log config
hidekeys
!
control-plane
!
voice-port 0/0/0
timing hookflash-out 50
caller-id enable
!
voice-port 0/0/1
!
voice-port 0/0/2
!
voice-port 0/0/3
!
ccm-manager redundant-host 172.18.106.11
ccm-manager mgcp
ccm-manager music-on-hold
ccm-manager config server 172.18.106.10
ccm-manager config
!
mgcp
mgcp call-agent 172.18.106.10 2427 service-type mgcp version 0.1
mgcp dtmf-relay voip codec all mode out-of-band
mgcp rtp unreachable timeout 1000 action notify
mgcp modem passthrough voip mode nse
mgcp package-capability rtp-package
mgcp package-capability sst-package
mgcp package-capability pre-package
no mgcp package-capability res-package
no mgcp package-capability fxr-package
no mgcp timer receive-rtcp
mgcp sdp simple
mgcp fax t38 inhibit
mgcp rtp payload-type g726r16 static
mgcp bind control source-interface FastEthernet0/0.11
mgcp bind media source-interface FastEthernet0/0.11
mgcp dns stale threshold 20
!
mgcp profile default
!
dial-peer voice 999000 pots
service mgcpapp
port 0/0/0
!
dial-peer voice 1 pots
port 0/0/0
!
dial-peer voice 2 pots
port 0/0/0
!
gateway
timer receive-rtp 1200

And here is the output of debug vpm signal.

I changed the end of Caller id to xxxx to hide my number.

*Nov 28 13:07:32.292: htsp_process_event: [0/0/0, FXOLS_ONHOOK, E_DSP_SIG_0000]fxols_onhook_ringing
*Nov 28 13:07:32.292: htsp_timer - 125 msec
*Nov 28 13:07:32.420: htsp_process_event: [0/0/0, FXOLS_WAIT_RING_MIN, E_HTSP_EVENT_TIMER]fxols_wait_ring_min_timer
*Nov 28 13:07:32.420: htsp_timer - 10000 msec
*Nov 28 13:07:32.420: htsp_timer3 - 5600 msec
*Nov 28 13:07:32.420: [0/0/0] htsp_start_caller_id_rx:BELLCORE
*Nov 28 13:07:32.420: [0/0/0] htsp_dsm_create_success returns 1
*Nov 28 13:07:33.380: htsp_process_event: [0/0/0, FXOLS_RINGING, E_DSP_SIG_0100]
*Nov 28 13:07:33.380: fxols_ringing_not
*Nov 28 13:07:33.380: htsp_timer_stop
*Nov 28 13:07:33.380: htsp_timer - 10000 msec
*Nov 28 13:07:34.672: [0/0/0] htsp_dsm_feature_notify_cb returns 2 id=DSM_FEATURE_SM_CALLERID_RX
*Nov 28 13:07:34.672: htsp_process_event: [0/0/0, FXOLS_RINGING, E_HTSP_CALLERID_RX_DONE]
*Nov 28 13:07:34.672: htsp_timer_stop
*Nov 28 13:07:34.672: htsp_timer_stop3
*Nov 28 13:07:34.672: [0/0/0] htsp_stop_caller_id_rx. message length 42htsp_setup_ind
*Nov 28 13:07:34.672: [0/0/0] get_fxo_caller_id:Caller ID received. Message type=128 length=42 checksum=8D
*Nov 28 13:07:34.672: [0/0/0] Caller ID String 80 27 01 08 31 31 32 38 31 36 33 32 02 0C 39 39 34 35 35 34 31 34 34 30 30 32 07 0D 2B 39 39 34 35 35 34 31 34 34 30 30 32 8D
*Nov 28 13:07:34.672: [0/0/0] get_fxo_caller_id calling num=99455414xxxx calling name=+99455414xxxx calling time=11/28 16:32
*Nov 28 13:07:34.676: fxols_callerid_done: call being answered
*Nov 28 13:07:34.680: htsp_process_event: [0/0/0, FXOLS_WAIT_SETUP_ACK, E_HTSP_SETUP_ACK]
*Nov 28 13:07:34.680: fxols_wait_setup_ack:
*Nov 28 13:07:34.680: [0/0/0] set signal state = 0xC timestamp = 0fxols_check_auto_call
*Nov 28 13:07:34.680: htsp_process_event: [0/0/0, FXOLS_PROCEEDING, E_HTSP_CONNECT]fxols_offhook_connect
*Nov 28 13:07:34.680: htsp_timer_stop
*Nov 28 13:07:34.684: [0/0/0] htsp_dsm_close_done
*Nov 28 13:07:34.704: htsp_process_event: [0/0/0, FXOLS_CONNECT, E_HTSP_VOICE_CUT_THROUGH]fxols_connect_proc_voice
*Nov 28 13:07:34.708: htsp_call_bridged invoked
*Nov 28 13:07:34.712: htsp_process_event: [0/0/0, FXOLS_CONNECT, E_HTSP_VOICE_CUT_THROUGH]fxols_connect_proc_voice

Since you see the clid coming in from the PSTN the next question would be to determine if the router is sending the information to CUCM. A debug mgcp packets may do this, but that pretty verbose. A better way to look at this would be to pull the trace files in CUCM and look for the incoming MGCP signaling to see if the router is passing the clid to CUCM.

If the router is not passing the information, that would indicate a misconfiguration of the MGCP gateway in CUCM (which tells the MGCP gateway what to do). If the router is passing the information, that would indicate that CUCM is blocking it from being presented to the internal device.

Maren

Thank you for your reply @Maren Mahoney 

I have done it. In CUCM RTMT I do not see the the Calling DN.

In fact can you tell me what setting sends the clid from gateway to CUCM?

dial-peers?

Because I have done what documentations says.

Here is a post that describes enabling caller ID for an MGCP FXO port. https://community.cisco.com/t5/ip-telephony-and-phones/caller-id-with-mgcp-gateway/td-p/1239520 

Dear @Elliot Dierksen.

Thanks for your comment. But I have done all of them.

Let me expand my topology view for you.

The router is the behind of IPSec tunnel. And the router is using a subinterface to communicate with CUCM.

I have entered mgcp bind parametrs to communicate to CUCM.

I have entered all required commands on Gateway and in CUCM. I have checked the link you shared and I see all my CUCM and gateway configs match as show in the link.

 

In fact there should not be too much configurations between them to enable caller id. But I am now thinking there is not a configuration problem but there is a problem between their communications.

 

Could you let me know does it matter ccm-mangare music-on-hold bind <interface> to be entered? Because this command does not work with Sub interface.

Are you sure the provider is sending caller ID? I would suggest putting an analog phone that supports caller ID on that line outside of business hours and see if it gets caller ID.

Yes @Elliot Dierksen.

You can see the caller ID in my previous post. (11-28-2022 04:35 AM)

I can see caller id in debug vpm signals output.

Are you on IOS version 12.4.20T or later?

If not, upgrade it to this or a greater version. You won't get any IOS versions for 2811 routers now from the Cisco website, so your best bet would be to check any spare equipment you have of the same model and see if you can pull the IOS version from that.

Failing that, consider upgrading the hardware to something that's more current and in support.

I missed that you were using a 2800 router. I can't find the citation, but I recall that there were some strange limitations in caller id on FXO ports in that platform. My recollection is that it only supported FXO caller id when using H.323 dial peers. This is a 15+ year old notion, but I think that is true. The closest link I can find is this. https://community.cisco.com/t5/ip-telephony-and-phones/caller-id-on-fxo-port/td-p/871957 

Getting Started

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: