06-20-2018 08:39 PM - edited 03-17-2019 01:03 PM
How to connect asterisk with cisco call manager via sip trunk ? Please tell me the configuration to be done on the router. I'm new here. Please help. Thank you in advance.
06-20-2018 10:06 PM
are you connecting the asteriks machine to call manager or a physical voice gateway
06-21-2018 07:07 AM
Asterisk to the call manager.
06-20-2018 11:33 PM
Hi @Slim Shady
On your call manager:
Create first outbound dial-peer to Asterisk:
Routeur(config-t)#dial-peer voice X voip
Routeur(config-t)#description TO Asterisk
Routeur(config-t)#destination-pattern Y
Routeur(config-t)#session target ipv4:A.B.C.D
Routeur(config-t)#session protocol sipv2
X = number of your dial peer...whatever you want.
Y = string that represent the number called,i.e 307... then you mean that number called 307000 to 307999 will be run on that dial-peer.
A.B.C.D = ip address of Asterisk server.
You match with this dial peer, calls from your Call Manager to Asterisk. You are the "calling".
Then, create inbound dial-peer from Asterisk:
Routeur(config-t)#dial-peer voice X' voip
Routeur(config-t)#description FROM Asterisk
Routeur(config-t)#incoming called-number Z
X' = another number for your dial-peer
Z = your dialplan, for example your ip phone number is 78.. (7800 to 7899)
Then you have to configure:
incoming called-number 78..
You match with this dial peer calls from Asterisk when your are the "called".
Finally, you can check on the router Call Manager the dialplan when you want to call remote phone number (on Asterisk):
Router#show dialplan number 307001
You check the dial peer in use when you will call the remote number 307001.
06-21-2018 07:11 AM
Thank you for your reply. I also want to ask how to access the cisco call manager on a router ? Is there any configuration ? I'm using a router which has already cisco call manager in it.
06-21-2018 07:38 AM
Ok @Slim Shady
If you have call manager "in it" then you just have to configure the router as call manager. Register ip phones depend of the type of firmware (sccp/sip), configure dial-peers etc...
Check the licence lifetime with show licence.
If you speak about GUI in order to configure the router as call manager it's an other solution....but limited in comparison with CLI.
06-21-2018 08:07 AM
okay got it. So how to configure the router as call manager ? Type of firmware is sip.
Is it possible to configure the call manager on the router through GUI ? If yes then how ?
And also which one would be better ? with CLI or GUI ? Thank you.
06-21-2018 08:29 AM - edited 06-21-2018 08:31 AM
Ok @Slim Shady
Here the doc to activate GUI for your Call Manager:
Firmware SIP or SCCP depend of what you want and what you have got as ip phones.
Describe here how to configure a Call Manager would be too difficult.
The holy bible in order to configure call manager express (on router) is the cmeadmin, you will find everything and for sure the minimum to register an ip phone (whatever the firmware) and make local calls and external calls (plus additional features):
https://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucme/admin/configuration/manual/cmeadm.html
06-21-2018 09:47 AM
Thank you so much. I tried enabling the GUI but it did not work. I'm having problem to understand the step 4 of the "Enable GUI access for system administrator". What is correct syntax of it ?
06-21-2018 11:08 AM - edited 06-21-2018 01:34 PM
Ok @Slim Shady
Step 4 define an initial username and password for the system administrator to access the GUI. Once you have created this account you can log in to the GUI.
Example:
web admin system name pwa3 secret 0 wp78p
Username = pwa3
Password = wp78p
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