asterisk@icus.com
2003-Sep-24 14:00 UTC
[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@voiping.com Partner, Networking Specialist Pager: pager-lenny@voiping.com VoIPing, LLC URL: http://www.voiping.com/ PO Box 867, Cedar Park, TX 78630-0867 Mobile: 512-698-VOIP [8647]
Andrew Joakimsen
2003-Sep-24 14:22 UTC
[Asterisk-Users] Dlink DG-104S (chan_mgcp) and configuration w/Asterisk
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@lists.digium.com [mailto:asterisk-users- > admin@lists.digium.com] On Behalf Of asterisk@icus.com > Sent: Wednesday, September 24, 2003 5:01 PM > To: asterisk-users@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 offmy> network, plugged into the WAN port). The system comes up, and Ithrough> 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@voiping.com > Partner, Networking Specialist Pager:pager-lenny@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@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users
Pavel Litvinenko
2003-Sep-25 01:08 UTC
[Asterisk-Users] Dlink DG-104S (chan_mgcp) and configuration w/Asterisk
asterisk@icus.com wrote:>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... >try that : Notify Entry: 192.168.1.1 RGW Name: dlinkgw do not forget remove [] from rgw name if you use web interface ...>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 > >add line => * and than from CLI mgcp debug mgcp audit endpoint *@dlinkgw you will see what lines are on that gw>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@voiping.com >Partner, Networking Specialist Pager: pager-lenny@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@lists.digium.com >http://lists.digium.com/mailman/listinfo/asterisk-users > > >-- ---- --------- Best Regards, Pavel Litvinenko. ICQ: 16224754 Ph: (8632) 923962, 923640 sip:litw@iptel.org
dave@bagpuss.nu
2003-Sep-25 02:36 UTC
[Asterisk-Users] Dlink DG-104S (chan_mgcp) and configuration w/Asterisk
Hi, Either change the RGW name on the Dlink to be dlinkgw, or alter the mgcp.conf to read: .... [172.16.1.42] host = 172.16.1.42 context = default line => aaln/1 line => aaln/2 line => aaln/3 line => aaln/4 Then of course reload your config. Dave. Quoting asterisk@icus.com:> 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@voiping.com > Partner, Networking Specialist Pager: pager-lenny@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@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users >