I am trying to dial a mgcp extention from my sip phone and i am getting this
error message. anyone got any idea?
error
I> -- Executing Dial("SIP/2204-5dc2",
"MGCP/aaln/1@10.0.1.150") in new
stack
May 19 22:30:01 NOTICE[1251156800]: chan_mgcp.c:1104 find_subchannel: Gateway
'10.0.1.150' (and thus its endpoint 'aaln/1') does not exist
May 19 22:30:01 WARNING[1251156800]: chan_mgcp.c:2608 mgcp_request: Unable to
find MGCP endpoint 'aaln/1@10.0.1.150'
May 19 22:30:01 NOTICE[1251156800]: app_dial.c:536 dial_exec: Unable to create
channel of type 'MGCP'
== Everyone is busy at this time
-- Executing VoiceMail("SIP/2204-5dc2", "u2202") in new
stack
-- Playing 'vm-theperson' (language 'en')
-- Playing 'digits/2' (language 'en')
-- Playing 'digits/2' (language 'en')
exten.conf setup with mgcp
exten => 2202,1,Dial(MGCP/aaln/1@10.0.1.150)
exten = 2202,2,Voicemail(u2202)
exten => 2202,3,Hangup
mgcp.conf
[general]
port = 2427
bindaddr = 0.0.0.0
[dlinkgw]
host=10.0.1.150
canreinvite=no
context=default
line => aaln/1
Regards,
Steve Kalcevich
Hi!> I am trying to dial a mgcp extention from my sip phone and i am getting this > error message. anyone got any idea?Do a "mgcp show endpoints" at the CLI and watch the output.> May 19 22:30:01 NOTICE[1251156800]: chan_mgcp.c:1104 find_subchannel: Gateway > '10.0.1.150' (and thus its endpoint 'aaln/1') does not exist > May 19 22:30:01 WARNING[1251156800]: chan_mgcp.c:2608 mgcp_request: Unable to > find MGCP endpoint 'aaln/1@10.0.1.150'> mgcp.conf > > [dlinkgw] > host=10.0.1.150 > canreinvite=no > context=default > line => aaln/1Change [dlinkgw] to [10.0.1.150], and the do a "restart" - depending on the Asterisk CVS version that you are using a "reload" or "mgcp reload" might not be sufficent/ might not work. See also: http://www.voip-info.org/wiki-Asterisk+config+mgcp.conf Cheers, Philipp
Hi!> Below is my conf that i have now.Is there anything I need to configure in the > Dlink gateway for this to work with asterisk?Here a few things you can try: - upgrade to CVS-HEAD (not 0.9.0) and see if things are different - issue a "ngrep port 2727" to monitor what your dlink is sending - uncomment the bindaddr= statement Make sure you do a RESTART and not a RELOAD after any changes that are supposed to affect MGCP. If you continue to experience problems please open a bug report and include as much data as you can provide. In this case you might also want to try to go back to CVS HEAD of 03/05/04 00:50:56. Cheers, Philipp