Hello all, Please forgive me if this sounds a little (or a lot) ignorant as I am very new to asterisk. Right now I have two pc's connected back to back through an E100 card running asterisk. I have openh323 running as well and I am able to route calls through the E1 line. Next up I would like to be able to register asterisk with a gatekeeper. On another computer is running openGK. Using the gatekeeper I am able to register my h323 client with a phone number, it all seems to be working. When I put the ip address of the gatekeeper into h323.conf, asterisk failed to load. I get an error that I can't open an h323 listener on port 1720. Has anyone done this before? Your help would be appreciated. Regards, Sean Langley, P.Eng Firmware Engineer General Dynamics Canada (403)730-1482 sean.langley@gdcanada.com
You shouldn't run the gatekeeper and asterisk on the same machine. Jeremy McNamara Langley, Sean wrote:>Hello all, > >Please forgive me if this sounds a little (or a lot) ignorant as I am very >new to asterisk. > >Right now I have two pc's connected back to back through an E100 card >running asterisk. I have openh323 running as well and I am able to route >calls through the E1 line. Next up I would like to be able to register >asterisk with a gatekeeper. On another computer is running openGK. Using >the gatekeeper I am able to register my h323 client with a phone number, it >all seems to be working. > >When I put the ip address of the gatekeeper into h323.conf, asterisk failed >to load. I get an error that I can't open an h323 listener on port 1720. > >Has anyone done this before? Your help would be appreciated. > >Regards, > >Sean Langley, P.Eng >Firmware Engineer >General Dynamics Canada >(403)730-1482 >sean.langley@gdcanada.com > >_______________________________________________ >Asterisk-Users mailing list >Asterisk-Users@lists.digium.com >http://lists.digium.com/mailman/listinfo/asterisk-users > >
Langley, Sean wrote:>When I put the ip address of the gatekeeper into h323.conf, asterisk failed >to load. I get an error that I can't open an h323 listener on port 1720. > >Something is already using port 1720. Jeremy McNamara
Use the gatekeeper ip in the extention that you are dialing in extensions.conf exten => 100,1,Dial,H323/user@IPofGK ----- Original Message ----- From: "Langley, Sean" <Sean.Langley@gdcanada.com> To: <asterisk-users@lists.digium.com> Sent: Friday, August 01, 2003 5:46 PM Subject: [Asterisk-Users] Using OH323 and Gatekeeper> Hello all, > > Please forgive me if this sounds a little (or a lot) ignorant as I am very > new to asterisk. > > Right now I have two pc's connected back to back through an E100 card > running asterisk. I have openh323 running as well and I am able to route > calls through the E1 line. Next up I would like to be able to register > asterisk with a gatekeeper. On another computer is running openGK. Using > the gatekeeper I am able to register my h323 client with a phone number,it> all seems to be working. > > When I put the ip address of the gatekeeper into h323.conf, asteriskfailed> to load. I get an error that I can't open an h323 listener on port 1720. > > Has anyone done this before? Your help would be appreciated. > > Regards, > > Sean Langley, P.Eng > Firmware Engineer > General Dynamics Canada > (403)730-1482 > sean.langley@gdcanada.com > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users >
John wrote:>Use the gatekeeper ip in the extention that you are dialing in >extensions.conf>exten => 100,1,Dial,H323/user@IPofGKI can see how by doing that, asterisk would know how to route to the gatekeeper for the phone numbers that it knows about. But how do I get asterisk to register with the gk so that any time another endpoint connects to the gk with it's given phone number, asterisk will not need another line in extensions.conf to know how to route the call. Regards, Sean Langley, P.Eng Firmware Engineer General Dynamics Canada (403)730-1482 sean.langley@gdcanada.com -----Original Message----- From: John Bigelow [mailto:angler@knology.net] Sent: Friday, August 01, 2003 5:41 PM To: asterisk-users@lists.digium.com Subject: Re: [Asterisk-Users] Using OH323 and Gatekeeper Use the gatekeeper ip in the extention that you are dialing in extensions.conf exten => 100,1,Dial,H323/user@IPofGK ----- Original Message ----- From: "Langley, Sean" <Sean.Langley@gdcanada.com> To: <asterisk-users@lists.digium.com> Sent: Friday, August 01, 2003 5:46 PM Subject: [Asterisk-Users] Using OH323 and Gatekeeper> Hello all, > > Please forgive me if this sounds a little (or a lot) ignorant as I am very > new to asterisk. > > Right now I have two pc's connected back to back through an E100 card > running asterisk. I have openh323 running as well and I am able to route > calls through the E1 line. Next up I would like to be able to register > asterisk with a gatekeeper. On another computer is running openGK. Using > the gatekeeper I am able to register my h323 client with a phone number,it> all seems to be working. > > When I put the ip address of the gatekeeper into h323.conf, asteriskfailed> to load. I get an error that I can't open an h323 listener on port 1720. > > Has anyone done this before? Your help would be appreciated. > > Regards, > > Sean Langley, P.Eng > Firmware Engineer > General Dynamics Canada > (403)730-1482 > sean.langley@gdcanada.com > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users >_______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users
Jeremy McNamara wrote:>Langley, Sean wrote: > >>When I put the ip address of the gatekeeper into h323.conf, asteriskfailed>>to load. I get an error that I can't open an h323 listener on port 1720. >> >> > >Something is already using port 1720. > > >Jeremy McNamaraWhen I do an netstat there doesn't appear to be anything on the port. I am wondering if I am just plainly setting it up wrong. Here is my snippet from h323.conf [general] port = 1720 bindaddr = [gkipaddress] By default the bindaddr is 0.0.0.0, when I run asterisk with this default, the netstat command does not reaveal anything running on port 1720. The error that I get is as following: "ERROR[1074424544]: File chan_h323.c, Line 1658 (load_module): Unable to create H323 listener" Regards, Sean Langley, P.Eng Firmware Engineer General Dynamics Canada (403)730-1482 sean.langley@gdcanada.com
Jeremy McNamara wrote:>The correct exten: > >exten => 100,1,Dial,H323/[h323.id you want to call, using a gatekeeper] > > >Notice I did not say 'peer' as chan_h323 has no sense of a peer because >of the gatekeeper component of H.323. > > >>I can see how by doing that, asterisk would know how to route to the >>gatekeeper for the phone numbers that it knows about. But how do I get >>asterisk to register with the gk so that any time another endpointconnects>>to the gk with it's given phone number, asterisk will not need anotherline>>in extensions.conf to know how to route the call. >> >> > >gatekeeper=[ip or hostname of your gatekeeper] > >[my_h323id] >type=h323 >prefix=1248Thanks the your help, I'm getting closer. Using a netmeeting client registered with the gatekeeper I am now able to call a netmeeting endpoint through asterisk. When I answer the I see a connection in netmeeting between the endpoint name and the h323.id of asterisk, however there is no connection on the calling end. The same thing happens when I originate the call from the asterisk connected endpoint. Here is what I have. in extensions.conf exten => 7311100,1,Dial,H323/(ip address of * connected netmeeting client) exten => _730XXXX,1,Dial,H323/${EXTEN} ; route 730 prefix to the gatekeeper in h323.conf allow=ulaw allow=alaw gatekeeper = (ip address of the gatekeeper) AllowGKRouted = yes context=default [test] type=h323 prefix=731 Regards, Sean Langley, P.Eng Firmware Engineer General Dynamics Canada (403)730-1482 sean.langley@gdcanada.com