<font color='black' size='2' face='arial'>> Hi all,<br>
<font color="black" face="arial" size="2">
<div style="font-family: arial,helvetica; font-size: 10pt; color: black;">
<div id="AOLMsgPart_0_82532cb8-907c-4cf6-8119-ac6bd818da02" style="margin: 0px; font-family: Tahoma,Verdana,Arial,Sans-Serif; font-size: 12px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><pre style="font-size: 9pt;"><tt>
><br>
> I have two questions regarding DUNDi and Asterisk Realtime. I have <br>
successfully set up DUNDi on my two Asterisk boxes, which means<br>
> "dundi show peers" on each box shows the other box as known and "dialplan show <br>
dundiextens" shows the extensions on each box configured in sip.conf.<br>
><br>
> 1. But when i switch my config to use sip in realtime, my extensions are only <br>
visible to DUNDi if i set rtcachefriends in sip.conf to yes.<br>
> Am I forced to set rtcachefriends to use DUNDi with realtime or do I miss <br>
something, maybe an additional column in my database table?<br>
><br>
> 2. How can I use DUNDi within my dialplan to determine if an extension is <br>
reachable and then establish a call to it and if not, pass the call to my PSTN <br>
device?<br>
<br>
This sounds like you need to enable regcontext and regexten in sip.conf <br>
and for your peers. This will cause a line of dialplan to be added to <br>
the regcontext upon registration of your peer, which you can then use as <br>
the lookup context for your DUNDi mapping.<br>
<br>
The dialplan is dynamically created and will add and remove the <br>
information assigned to regexten for the peer upon (de)registration.<br>
<br>
Leif Madsen.<br>
<br>
-- <br>
I've set regcontext in the general section in sip.conf but not explicitly for the peers. <br>
Also I did not set regexten yet, I guess this could be causing my problems.<br>
Will research what regexten is used for and try it again.<br>
<br>
So DUNDi will only advertise extensions that are actually registered?<br>
Is that correct? As soon as an extension is unregistered (will say offline) it is not advertised by DUNDi <br>
anymore to route a call to e.g. the extensions voicemail?<br>
<br>
Oh, i thought i could do something like a DUNDILOOKUP inside of my dialplan to see if the <br>
extension is known and if not pass it to my PSTN gateway.<br>
<br>
Thanks so far.<br>
<br>
Oliver<br>
</tt></pre>
</div>
<!-- end of AOLMsgPart_0_82532cb8-907c-4cf6-8119-ac6bd818da02 -->
</div>
</font></font>