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