[Asterisk-Users] Dlink DG-104S (chan_mgcp) and configuration w/Asterisk

Andrew Joakimsen andrew at envisionstudio.net
Wed Sep 24 14:22:49 MST 2003


This is what I have in my mgcp.conf

[dlink]
threewaycalling=yes
transfer=yes
callwaiting=yes
callwaitingcallerid=yes
host=dynamic
context=international
nat=yes
;dtmf=inband
disallow=all
allow=g711
allow=ulaw
callerid = Andrew Joakimsen <321>
line => aaln/1
callerid = Andrew Joakimsen <322>
line => aaln/2
callerid = Andrew Joakimsen <323>
line => aaln/3
callerid = Andrew Joakimsen <324>
line => aaln/4

I would at least change the host=dynamic (or host=ip of dlink)


In the dlink I have the following set:
Notify Entity: dlink@[SERVERIP]:2427
RGW Name: dlink

I am not sure if it will work if the * server is on a public IP and the
dlink behind a NAT.


> -----Original Message-----
> From: asterisk-users-admin at lists.digium.com [mailto:asterisk-users-
> admin at lists.digium.com] On Behalf Of asterisk at icus.com
> Sent: Wednesday, September 24, 2003 5:01 PM
> To: asterisk-users at lists.digium.com
> Subject: [Asterisk-Users] Dlink DG-104S (chan_mgcp) and configuration
> w/Asterisk
> 
> I have a DG-104S (which I reset to factory settings, it's DHCP'ing off
my
> network, plugged into the WAN port).  The system comes up, and I
through
> the
> web browser set under Call Agent IP Address to:
> 
> Notify Entry: dlinkgw@[192.168.1.1]:2427 (192.168.1.1 is the * server)
> I have RGW Name: and DNS IP addres the DNS IP of the MGCP box and DNS
> State
> disabled (not sure what to set it to) -- don't have a manual for it...
> 
> In my mgcp.conf I have:
> ;
> ; MGCP Configuration for Asterisk
> ;
> [general]
> port = 2427
> bindaddr = 0.0.0.0
> 
> [dlinkgw]
> host = 172.16.1.42
> context = default
> line => aaln/1
> line => aaln/2
> line => aaln/3
> line => aaln/4
> 
> But I'm getting errors spew'ing on the * console:
> 
> NOTICE[8201]: File chan_mgcp.c, Line 1099 (find_subchannel): Gateway
> '172.16.1.42' (and thus its endpoint 'aaln/1') does not exist
> NOTICE[8201]: File chan_mgcp.c, Line 1099 (find_subchannel): Gateway
> '172.16.1.42' (and thus its endpoint 'aaln/3') does not exist
> NOTICE[8201]: File chan_mgcp.c, Line 1099 (find_subchannel): Gateway
> '172.16.1.42' (and thus its endpoint 'aaln/2') does not exist
> NOTICE[8201]: File chan_mgcp.c, Line 1099 (find_subchannel): Gateway
> '172.16.1.42' (and thus its endpoint 'aaln/4') does not exist
> 
> Any ideas or does someone have a prefer config that works...
> 
> Thanks,
> Lenny
> 
> ---
> Lenny Tropiano                          E-mail: lenny at voiping.com
> Partner, Networking Specialist          Pager:
pager-lenny at voiping.com
> VoIPing, LLC                            URL:
http://www.voiping.com/
> PO Box 867, Cedar Park, TX 78630-0867   Mobile: 512-698-VOIP [8647]
> 
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list