<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>I see, it is pbx_ael.c . But I'm unable to see the 'allow=codec' part any where.<br></span></div><div><br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font face="Arial" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Sazzad Kamal <sazzad_bin_kamal@yahoo.com><br><b><span style="font-weight: bold;">To:</span></b> "asterisk-users@lists.digium.com" <asterisk-users@lists.digium.com><br><b><span style="font-weight: bold;">Sent:</span></b> Tuesday, October 18, 2011 1:08 PM<br><b><span style="font-weight: bold;">Subject:</span></b> How does Asterisk parse extensions.conf file?<br></font><br>
<div id="yiv1341607125"><div><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: times new roman,new york,times,serif; font-size: 12pt;"><div>Hello,</div><div><br></div><div>I want to know the way Asterisk parses configuration files. So that I can find out, what Asterisk does when I write, 'allow=g711' in extensions.conf file.</div><div><br></div><div>As I've come to know, Asterisk configuration files are kind of DSLs. I thought it must have a parser to know the values in those conf files, i.e., the value of 'allow' parameter.</div><div><br></div><div>Can anyone please tell me what functions/files are used to parse these configuration files?</div><div><br></div><div>Sincerely,</div><div>Sazzad Bin Kamal</div></div></div></div><br><br></div></div></div></body></html>