<div>hi, all,,, </div>
<div> </div>
<div>there have something need to correct....</div>
<div> </div>
<div> </div>
<div>
<div>1,in IAX or SIP config file...set..</div>
<div>[general]</div>
<div>regcontext = iaxregistrations</div>
<div> </div>
<div>[peer]</div>
<div>name=peer</div>
<div>regexten= 10001</div>
<div> </div>
<div>2,in extensions.conf.</div>
<div> </div>
<div>[default]</div>
<div>exten => _XXXXX,1,Macro(dundi-priv,${EXTEN})</div>
<div>exten => _XXXXX,2,Playback(invalid)</div>
<div>exten => _XXXXX,3,Hangup</div>
<div> </div>
<div>;include => iax-clt ;delete this,, otherwise it would by pass do dundi-lookup//...</div>
<div> </div>
<div>[iax-clt]</div>
<div>include => iaxregistrations</div>
<div>exten => _XXXXX,2,Answer</div>
<div>exten => _XXXXX,3,Dial(IAX/${EXTEN})</div>
<div>exten => _XXXXX,4,Hangup</div>
<div> </div>
<div>[dundi-priv-local]</div>
<div>include => iax-clt</div>
<div> </div>
<div>
<div>[dundi-priv-switch]</div>
<div>switch => dundi/dundi-priv</div></div>
<div> </div>
<div>[dundi-priv-lookup]</div>
<div>include => dundi-priv-local</div>
<div>include => dundi-priv-switch</div>
<div> </div>
<div> </div>
<div>[macro-dundi-priv]</div>
<div>exten=> s,1,goto(${ARG1},1)</div>
<div>include => dundi-priv-lookup</div>
<div> </div>
<div>3,in dundi.conf</div>
<div>[mappings]</div>
<div>dundi-priv => dundi-priv-local,0,IAX2,dundi:${SECRET}@${IPADDR}/${NUMBER},nounsolicited,nocomunsolicit,nopartial</div></div>
<div> </div>
<div><br><br> </div>
<div><span class="gmail_quote">On 4/30/06, <b class="gmail_sendername">陈帆</b> <<a href="mailto:jeffery9@gmail.com">jeffery9@gmail.com</a>> 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> </div>
<div>Have read a lots of documents and wiki and topic there.. I get a solution for Large asterisk...</div>
<div> </div>
<div>1,in IAX or SIP config file...set..</div>
<div>[general]</div>
<div>regcontext = iaxregistrations</div>
<div> </div>
<div>[peer]</div>
<div>name=peer</div>
<div>regexten= 10001</div>
<div> </div>
<div>2,in extensions.conf.</div>
<div> </div>
<div>[default]</div>
<div>exten => _XXXXX,1,Macro(dundi-priv,${EXTEN})</div>
<div>include => iax-clt</div>
<div> </div>
<div> </div>
<div>[iax-clt]</div>
<div>include => iaxregistrations</div>
<div>exten => _XXXXX,2,Answer</div>
<div>exten => _XXXXX,3,Dial(IAX/${EXTEN})</div>
<div>exten => _XXXXX,4,Hangup</div>
<div> </div>
<div>[dundi-priv-local]</div>
<div>include => iax-clt</div>
<div> </div>
<div>
<div>[dundi-priv-switch]</div>
<div>switch => dundi/dundi-priv</div></div>
<div> </div>
<div>[dundi-priv-lookup]</div>
<div>include => dundi-priv-local</div>
<div>include => dundi-priv-switch</div>
<div> </div>
<div> </div>
<div>[macro-dundi-priv]</div>
<div>exten=> s,1,goto(${ARG1},1)</div>
<div>include => dundi-priv-lookup</div>
<div> </div>
<div>3,in dundi.conf</div>
<div>[mappings]</div>
<div>dundi-priv => dundi-priv-local,0,IAX2,dundi:${SECRET}@${IPADDR}/${NUMBER},nounsolicited,nocomunsolicit,nopartial</div>
<div> </div>
<div>[peer]</div>
<div>...........</div>
<div>include=dundi-priv</div>
<div>permit=dundi-priv</div>
<div>................</div>
<div> </div>
<div>It can use realtime DB share IAX peer registration information and common extension information...</div>
<div> </div>
<div>any advice and improvement 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