[Asterisk-Users] Null Pointer Reference h225_1.cxx

administrator tootai admin at tootai.net
Wed Jun 30 08:48:11 MST 2004


Brian Wilkins a écrit :

>Hi, 
>     I get this error when trying to dial an outbound extension from a sip 
>phone:
>
>-- snip -- 
>
>-- Executing Dial("SIP/2003-02d1", "OH323/3215435249 at h323gk|20") in new stack
>    -- H.323 call to 3215435249 at h323gk with codec ALAW
>    -- Called 3215435249 at h323gk
>  0:33.283          H225 Caller:8143908 PWLib   Assertion fail: Null pointer 
>reference, file /usr/src/openh323/src/h225_1.cxx, line 390, Error=115
>
>    -- Nobody picked up in 20000 ms
>    -- Hungup 'OH323/L6116'
>    -- Executing Congestion("SIP/2003-02d1", "") in new stack
>  
>
What's h323gk? Replace it with <H323gk ip address:listen port> instead.

>-- end snip --
>
>Here is how I have my extensions.conf file setup : 
>
>; Outbound to 1-nxx-nxx-xxxx goes via PSTN
>exten => _1NXXNXXXXXX,1,Dial(OH323/${EXTEN:1}@h323gk,20)
>exten => _1NXXNXXXXXX,2,Congestion
>
>; Outbound to nxx-xxxx goes via PSTN
>exten => _NXXXXXX,1,Dial(OH323/${EXTEN:1}@h323gk,20)
>exten => _NXXXXXX,2,Congestion
>
>
>and in my oh323.conf file:
>
>gatekeeper=209.xxx.xxx.xx,HCCGK1   ; hid IP
>gatekeeper=DISCOVER
>..
>..
>..
>context=heritage-h323
>
>[h323gk]
>type=h323
>host=209.xxx.xxx.xx   ; hid IP 
>;secret=HCCGK1
>  
>
asterisk don't know about it. So don't use it. See above.

>[register]
>
>alias=HCCGW666
>
>  
>
-- 
Daniel



More information about the asterisk-users mailing list