Как связать CCM и TrixBox
Добрый день!
Помогите пожалуста!
Есть статья http://www.voip-info.org/wiki/view/Asterisk+Cisco+CallManager+Integration
Прописал как и советают!
Using H.323: In CCM Asterisk appears as a H.323 Gateway.
Using SIP (only in CCM 4.X+):
Open up the CallManager Administration web page.
Since a SIP trunk requires MTP, make sure you have one:
Service -> Media Resource -> Media Termination Point
Normally your CallManager server should appear there if you do an empty query
if not, go to the CallManager Serviceabilty web page, and activate the Cisco IP Voice Media Streaming App service
Select Device->Trunk from the menu.
Select the "Add a New Trunk" link from the upper right hand corner of the "Find and List Trunks" page.
Select "SIP Trunk" as the "Trunk type" and "SIP" as the "Device Protocol". Click on the "Next" button.
Enter a name in the "Device Name". Valid characters are letters, numbers, dashes, dots (periods), and underscores. The device name is only used internally in Call Manager so it can be anything you want.
Enter a description in the "Description" field.
Select a device pool.
Enter the IP address of your Asterisk server in the "Destination Address" field.
Select "UDP" as the "Outgoing Transport Type".
Modify any other settings as needed for your ((CiscoCallManager|CallManager) installation.
Click on the "Insert" button.
Add route patterns in CallManager that send calls to Asterisk using the SIP trunk that you just created.
In sip.conf:
[callman01]
type=friend
context=incoming
host=10.0.0.1
disallow=all
allow=ulaw
allow=alaw
nat=no
canreinvite=yes
qualify=yes
[callman02]
type=friend
context=incoming
host=10.0.0.2
disallow=all
allow=ulaw
allow=alaw
nat=no
canreinvite=yes
qualify=yes
It is important to use "qualify" in sip.conf since Call Manager does not support registration for SIP trunks.
Here is a simple example of how to send calls to Call Manager in extensions.conf:
[macro-dialout-callmanager]
exten => s,1,ChanIsAvail(SIP/callman02&SIP/callman01)
exten => s,2,Dial(${CUT(AVAILCHAN||1)}/${ARG1})
exten => s,3,Hangup
exten => s,102,Congestion
[outgoing]
exten => _XXXX,1,Macro(dialout-callmanager,${EXTEN})
exten => _9NXXXXXX,1,Macro(dialout-callmanager,${EXTEN})
exten => _91NXXNXXXXXX,1,Macro(dialout-callmanager,${EXTEN})
exten => i,1,Congestion
Не работает!
AugurNecroKHB
|