[Asterisk-Users] How to make write and read formats equal to native format?

Matt Riddell matt.riddell at sineapps.com
Tue Nov 8 02:30:51 MST 2005


Branko Samardzic wrote:

> Any idea on how to enforce native format into read and write streams?

In the peer definition (iax.conf or sip.conf) put:

disallow=all
allow=CODEC_YOU_WANT

where CODEC_YOU_WANT is something like gsm, g729, ulaw etc (keep it to one
entry at both ends and you're guaranteed they'll use it).

-- 
Cheers,

Matt Riddell
_______________________________________________

http://www.sineapps.com/news.php (Daily Asterisk News - html)
http://freevoip.gedameurope.com (Free Asterisk Voip Community)
http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss)




More information about the asterisk-users mailing list