Re: Asterisk + Cisco Call Manager
Я тоже новичек в этом деле и передо мной такая же задача.
Я внимательно изучал voip-info.org, ничего пока что не получилось.
Вот например оттуда же пример организации SIP транка:
There are two ways to accomplish this:
Using H.323: In CCM Asterisk appears as a H.323 Gateway.
Using SIP (only in CCM 4.0):
Open up the CallManager Administration web page.
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]
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,Cut(AVAILCHAN=AVAILCHAN,,1) ++exten => s,3,Dial(${AVAILCHAN}/${ARG1}) ++exten => s,4,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
Не совсем понятно что прописывать в SIP.conf и в extensions.conf может кто нибудь напишет более доступно. Бы бы весьма признателен.
|