[Asterisk-Users] Problem when using asterisk + gnugk

Roger Schreiter roger at planinternet.de
Fri Jul 16 10:51:27 MST 2004


Hi,

maybe my fault was, that I named the gatekeeper
in h323.conf.
When I comment those lines, just tell in gnugk about
the gateway ip address (asterisk), it's fine:

| alias=myname
| ;gatekeeper = 123.456.789.12
| ;AllowGKRouted = yes
|
| [myname]
| type=h323
| prefix=0,1,2,3,4,5,6,7,8,9


Roger.



Roger Schreiter schrieb:
> ...
> I'm using asterisk with chan_h323 together with gnugk.
> chan_h323 and gnugk were recently compiled with pwlib-1.5.2
> and openh323-1.12.2 as advised.
> 
> When connecting asterisk directly by ohphone
> (without gatekeeper), everthing is fine.
> 
> When using gnugk for usage control in routed mode, I find
> a funny situation in asterisk's H.323 debug:
> 
>     == New H.323 Connection created.
>     -- Received SETUP message
>     -- Setting up Call
>     --     Call token:  [ip$213.30.206.5:32957/4316]
>     --     Calling party name:  [simson]
>     --     Calling party number:  []
>     --     Called  party name:  [07143830774]
>     --     Called  party number:  [07143830774]
>     -- Executing Dial("H323/ip$213.30.206.5:32957/4316", "Zap/g1/s") in 
> new stack
> 
> Of course Dial fails.
> 
> When using no gatekeeper, Dial uses "Zap/g1/07143830774"
> and Dial succeeds.
> 
> I don't understand, why asterisk seems to forget the number
> to dial just before executing the Dial command, but only
> when chan_h323 was called by gnugk.
> ...




More information about the asterisk-users mailing list