[Asterisk-Users] Help for oh323

SW sathyaw at sbcglobal.net
Thu Nov 27 09:28:08 MST 2003


Hi Friends,

Hope you would help me out here, I have searched the asterisk
user list for hours and also read the readme and test files that
comes with the driver. I need a very simple scenario. I have SIP
clients and want to use oh323 to dial out to PSTN using a h323 gateway.

a)If I set the extention.conf like this:

exten => _87.,1,Dial(OH323/16.52.153.206)
oh323 dials out (I can ring a netmeeting client at 16.52.153.206).

(b)But if I set it like this, oh323 will not dials out ?
exten => _87.,1,Dial(OH323/${EXTEN:1}@16.52.153.206)

In summary what I am trying to achieve is the following;
Lets say Sip user dial 915105418168, then I want 9 to be dropped
and the extension information to be send to the g/w at
16.52.153.206. Isn't exten =>
_9xxxxxxxxx,1,Dial(OH323/${EXTEN:1}@16.52.153.206) is the right
way ?. Why is this not working ?

I must be doing a wrong syntaxt, but couldnt find where I go wrong.

I am attaching the trace for above two cases, please help ?

Cheers

Sathya


Traces for both cases are given below;

  0:00.076             OpenH323 Wrapper OpenH323 Wrapper        Version
0.0alpha
0 by inAccess Networks (www.inaccessnetworks.com) on Unix Linux
(2.4.20-8-i686)
at 2003/11/26 20:15:07.622
  0:00.078             OpenH323 Wrapper H323    Created endpoint.
  0:00.078                 H323 Cleaner H323    Started cleaner thread
  0:00.212             OpenH323 Wrapper H323    Started listener
Listener[ip$*:1720]
  0:00.214        H323 Listener:8115c18 H323    Awaiting TCP connections on
port 1720
  0:00.214             OpenH323 Wrapper H323UDP Binding to interface:
0.0.0.0:10000
  0:00.243             OpenH323 Wrapper H323    Added capability:
G.711-ALaw-64k{hw} <1>
  0:00.279             OpenH323 Wrapper H323    Added capability:
UserInput/hookflash <2>
  0:00.279             OpenH323 Wrapper H323    Added capability:
UserInput/basicString <3>
  0:00.279             OpenH323 Wrapper H323    Added capability:
UserInput/dtmf <4>
  0:00.279             OpenH323 Wrapper H323    Added capability:
UserInput/RFC2833 <5>

  4:00.687      ThreadID=0x4a774440     H323    Making call to:
729 at 16.52.153.20.6
  4:00.688      ThreadID=0x4a774440     H323    Attempt to use invalid URL
"729 at 16.52.153.206"
  4:00.688      ThreadID=0x4a774440     H323    Could not parse
"729 at 16.52.153.2.06"
  4:00.757      ClearCallT...d:0812ab10 H323    Attempt to clear unknown
call


  8:14.840      ThreadID=0x4a774440     H323    Making call to:
16.52.153.206
  8:14.904      ThreadID=0x4a774440     H323    Added capability:
G.711-ALaw-64k{hw} <1>
  8:14.905      ThreadID=0x4a774440     H323    Added capability:
UserInput/hookflash <2>
  8:14.905      ThreadID=0x4a774440     H323    Added capability:
UserInput/basicString <3>
  8:14.905      ThreadID=0x4a774440     H323    Added capability:
UserInput/dtmf <4>
  8:14.905      ThreadID=0x4a774440     H323    Added capability:
UserInput/RFC2833 <5>
  8:14.905      ThreadID=0x4a774440     H323    Found capability:
G.711-ALaw-64k{hw} <1>
  8:14.905      ThreadID=0x4a774440     H323    Found capability:
UserInput/hookflash <2>
  8:14.905      ThreadID=0x4a774440     H323    Found capability:
UserInput/basicString <3>
  8:14.906      ThreadID=0x4a774440     H323    Found capability:
UserInput/dtmf <4>
  8:14.906      ThreadID=0x4a774440     H323    Found capability:
UserInput/RFC2833 <5>
  8:14.906      ThreadID=0x4a774440     RFC2833 Handler created
  8:14.906      ThreadID=0x4a774440     H323    Added capability:
G.711-ALaw-64k{hw} <1>
  8:14.907      ThreadID=0x4a774440     H323    Created new connection:
ip$localhost/25259
  8:14.908          H225 Caller:80f4688 H225    Started call thread
  8:15.064          H225 Caller:80f4688 H323TCP Could not connect to
16.52.153.2
06:1720 (local port=10000) - No route to host(113)
  8:15.065          H225 Caller:80f4688 H323    Clearing connection
ip$localhost
/25259 reason=EndedByConnectFail
  8:15.065          H225 Caller:80f4688 H323    Call end reason for
ip$localhost
/25259 set to EndedByConnectFail
  8:15.066          H225 Caller:80f4688 H225    Sending release complete
PDU: ca
llRef=25259
  8:15.200          H225 Caller:80f4688 H323    Clearing connection
ip$localhost
/25259 reason=EndedByTransportFail
  8:15.200                 H323 Cleaner H323    Cleaning up connections
  8:15.201                 H323 Cleaner H323    Connection
ip$localhost/25259 cl
osing: connectionState=NoConnectionActive
  8:15.201                 H323 Cleaner H323    H323Transport::Close
  8:15.201                 H323 Cleaner H323
H323Transport::CleanUpOnTerminat
ion for H225 Caller:80f4688
  8:15.201                 H323 Cleaner H323    Connection
ip$localhost/25259 te
rminated.
  8:15.203                 H323 Cleaner H323    Connection
ip$localhost/25259 de
leted.
  8:15.204                 H323 Cleaner H323    Cleaning up connections
  8:15.369      ClearCallT...d:080f1a48 H323    Attempt to clear unknown
call ip
$localhost/25259





More information about the asterisk-users mailing list