We already set the capabilities in build_user and build_peer.

Instead of overwriting the capabilities in these functions,
Can you try this:

Near line 205:
-static int  gCapability = AST_FORMAT_ULAW;
+static int  gCapability = AST_FORMAT_ULAW | AST_FORMAT_ALAW |  AST_FORMAT_GSM 
| AST_FORMAT_G729A | AST_FORMAT_G723_1;

Dan


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Damjan Jovanovic
Sent: Monday, February 26, 2007 6:19 AM
To: [email protected]; [EMAIL PROTECTED]
Subject: Re: [ooh323c-devel] patch for "allow=all" bug

On Mon, 2007-02-26 at 08:07 +0200, Damjan Jovanovic wrote:
> Hi
> I've made a patch (which is attached) to set the codecs that are in
> capability but not in prefs, but it doesn't seem to fully work. With the
> patch it doesn't complain about audio capabilities when you have
> "allow=all" and doesn't hang up the call any more, but I either get no
> audio, or just noise. Maybe you could have a look at it and help me out?

Ok the attached patch fixes the audio problem. Now (with both patches)
putting "allow=all" works perfectly.

Please let me know if my patches are accepted.

Thank you for the best Asterisk H.323 implementation,
Damjan

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
ooh323c-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ooh323c-devel

Reply via email to