[asterisk-users] DUNDI Help
Bruce Reeves
breeveslist at eusnetworks.com
Tue Aug 26 15:16:55 CDT 2008
It is added when a phone registers, or re-registers. Depending on the
timing of the registrations and any restarts on the asterisk process
it may take some time for phones to re-register.
On Tue, Aug 26, 2008 at 2:10 PM, ronald ramos <ronramos1004 at yahoo.com> wrote:
> Hi Bruce,
>
> my apologies, but the error was because of the key.
> i just run keys init on the CLI and it works,
>
> question on regcontext though, i set it to sipregistrations, how often does
> an extension be added to the context sipregistrations and for how long will
> it stay there? i'm looking at dialplan show sipregistration, sometimes i
> only see one extension there. even though i know i have 4 ip phones
> registered to the asterisk.
>
> TIA
>
> Ron
>
>
> --- On Tue, 8/26/08, Bruce Reeves <breeveslist at eusnetworks.com> wrote:
>
> From: Bruce Reeves <breeveslist at eusnetworks.com>
> Subject: Re: [asterisk-users] DUNDI Help
> To: ronramos1004 at yahoo.com, "Asterisk Users Mailing List - Non-Commercial
> Discussion" <asterisk-users at lists.digium.com>
> Date: Tuesday, August 26, 2008, 6:23 PM
>
> Ron,
>
> What does the peers section in dundi.conf look like?
>
> On Tue, Aug 26, 2008 at 3:00 AM, ronald ramos <ronramos1004 at yahoo.com>
> wrote:
>> Would like to try setting up dundi with 3-4 asterisk.
>> But for poc, i would like to try setting up dundi on between 2 asterisk.
>>
>> I copied the config from DUNDI enterprise SIP with no password. Only thing
> i
>> changed is the part where i used regcontext.
>> on both boxes dundi.conf i have
>> [mapping]
>> priv => sipregistrations,0,SIP,${NUMBER}@10.10.10.XX,nopartial
>>
>> i can see both peers on each server:
>> CLI> dundi show peers
>> EID Host Model AvgTime Status
>> 00:8e:8c:8e:cb:53 10.10.10.XX (S) Symmetric Unavail OK (1 ms)
>>
>> i can see my extension being added
> on sipregistrations context
>> Added extension '136101' priority 1 to sipregistrations
>>
>> tried a dundi lookup but got no result
>> dundi lookup 136101 at priv
>> DUNDi lookup returned no results.
>> DUNDi lookup completed in 0 ms
>>
>> here's what's on extensions.conf
>>
>> ; Private DUNDi network
>> [dundi-priv-canonical]
>> ; Direct numbers
>>
>> [dundi-priv-customers]
>> ; If you are an ITSP or Reseller, list your customers here.
>>
>> [dundi-priv-via-pstn]
>> ; If you are freely delivering calls to the PSTN, list them here
>>
>> [dundi-priv-local]
>> include => dundi-priv-canonical
>> include => dundi-priv-customers
>> include => dundi-priv-via-pstn
>>
>> [dundi-priv-switch]
>> ; Just a wrapper for the switch
>> switch => 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
>>
>> [diallocal]
>> exten => _1XXXXX,1,Macro(dundi-priv|${EXTEN})
>>
>> i also tried dialing from my xlite:
>> [Aug 26 15:58:07] -- Executing [136101 at diallocal:1]
>> Macro("SIP/138100-08269548", "dundi-priv|136101") in
> new stack
>> [Aug 26 15:58:07] -- Executing [s at macro-dundi-priv:1]
>> Goto("SIP/138100-08269548", "136101|1") in new stack
>> [Aug 26 15:58:07] -- Goto (macro-dundi-priv,136101,1)
>> [Aug 26 15:58:07] == Auto fallthrough, channel
> 'SIP/138100-08269548'
>> status is 'UNKNOWN'
>>
>> any guess what's wrong? Thanks
>>
>> ron
>>
>>
>> _______________________________________________
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com
> --
>>
>> AstriCon 2008 - September 22 - 25 Phoenix, Arizona
>> Register Now: http://www.astricon.net
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>> http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>
>
>
> --
> *****************************
> Bruce Reeves, dCAp
> EUS Networks
> Office: 212-624-5943
> Web: www.euscorp.com
> ****************************
>
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> AstriCon 2008 - September 22 - 25 Phoenix, Arizona
> Register Now: http://www.astricon.net
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
--
*****************************
Bruce Reeves, dCAp
EUS Networks
Office: 212-624-5943
Web: www.euscorp.com
****************************
More information about the asterisk-users
mailing list