[Asterisk-Users] Codecs and RealTime
Matthew Boehm
mboehm at cytelcom.com
Wed Dec 15 11:28:03 MST 2004
Ha. Fixed this.
Drop the disallow column.
Then readd that column 'before' allow.
Then it will work. The problem was that the disallow column came after the
allow column, so the allow stuff was being procssed first then the
disallow=all, which caused no codecs to be available.
-Matthew
----- Original Message -----
From: "Damian Minkov" <damian at space-comm.com>
To: "Asterisk Users Mailing List - Non-Commercial Discussion"
<asterisk-users at lists.digium.com>
Sent: Wednesday, December 15, 2004 12:03 PM
Subject: Re: [Asterisk-Users] Codecs and RealTime
> The result after
>
> INSERT INTO sip_buddies (allow,disallow) VALUES ("g729;g726;gsm","ulaw");
> is
> Codecs : 0x11b (g723|gsm|alaw|g726|g729)
> Codec Order : (g723|alaw|g729|g726|gsm)
> But in sip.conf general i have
>
> disallow=all
> allow=g729
> allow=g723.1
> allow=ulaw
> allow=alaw
>
>
> But if do the following
> INSERT INTO sip_buddies (allow,disallow) VALUES ("g729;g726;gsm","all");
> the result is :
> Codecs : 0x0 (nothing)
> Codec Order : (none)
>
>
> Is it normal all this ?
>
>
> Matthew Boehm wrote:
>
> >Your sip_buddies table should have 2 columns, "allow" and "disallow". You
> >should be able to:
> >
> >INSERT INTO sip_buddies (allow,disallow) VALUES ("g729;g726;gsm","g711");
> >
> >to give the equiv of:
> >
> >allow=g729
> >allow=g726
> >allow=gsm
> >disallow=g711
> >
> >-Matthew
> >
> >----- Original Message -----
> >From: "Damian Minkov" <damian at space-comm.com>
> >To: <asterisk-users at lists.digium.com>
> >Sent: Wednesday, December 15, 2004 9:15 AM
> >Subject: [Asterisk-Users] Codecs and RealTime
> >
> >
> >
> >
> >>I have updated from latest CVS 2 days ago and I have run Realtime
> >>SIPBuddies today i noticed
> >>problem with codecs.
> >>If there is nothing in the DB for allow and disallow
> >>sip show peer ... :
> >> Codecs : 0x10d (g723|ulaw|alaw|g729)
> >> Codec Order : (g729|g723|ulaw|alaw)
> >>
> >>But if I put in the DB for example
> >> disallow : all
> >> allow : ulaw
> >>
> >>then
> >> sip show peer ... :
> >> Codecs : 0x0 (nothing)
> >> Codec Order : (none)
> >>
> >>Any ideas ?
> >>
> >>--
> >> Best Regards,
> >> Damian Minkov
> >>
> >> COSMOS Software Enterprises, Ltd.
> >> Tel: (+359-2) 983-32-62
> >> Mobile: (+359-88) 853-28-25
> >> E-Mail: damian at space-comm.com
> >> http://www.space-comm.com
> >>
> >> Post address:
> >> P. O. Box 941,
> >> 1000 Sofia,
> >> Bulgaria
> >>
> >> Office address:
> >> ap. 9, fl. 4,
> >> "11 August" str., No. 43,
> >> 1202 Sofia,
> >> Bulgaria
> >>
> >>_______________________________________________
> >>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
> >
> >
> >
>
> _______________________________________________
> 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