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