[Asterisk-Users] H323 -> IAX

Martin Kiefer martin at kiefer.dk
Sat Jul 3 03:23:01 MST 2004


Weee, thank you so much for that help.

I can now make calls from my Cisco Call Manager to Musimi :-)

/Martin

> -----Original Message-----
> From: asterisk-users-admin at lists.digium.com 
> [mailto:asterisk-users-admin at lists.digium.com] On Behalf Of 
> Soren Rathje
> Sent: Saturday, July 03, 2004 3:33 AM
> To: asterisk-users at lists.digium.com
> Subject: Re: [Asterisk-Users] H323 -> IAX
> 
> Martin,
> 
> Did you change the "context" parameter in oh323.conf and if 
> you did, did you change it to an appropriate context in your 
> extensions.conf where musimi.dk can be called ??
> 
> The reason I ask is that I've just spend 1 1/2 hour (it was 
> only a matter of time before I had to, so...) compiling and 
> installing PWLib 1.6.6, openh323 v1.13.5 and oh323 0.6.3a 
> onto my Fedore Core 1 with Asterisk CVS-HEAD-07/02/04-13:46:17.
> 
> Mind you, I followed the "README" from 
> asterisk-oh323-0.6.3a.tgz to the letter...
> 
> I copied my "sip-incoming" context to "h323-incoming" in 
> extensions.conf, changed "context=voip-h323" to 
> "context=h323-incoming" and "inBandDTMF=yes" in oh323.conf. 
> Fired up NetMeeting (Yeah.. I'm a Windows user.. So what..) 
> and made a call to a friend on FWD via IAX2.
> 
> The copy/pate stuff below is from a test context I made 
> smilar to your trace...
> 
> 
> *CLI> oh323 show conf 
> 
> Configuration of OpenH323 channel driver
> ----------------------------------------
> Version: 0.6.3
> Listening on address: 192.168.0.200:1720 Gatekeeper used: No 
> Gatekeeper
> FastStart/H245Tunnelling/H245inSetup: OFF/OFF/OFF Supported 
> formats in pref. order: ALAW<0> Jitter buffer limits 
> (min/max): 20-100 ms TCP port range: 10000 - 20000 UDP (RAS) 
> port range: 10000 - 20000 UDP (RTP) port range: 10000 - 20000 
> IP Type-of-Service value: 4 User input mode: 2 Max number of 
> inbound H.323 calls: 10 Max number of outbound H.323 calls: 
> 10 Max number of simultaneous H.323 calls: 10
> 
> 
>     -- Executing NoOp("OH323/R2054", ""MSNetmeeting "<> - 
> 06000") in new stack
>     -- Executing Dial("OH323/R2054", 
> "IAX2/demo:demo at gw1.musimi.dk/6000") in new stack
>     -- Called demo:demo at gw1.musimi.dk/6000
>     -- Call accepted by 212.130.58.212 (format ALAW)
>     -- Format for call is ALAW
>     -- IAX2[212.130.58.212:4569]/1 answered OH323/R2054
>     -- Hungup 'IAX2[212.130.58.212:4569]/1'
>   == Spawn extension (local-h323-inbound, 06000, 2) exited 
> non-zero on 'OH323/R2054'
>     -- Hungup 'OH323/R2054'
>     -- H.323 call 'ip$192.168.0.65:3801/2054' cleared, reason 
> 4 (Cleared by remote user)
> 
> 
> I think you need to revise your dialplan and incoming 
> context, something like this for starters...
> 
> -- extract from extensions.conf --
> [voip-h323] 
> ;
> ; OH323 default context from oh323.conf
> ; Dial 0[number]
> ;
> exten => _0.,1,NoOp,${CALLERID} - ${EXTEN}
> exten => _0.,2,Dial(IAX2/demo:demo at gw1.musimi.dk/${EXTEN:1})
> exten => _0.,3,Hangup()
> 
> 
> -- Soren
> 
> ----- Original Message ----- 
> From: "Martin Kiefer" <martin at kiefer.dk>
> To: <Asterisk-Users at lists.digium.com>
> Sent: Friday, July 02, 2004 11:48 PM
> Subject: [Asterisk-Users] H323 -> IAX
> 
> 
> > Hi there
> >  
> > I am pretty close on giving up on Asterisk :-/
> >  
> > I am (still) trying to make a call from a H323 phone to an Asterisk
> > provider using AIX. But H323 does not route the number to 
> AIX. All it is
> > transmitting is an "s".
> >  
> > *CLI>     -- Executing Dial("OH323/R27865",
> > "IAX2/demo:demo at gw1.musimi.dk/s") in new stack
> >     -- Called demo:demo at gw1.musimi.dk/s
> > Jul  2 23:43:55 WARNING[-1137550416]: chan_iax2.c:5231 
> socket_read: Call
> > rejected by 212.130.58.212: No such context/extension
> >     -- Hungup 'IAX2[demo]/3'
> >   == No one is available to answer at this time
> > 
> > The dialed should have been 6000 both it doesn't... Anyone knows why
> > not?
> > 
> > I have installed the asterisk from cvs using openh323_1.13.5 and
> > asterisk-oh323-0.6.3a.
> > 
> > I have placed this line in my extensions.conf:
> > TRUNK=IAX2/demo:demo at gw1.musimi.dk
> > exten => _.,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
> > 
> > I am using the default settings in my oh323.conf. Am I 
> missing something
> > in this file?
> > 
> > Best regards
> > Martin Kiefer
> > 
> > _______________________________________________
> > Asterisk-Users mailing list
> > Asterisk-Users at lists.digium.com
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> > To UNSUBSCRIBE or update options visit:
> >    http://lists.digium.com/mailman/listinfo/asterisk-users
> > 
> > 
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 




More information about the asterisk-users mailing list