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