[Asterisk-Users] PSTN to h323

Christophe Sauthier christophe.sauthier at eikonex.net
Wed Dec 17 10:51:58 MST 2003


Hi,

I start to be a little confused so I am asking to the list.

I want to make with * a gateway from PSTN to H323, and to send all
incomings call to a predefined IP, which will treat the h323 calls.
let's assume that all my incoming numbers starts with 00
here is my extensions

[incoming]
exten => s,1,Answer
exten => _00.,1,Answer
exten => _00,2,Dial(OH323/${EXTEN}@XXX.XXX.XXX.XXX,20,r)


But nothing happens.
I can see on asterisk console:

    -- Starting simple switch on 'Zap/1-1'
    -- Executing Answer("Zap/1-1", "") in new stack
    -- Executing Dial("Zap/1-1", "OH323/00123456 at XXX.XXX.XXX.XXX|20|r")
in ne
w stack
WrapH323Connection::WrapH323Connection: WrapH323Connection created.
  0:34.852          H225 Caller:80e7c08 H225    Read error (104):
Connection res
et by peer
  0:34.856          H225 Caller:80e7c08 H225    Write PDU failed (32):
Broken pi
pe
  0:34.859                 H323 Cleaner H323    Connection
ip$localhost/20045 te
rminated.
WrapH323Connection::WrapH323Connection: WrapH323Connection deleted.
ERROR[19473]: File chan_oh323.c, Line 907 (oh323_call): H323:0: Could
not call 0
00123456 at XXX.XXX.XXX.XXX.
    -- Couldn't call 00123456 at XXX.XXX.XXX.XXX
    -- Hungup 'H323:0'
  == Everyone is busy at this time
    -- Hungup 'Zap/1-1'


Does anybody can help me ?

	chris
-- 
Christophe Sauthier <christophe.sauthier at eikonex.net>
Eikonex - Open Source Engineering  (http://www.eikonex.net)




More information about the asterisk-users mailing list