Hello, i want to use asterisk as a gateway for H323-Phones. But i cant get it work. I'm using a gatekeeper on another computer. My IP-phone is registered there. Does anybody can sent me an oh323.conf and extension.conf as examples? Thanks in advance Erik Bastian -- NEU : GMX Internet.FreeDSL Ab sofort DSL-Tarif ohne Grundgebühr: http://www.gmx.net/dsl
Hekuran Doli wrote:> exten => _0.,1,Dial(h323/${EXTEN:1}@gatekeepers-IP-address) so all calls > starting with with "0" will be forwardert to the gatekeeper`s IP adress > (gatekeepers-IP-address) Note:I use this for international calls so If I > want to dial 37744387555 I use 037744387555.If you are using a gatekeeper with chan_h323 you do not have to put @gatekeepers-IP-Address in the exten line. Jeremy McNamara
Can you tell us in details what the problem is (or I didnt understand)? if the problem is on call forwardin you have to add the following line on the context you are using: exten => _0.,1,Dial(h323/${EXTEN:1}@gatekeepers-IP-address) so all calls starting with with "0" will be forwardert to the gatekeeper`s IP adress (gatekeepers-IP-address) Note:I use this for international calls so If I want to dial 37744387555 I use 037744387555. with worked for me. H323: You dont have to add something special to h323.conf you can find a sample of h323.conf on /usr/src/asterisk/channels/h323 and just need to enable: gatekeeper = gatekeepers-IP-adress Hope you`ll find this useful! Best Regards Hekuran Doli> Hello, > > i want to use asterisk as a gateway for H323-Phones. > But i cant get it work. > I'm using a gatekeeper on another computer. My IP-phone is registered > there. > > Does anybody can sent me an oh323.conf and extension.conf as examples? > > Thanks in advance > Erik Bastian > > -- > NEU : GMX Internet.FreeDSL > Ab sofort DSL-Tarif ohne Grundgeb?hr: http://www.gmx.net/dsl > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
Red_Viking@gmx.de wrote:> Hello, > > i want to use asterisk as a gateway for H323-Phones. > But i cant get it work. > I'm using a gatekeeper on another computer. My IP-phone is registered there. > > Does anybody can sent me an oh323.conf and extension.conf as examples? > > Thanks in advance > Erik Bastian >In [general] section of oh323.conf enter the IP address of your gatekeeper: gatekeeper=<gatekeeper-ip> context=default-h323 ...leave default values for other keys. In [register] section of oh323.conf enter the aliases/numbers/prefixes that are handled by your Asterisk, e.g: alias=111 alias=112 gwprefix=7 grprefix=6 In [codecs] section configure the encoding to be used by the OH323 channels (XXX define only one codec!), e.g: codec=G711A frames=20 Now, in your extensions.conf create the extensions entries which will handle your incoming calls (those defined in the [register] section), e.g: [default-h323] ;The context was defined in oh323.conf, ;[general] section exten => 111,1,Playback(...) exten => 112,1,Dial(SIP/snom1) exten => _6XX,1,Dial(OH323/${EXTEN:1},20,tT) Now you are ready to call your Asterisk by your H.323 IP phones by just dialing one of the numbers you defined in the [register] section (e.g. valid entries are: 111,112,700,78910,666,...). Hope that helps, Michael.