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" <[EMAIL PROTECTED]>
To: "Asterisk Users Mailing List - Non-Commercial Discussion"
<[EMAIL PROTECTED]>
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" <[EMAIL PROTECTED]>
> >To: <[EMAIL PROTECTED]>
> >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: [EMAIL PROTECTED]
> >>    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
> >>[EMAIL PROTECTED]
> >>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
> >[EMAIL PROTECTED]
> >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
> [EMAIL PROTECTED]
> 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
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to