[Asterisk-Users] Re: Large Asterisk with Regexten, Regcontext, DUNDi, , , , , , , , , but not load balance...

陈帆 jeffery9 at gmail.com
Sat Apr 29 20:52:26 MST 2006


hi, all,,,

there have something need to correct....


 1,in IAX or SIP config file...set..
[general]
regcontext = iaxregistrations

[peer]
name=peer
regexten= 10001

2,in extensions.conf.

[default]
exten => _XXXXX,1,Macro(dundi-priv,${EXTEN})
exten => _XXXXX,2,Playback(invalid)
exten => _XXXXX,3,Hangup

;include => iax-clt   ;delete this,, otherwise it would by pass do
dundi-lookup//...

[iax-clt]
include => iaxregistrations
exten => _XXXXX,2,Answer
exten => _XXXXX,3,Dial(IAX/${EXTEN})
exten => _XXXXX,4,Hangup

[dundi-priv-local]
include => iax-clt

 [dundi-priv-switch]
switch => dundi/dundi-priv

[dundi-priv-lookup]
include => dundi-priv-local
include => dundi-priv-switch


[macro-dundi-priv]
exten=> s,1,goto(${ARG1},1)
include => dundi-priv-lookup

3,in dundi.conf
[mappings]
dundi-priv =>
dundi-priv-local,0,IAX2,dundi:${SECRET}@${IPADDR}/${NUMBER},nounsolicited,nocomunsolicit,nopartial




On 4/30/06, 陈帆 <jeffery9 at gmail.com> wrote:
>
>
>
>  Hi,all.
>
> Have read a lots of documents and wiki and topic there.. I get a solution
> for Large asterisk...
>
> 1,in IAX or SIP config file...set..
> [general]
> regcontext = iaxregistrations
>
> [peer]
> name=peer
> regexten= 10001
>
> 2,in extensions.conf.
>
> [default]
> exten => _XXXXX,1,Macro(dundi-priv,${EXTEN})
> include => iax-clt
>
>
> [iax-clt]
> include => iaxregistrations
> exten => _XXXXX,2,Answer
> exten => _XXXXX,3,Dial(IAX/${EXTEN})
> exten => _XXXXX,4,Hangup
>
> [dundi-priv-local]
> include => iax-clt
>
>  [dundi-priv-switch]
> switch => dundi/dundi-priv
>
> [dundi-priv-lookup]
> include => dundi-priv-local
> include => dundi-priv-switch
>
>
> [macro-dundi-priv]
> exten=> s,1,goto(${ARG1},1)
> include => dundi-priv-lookup
>
> 3,in dundi.conf
> [mappings]
> dundi-priv =>
> dundi-priv-local,0,IAX2,dundi:${SECRET}@${IPADDR}/${NUMBER},nounsolicited,nocomunsolicit,nopartial
>
> [peer]
> ...........
> include=dundi-priv
> permit=dundi-priv
> ................
>
> It can use realtime DB share IAX peer registration information and common
> extension information...
>
> any advice and improvement would be greate..
>
> --
> Jeffery
>
> iaxtel Num: 1-700-576-1311
> fwdnet Num: 728150
>
>
> --
> Jeffery
>
> iaxtel Num: 1-700-576-1311
> fwdnet Num: 728150
>



--
Jeffery

iaxtel Num: 1-700-576-1311
fwdnet Num: 728150
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060429/f9f59f78/attachment.htm


More information about the asterisk-users mailing list