[Asterisk-Dev] Is it a fault? H323 with GSM codec is not working
Celso Fassoni
celso.fassoni at gmail.com
Tue Jul 5 10:22:31 MST 2005
I have defined the variable and also checked the plugin in that
location but it's still not working. Tell me if I'm wrong but I
suppose the chan_h323 use the asterisk codecs, doesn't it? Or just the
RTP?
I'm going to try with another codecs like G726, G723 or G729. What is
very strange is I can get it working only if I use uLaw or ALaw. Any
ideas?
thanks again.
2005/7/4, Derek Smithies <derek at indranet.co.nz>:
> Hi,
>
> I think that the gsm plugin is not being found by the openh323 library.
>
> You will need to set an environment variable, PWLIBPLUGINDIR..
>
> I have
>
> export PWLIBPLUGINDIR=$PWLIBPLUGINDIR:/home/derek/h323/openh323/plugins/audio/GSM0610
> export PWLIBPLUGINDIR=$PWLIBPLUGINDIR:/home/derek/h323/openh323/plugins/audio/LPC_10
>
> in an environment file, which I load before starting openh323 related
> programs.
>
> Derek.
> ==========================================================================
>
> On Mon, 4 Jul 2005, Celso Fassoni wrote:
>
> > Hello,
> > Greetings from Brazil!
> >
> > I'm playing with the H323 (Nufone) channel in Asterisk CVS-HEAD and I
> > couldn't get it working with GSM codec. Is it a fault? Have I missed
> > something?
> > What capabilities does it currently support?
> >
> > Thanks for _any_ information!!
> > Celso Fassoni
> >
> > Some additional info:
> >
> > monkey:~# cat /etc/asterisk/h323.conf
> > [general]
> > port = 1720
> > bindaddr = 192.168.0.100 ; this SHALL contain a single, valid
> > IP address for this machine
> > disallow=all
> > allow=gsm ; Always allow GSM, it's cool :)
> > context=default
> >
> > *CLI> show modules like chan_h323.so
> > Module Description
> > Use Count
> > chan_h323.so The NuFone Network's Open H.323 Channel 0
> > 1 modules loaded
> >
> > *CLI> show translation
> > Translation times between formats (in milliseconds)
> > Source Format (Rows) Destination Format(Columns)
> >
> > g723 gsm ulaw alaw g726 adpcm slin lpc10 g729 speex ilbc
> > g723 - - - - - - - - - - -
> > gsm - - 5 5 6 5 4 - - - -
> > ulaw - 4 - 1 3 2 1 - - - -
> > alaw - 4 1 - 3 2 1 - - - -
> > g726 - 5 3 3 - 3 2 - - - -
> > adpcm - 4 2 2 3 - 1 - - - -
> > slin - 3 1 1 2 1 - - - - -
> > lpc10 - - - - - - - - - - -
> > g729 - - - - - - - - - - -
> > speex - - - - - - - - - - -
> > ilbc - - - - - - - - - - -
> >
> > *CLI> h.323 show codecs
> > Allowed Codecs:
> > Table:
> > Set:
> >
> > *CLI> h.323 debug
> > H323 debug enabled
> > *CLI> == New H.323 Connection created.
> > -- Setting up Call
> > -- Call token: [ip$192.168.0.1:1088/4096]
> > -- Calling party name: [Celso]
> > -- Calling party number: []
> > -- Called party name: [89]
> > -- Called party number: [89]
> > --Received SETUP message
> > Allowed Codecs:
> > Table:
> > UserInput/hookflash <1>
> > UserInput/RFC2833 <2>
> > Set:
> > 0:
> > 0:
> > UserInput/hookflash <1>
> > 1:
> > UserInput/RFC2833 <2>
> >
> > =-= In OnAnswerCall for call 4096
> > - Progress Indicator: 0
> > - Inserting PI of 0 into ALERTING message
> > Answering call ip$192.168.0.1:1088/4096
> > -- Transmitting RFC2833 on payload 101
> > -- Received Facility message...
> > -- Received Facility message...
> > =-= In OnConnectionEstablished for call 4096
> > -- Connection Established with "Celso [192.168.0.1]"
> > -- ClearCall: Request to clear call with token
> > ip$192.168.0.1:1088/4096, cause EndedByRemoteUser
> > -- Sending RELEASE COMPLETE
> > -- ClearCall: Request to clear call with token
> > ip$192.168.0.1:1088/4096, cause EndedByTransportFail
> > -- ClearCall: Request to clear call with token
> > ip$192.168.0.1:1088/4096, cause EndedByTransportFail
> > -- Celso [192.168.0.1] has cleared the call
> > == H.323 Connection deleted.
> > _______________________________________________
> > Asterisk-Dev mailing list
> > Asterisk-Dev at lists.digium.com
> > http://lists.digium.com/mailman/listinfo/asterisk-dev
> > To UNSUBSCRIBE or update options visit:
> > http://lists.digium.com/mailman/listinfo/asterisk-dev
> >
> >
> >
>
> --
> Derek Smithies Ph.D.
> IndraNet Technologies Ltd.
> Email: derek at indranet.co.nz
> ph +64 3 365 6485
> Web: http://www.indranet-technologies.com/
>
>
More information about the asterisk-dev
mailing list