I am using the following on my server:<br>
<br>
name: voipjet<br>
username: voipjet<br>
type: friend<br>
secret: NULL<br>
md5secret: (md5password)<br>
auth: md5<br>
accountcode: VoipJet<br>
context: casa<br>
defaultip: NULL<br>
host: <a href="http://64.34.45.100">64.34.45.100</a><br>
qualify: no<br>
disallow: all<br>
allow: gsm;alaw;ulaw<br>
ipaddr: NULL<br>
port: NULL<br>
regseconds: NULL<br>
<br>
I have to use the following Dial command<br>
<br>
Dial(IAX2/uid@voipjet/${EXTEN:3}) <br>
<br>
This takes the password and host from REALTIME but you still have to put the voipjet uid in extensions.conf<br><br>
That is the best we have been able to do. If anybody can do better I like to know.<br>
<br>
Actually in AstBill we are getting the complete Dial String from the
MySQL database by returning a Variable from the AGI script. This make
our dialing 100% flexible and make it simple to implement efficient LCR.<br>
<br>
exten => _XXXXXX.,5,Dial(${DIALSTRING})<br>
<br>-- <br>Are Casilla<br><a href="http://astartelecom.com">http://astartelecom.com</a> - Independent VOIP Telecoms Broker. Asterisk Consultants<br><a href="http://astbill.com">http://astbill.com</a> - Open Source Billing, Routing and Management software for Asterisk and VOIP
<br>AstBill DEMO: <a href="http://demo.astbill.com">http://demo.astbill.com</a><br>