[asterisk-users] G729 Confusion
Matt
mhoppes at gmail.com
Tue Aug 28 10:28:41 CDT 2007
Show channels doesn't show me the codec a call is using, unless I'm
missing it somewhere... is there someway I can find out which channels
are using what codec?
On 8/28/07, Steve Totaro <stotaro at first-notification.com> wrote:
> Matt wrote:
> > I've purchsed 5 g729 licenses from digium, but am a little confused
> > about why things are acting the way they are.
> >
> > When I do show g729 I see:
> > 0/0 encoders/decoders of 5 licensed channels are currently in use
> >
> > My sip.conf starts out:
> > [general]
> > disallow=all
> > allow=ulaw
> > allow=g726
> >
> > then my hosts look like this:
> >
> > [6016716]
> > username=6016716
> > accountcode=75415
> > type=friend
> > secret=obsurified
> > qualify=yes
> > port=5060
> > nat=yes
> > mailbox=6016716 at default
> > host=dynamic
> > dtmfmode=rfc2833
> > context=from-internal
> > canreinvite=no
> > callerid="Test VoIP Accounts" <6016716>
> >
> > All works fine, however if I make a change so it reads:
> > [6016716]
> > disallow=all
> > allow=g729
> > username=6016716
> > accountcode=75415
> > type=friend
> > secret=obsurified
> > qualify=yes
> > port=5060
> > nat=yes
> > mailbox=6016716 at default
> > host=dynamic
> > dtmfmode=rfc2833
> > context=from-internal
> > canreinvite=no
> > callerid="Test VoIP Accounts" <6016716>
> >
> > and reload, strange things begin to happen. A show g729 shows this:
> > 5/0 encoders/decoders of 5 licensed channels are currently in use
> > and suddenly I can not hear anything if I try to make a call. From
> > observation, it almost seems like other units on the network are using
> > the g729 codecs, but doesn't my sip.conf prohibit g729 unless
> > expressly allowed?! Why would allowing g729 under one extension allow
> > everyone else to suddenly start using g729?
> >
> >
>
> What version of Asterisk is this?
>
> Show channels and sip debug might help you track down the offenders (you
> might want to log to a text file because the SIP stuff flies by too fast.
>
> Thanks,
> Steve
>
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
More information about the asterisk-users
mailing list