<div>hi, all,,, </div>
<div>&nbsp;</div>
<div>there have something need to correct....</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>
<div>1,in IAX or SIP config file...set..</div>
<div>[general]</div>
<div>regcontext = iaxregistrations</div>
<div>&nbsp;</div>
<div>[peer]</div>
<div>name=peer</div>
<div>regexten= 10001</div>
<div>&nbsp;</div>
<div>2,in extensions.conf.</div>
<div>&nbsp;</div>
<div>[default]</div>
<div>exten =&gt; _XXXXX,1,Macro(dundi-priv,${EXTEN})</div>
<div>exten =&gt; _XXXXX,2,Playback(invalid)</div>
<div>exten =&gt; _XXXXX,3,Hangup</div>
<div>&nbsp;</div>
<div>;include =&gt; iax-clt&nbsp;&nbsp; ;delete this,, otherwise it would by pass do dundi-lookup//...</div>
<div>&nbsp;</div>
<div>[iax-clt]</div>
<div>include =&gt; iaxregistrations</div>
<div>exten =&gt; _XXXXX,2,Answer</div>
<div>exten =&gt; _XXXXX,3,Dial(IAX/${EXTEN})</div>
<div>exten =&gt; _XXXXX,4,Hangup</div>
<div>&nbsp;</div>
<div>[dundi-priv-local]</div>
<div>include =&gt; iax-clt</div>
<div>&nbsp;</div>
<div>
<div>[dundi-priv-switch]</div>
<div>switch =&gt; dundi/dundi-priv</div></div>
<div>&nbsp;</div>
<div>[dundi-priv-lookup]</div>
<div>include =&gt; dundi-priv-local</div>
<div>include =&gt; dundi-priv-switch</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>[macro-dundi-priv]</div>
<div>exten=&gt; s,1,goto(${ARG1},1)</div>
<div>include =&gt; dundi-priv-lookup</div>
<div>&nbsp;</div>
<div>3,in dundi.conf</div>
<div>[mappings]</div>
<div>dundi-priv =&gt; dundi-priv-local,0,IAX2,dundi:${SECRET}@${IPADDR}/${NUMBER},nounsolicited,nocomunsolicit,nopartial</div></div>
<div>&nbsp;</div>
<div><br><br>&nbsp;</div>
<div><span class="gmail_quote">On 4/30/06, <b class="gmail_sendername">陈帆</b> &lt;<a href="mailto:jeffery9@gmail.com">jeffery9@gmail.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div style="DIRECTION: ltr"><span class="e" id="q_10ae851623bcaccd_0"><br><span class="gmail_quote"><br></span>
<div style="DIRECTION: ltr">
<div>Hi,all.</div>
<div>&nbsp;</div>
<div>Have read a lots of documents and wiki and topic there.. I get a solution for Large asterisk...</div>
<div>&nbsp;</div>
<div>1,in IAX or SIP config file...set..</div>
<div>[general]</div>
<div>regcontext = iaxregistrations</div>
<div>&nbsp;</div>
<div>[peer]</div>
<div>name=peer</div>
<div>regexten= 10001</div>
<div>&nbsp;</div>
<div>2,in extensions.conf.</div>
<div>&nbsp;</div>
<div>[default]</div>
<div>exten =&gt; _XXXXX,1,Macro(dundi-priv,${EXTEN})</div>
<div>include =&gt; iax-clt</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>[iax-clt]</div>
<div>include =&gt; iaxregistrations</div>
<div>exten =&gt; _XXXXX,2,Answer</div>
<div>exten =&gt; _XXXXX,3,Dial(IAX/${EXTEN})</div>
<div>exten =&gt; _XXXXX,4,Hangup</div>
<div>&nbsp;</div>
<div>[dundi-priv-local]</div>
<div>include =&gt; iax-clt</div>
<div>&nbsp;</div>
<div>
<div>[dundi-priv-switch]</div>
<div>switch =&gt; dundi/dundi-priv</div></div>
<div>&nbsp;</div>
<div>[dundi-priv-lookup]</div>
<div>include =&gt; dundi-priv-local</div>
<div>include =&gt; dundi-priv-switch</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>[macro-dundi-priv]</div>
<div>exten=&gt; s,1,goto(${ARG1},1)</div>
<div>include =&gt; dundi-priv-lookup</div>
<div>&nbsp;</div>
<div>3,in dundi.conf</div>
<div>[mappings]</div>
<div>dundi-priv =&gt; dundi-priv-local,0,IAX2,dundi:${SECRET}@${IPADDR}/${NUMBER},nounsolicited,nocomunsolicit,nopartial</div>
<div>&nbsp;</div>
<div>[peer]</div>
<div>...........</div>
<div>include=dundi-priv</div>
<div>permit=dundi-priv</div>
<div>................</div>
<div>&nbsp;</div>
<div>It can use realtime DB share IAX peer registration information and common extension information...</div>
<div>&nbsp;</div>
<div>any advice and improvement&nbsp;would be greate..<br clear="all"><br>-- <br>Jeffery<br><br>iaxtel Num: 1-700-576-1311<br>fwdnet Num: 728150 </div></div><br clear="all"><br>-- <br>Jeffery<br><br>iaxtel Num: 1-700-576-1311 
<br>fwdnet Num: 728150 </span></div></blockquote></div><br><br clear="all"><br>-- <br>Jeffery<br><br>iaxtel Num: 1-700-576-1311<br>fwdnet Num: 728150