02-26-2011 12:24 AM - edited 03-16-2019 03:39 AM
Hi guys,
I can not make a call from the IP-Phone to PSTN, but I can make a call from pstn.
I am using CallManager with MGCP protocol to connect my router Gateway. The Gateway had registered.
The call routing seems okay, because i can see the call setup is success at the router from debug command.
here is my mgcp router configuration :
------------------------------------------------------------------------------------------------------------
ccm-manager config server 10.10.1.10
ccm-manager config
!
mgcp
mgcp call-agent 10.10.1.10 2427 service-type mgcp version 0.1
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 timer receive-rtcp
mgcp sdp simple
mgcp fax t38 inhibit
mgcp bind control source-interface GigabitEthernet0/0.2
mgcp bind media source-interface GigabitEthernet0/0.2
!
mgcp profile default
!
!
voice-port 0/2/0
signal groundStart
echo-cancel coverage 64
timeouts ringing 10
timing hookflash-out 50
description .:.:. Telkom Line #1 .:.:.
!
dial-peer voice 999020 pots
preference 1
service mgcpapp
destination-pattern 90T
port 0/2/0
--------------------------------------------------------------------------------------------------------------
kindly need your help guys.,
Regards,
Pontas
Solved! Go to Solution.
02-26-2011 02:35 AM
Hello Pontas,
The reason why you can't call from IP Phone to PSTN is because those calls are not hitting a valid outgoing dial-peer towards the PSTN:
Feb 26 06:32:04.784: //-1/xxxxxxxxxxxx/CCAPI/ccIFCallSetupRequestPrivate:
Interface=0x29B4D95C, Interface Type=9, Destination=0.0.0.0, Mode=0x9,
Call Params(Calling Number=,(Calling Name=)(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed),
Called Number=(TON=Unknown, NPI=Unknown), Calling Translated=FALSE,
Subscriber Type Str=, FinalDestinationFlag=FALSE, Outgoing Dial-peer=0, Call Count On=FALSE,
Source Trkgrp Route Label=, Target Trkgrp Route Label=, tg_label_flag=0, Application Call Id=)
Since this MGCP GW is controlled from the Call Manager, you need to configure an FXS port towards the PSTN, route-patterns from the Call Manager for calls going towards the PSTN...
Here you have some links to documentation:
* Configuring Cisco CallManager with IOS MGCP Gateways (Analog FXO, FXS Ports): http://tools.cisco.com/squish/78a44
Where you can find:
* Configuring the Cisco IOS MGCP Gateway: http://tools.cisco.com/squish/373a9
* Configure MGCP Gateway and FXO/FXS Ports on a Cisco CallManager Server: http://tools.cisco.com/squish/BE88A
(It is an old document, but the configuration is very similar to what you need for older CM versions. Make sure you confirm with the Telco the parameters of the FXS ports - encoding, frame...- and configure the Route Pattern for calls going towards the PSTN to be sent towards that Gateway).
I hope it helps,
German
02-26-2011 02:35 AM
Hello Pontas,
The reason why you can't call from IP Phone to PSTN is because those calls are not hitting a valid outgoing dial-peer towards the PSTN:
Feb 26 06:32:04.784: //-1/xxxxxxxxxxxx/CCAPI/ccIFCallSetupRequestPrivate:
Interface=0x29B4D95C, Interface Type=9, Destination=0.0.0.0, Mode=0x9,
Call Params(Calling Number=,(Calling Name=)(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed),
Called Number=(TON=Unknown, NPI=Unknown), Calling Translated=FALSE,
Subscriber Type Str=, FinalDestinationFlag=FALSE, Outgoing Dial-peer=0, Call Count On=FALSE,
Source Trkgrp Route Label=, Target Trkgrp Route Label=, tg_label_flag=0, Application Call Id=)
Since this MGCP GW is controlled from the Call Manager, you need to configure an FXS port towards the PSTN, route-patterns from the Call Manager for calls going towards the PSTN...
Here you have some links to documentation:
* Configuring Cisco CallManager with IOS MGCP Gateways (Analog FXO, FXS Ports): http://tools.cisco.com/squish/78a44
Where you can find:
* Configuring the Cisco IOS MGCP Gateway: http://tools.cisco.com/squish/373a9
* Configure MGCP Gateway and FXO/FXS Ports on a Cisco CallManager Server: http://tools.cisco.com/squish/BE88A
(It is an old document, but the configuration is very similar to what you need for older CM versions. Make sure you confirm with the Telco the parameters of the FXS ports - encoding, frame...- and configure the Route Pattern for calls going towards the PSTN to be sent towards that Gateway).
I hope it helps,
German
02-26-2011 07:49 AM
hi german,
thanks for your reply,
It's solved., i've change the signaling type from groundstart to loopstart. and it's working.
I thought the signaling type to pstn must groundstart. but it can use loopstart.
what a stupid i am.,
still more practice.
Thanks,
Pontas
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