[asterisk-users] Asterisk to CCM
Jimmy Ezell
jezell at hmhca.com
Tue Jun 16 14:35:14 CDT 2009
FYI,
Got the Asterisk to Cisco CallManager working over h323. After many
days of trying it was a pretty simple fix.
This is what I had:
[globals]
CISCOTRUNK=H323/callman02
[cisco]
exten => _8XXX,1,Dial(${CISCOTRUNK}/${EXTEN:1}@172.16.200.10:1720)
So if I just write it out without the CISCOTRUNK variable it would look
like this:
exten => _8XXX,1,Dial(H323/callman02/${EXTEN:1}@172.16.200.10:1720)
Turns out all I needed was
exten => _8XXX,1,Dial(H323/${EXTEN:1}@172.16.200.10:1720)
I apparently was wrong in thinking that I needed the h323.conf context
name of my Call Manager configuration (callman02).
Calls are working both ways.
I will put full details in my tutorial at
http://qvlweb.blogspot.com/2009/04/asterisk-pbx-install-index.html
Jimmy
________________________________
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Jimmy
Ezell
Sent: Thursday, June 11, 2009 2:05 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Asterisk to CCM
Still no luck getting this to work. I have been looking at the
CallManager Logs but so far that is worse then useless. Anyone out
there have any luck connecting Asterisk 1.4 and Cisco CallManager
3.3(5)?
Jimmy Ezell
http://qvlweb.blogspot.com/2009/04/asterisk-pbx-install-index.html
________________________________
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Jimmy
Ezell
Sent: Wednesday, June 10, 2009 12:12 PM
To: Asterisk Users Mailing List - Non-Commercial
Discussion
Subject: Re: [asterisk-users] Asterisk to CCM
As you can see below I am striping off the 8 before it
ever goes to CCM in the extensions.conf file.
exten =>
_8XXX,1,Dial(${CISCOTRUNK}/${EXTEN:1}@172.16.200.10:1720)
I have the H323 gateway in CCM configured to use the
same Calling Search Space as my phone extensions.
Jimmy Ezell
________________________________
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Dan Austin
Sent: Tuesday, June 09, 2009 4:41 PM
To: Asterisk Users Mailing List - Non-Commercial
Discussion
Subject: Re: [asterisk-users] Asterisk to CCM
Make sure you are stripping the 8 on inbound
calls to that H323 gateway
under CCM and that it has a valid search space
to find your extensions...
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Jimmy
Ezell
Sent: Tuesday, June 09, 2009 3:13 PM
To: Asterisk Users Mailing List - Non-Commercial
Discussion
Subject: [asterisk-users] Asterisk to CCM
Hit another problem in my tutorial in converting
over from Cisco CallManager to Asterisk.
I have been following the instructions at :
http://voip-info.capatres.com/wiki/view/Asterisk+Cisco+CallManager+Integ
ration.html on intergrating Asterisk and Cisco CallManager.
I can make calls from CCM to Asterisk phones -
and yes that felt good to get that working.
My problem is that it does not work from the
other direction. I cannot make calls from CCM phones to Asterisk
Phones.
I want to be able to dial 8 and the extension of
the ccm phone.
I am using CCM 3.3.(5) so I do not have the
option to use a SIP turnk because it is not supported. I am also using
h323 instead of ooh323. Not sure if that might make a difference.
In Asterisk console I get:
-- Executing [8207 at internal:1]
Dial("SIP/207-08bd64c8", "H323/callman02/207 at 172.16.200.10:1720") in new
stack
-- Requested transfer capability: 0x00 -
SPEECH
-- Called callman02/207 at 172.16.200.10:1720
== Everyone is busy/congested at this time
(1:0/0/1)
This is the contents of my h323.conf file:
=================
[general]
port = 1720
bindaddr = 172.17.100.2
disallow=all
allow=gsm ; Always allow GSM, it's
cool :)
allow=ulaw ; see
doc/rtp-packetization for framing options
allow=alaw
dtmfmode=rfc2833
gatekeeper = DISABLE
context=default
[callman02]
type=friend
context=default
ip=172.16.200.10
port=1720
disallow=all
allow=gsm
allow=ulaw
allow=alaw
dtmfmode=rfc2833
nat=no
canreinvite=yes
qualify=yes
extensions.conf file
==============
[globals]
CISCOTRUNK=H323/callman02
[cisco]
exten =>
_8XXX,1,Dial(${CISCOTRUNK}/${EXTEN:1}@172.16.200.10:1720)
exten => _8XXX,n,Congestion()
exten => _8XXX,n,Hangup()
Jimmy Ezell
Converting CCM to Asterisk
http://qvlweb.blogspot.com/2009/04/asterisk-pbx-install-index.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090616/beab1a48/attachment.htm
More information about the asterisk-users
mailing list