Christophe Sauthier wrote:> 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)
I guess this is _00. (there is a dot).
>
>
> 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@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@XXX.XXX.XXX.XXX.
> -- Couldn't call 00123456@XXX.XXX.XXX.XXX
> -- Hungup 'H323:0'
> == Everyone is busy at this time
> -- Hungup 'Zap/1-1'
>
What versions of OpenH323/pwlib do you use?
You have to enable the tracing info of OpenH323
(libTraceLevel=3, libTraceFile=/tmp/trace.txt in oh323.conf)
and send me the trace file.
>
> Does anybody can help me ?
>
> chris
Michael.