para que serve o DUNDI?<br><br><div><span class="gmail_quote">2007/3/30, Matheus Cucoloto <<a href="mailto:matheuscucoloto@gmail.com">matheuscucoloto@gmail.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
E ae galéra, quero utilizar o dundi para unir meus asterisk, mas o<br>negocio ta complicado, vejam só.<br><br>Já criei as chaves, ja configurei o dundi.conf, coloquei no extensions<br>o dundi e mesmo asim não tive sucesso. vejam as minhas confs e me
<br>digam o que eu posso fazer...<br><br>Abraços<br><br><br>ASTERISK 1<br><br><br>matheusteste*CLI> dundi show peers<br>EID Host Model AvgTime<br> Status<br>00:08:54:17:45:9f
<a href="http://192.168.188.232">192.168.188.232</a> (S) Symmetric Unavail OK (1 ms)<br>1 dundi peers [1 online, 0 offline, 0 unmonitored]<br><br>matheusteste*CLI> dundi show mappings<br>DUNDi Cntxt Weight Local Cntxt Options Tech Destination
<br>dundi 0 <a href="http://dominio.com">dominio.com</a>. NOUNSLCTD| IAX2 dundi:${SECRET}@matrizvoi<br><br>matheusteste# cat dundi.conf<br>[general]<br>department=matrizvoip<br>organization=<a href="http://matrizvoip.dominio.com.br">
matrizvoip.dominio.com.br</a><br>locality=Cianorte<br>stateprov=PR<br>country=BR<br>email=<a href="mailto:matheuscucoloto@gmail.coim">matheuscucoloto@gmail.coim</a><br>phone=+554436194450<br><br>;bindaddr=<a href="http://0.0.0.0">
0.0.0.0</a><br>port=4520<br>entityid=00:30:84:29:f5:86<br>;cachetime=3600<br>ttl=32<br>autokill=yes<br>;secretpath=dundi<br>;storehistory=yes<br><br>[mappings]<br><br>dundi => <a href="http://dominio.com.br">dominio.com.br
</a>,0,IAX2,<a href="http://dundi:${SECRET}@matrizvoip.dominio.com.br/${NUMBER},nounsolicited,nocomunsolicit,nopartial">dundi:${SECRET}@matrizvoip.dominio.com.br/${NUMBER},nounsolicited,nocomunsolicit,nopartial</a><br><br>
[00:08:54:17:45:9f]<br>model = symmetric<br>host = <a href="http://filialvoip.dominio.com.br">filialvoip.dominio.com.br</a><br>inkey = filialvoip<br>outkey = matrizvoip<br>include = dundi<br>permit = dundi<br>qualify = yes
<br>dynamic = yes<br><br>db_asterisk=> select name,type,dbsecret,context,disallow,allow from<br>iax where name = 'dundi';<br> name | type | dbsecret | context | disallow | allow<br>-------+------+--------------+---------+----------+-------
<br> dundi | user | dundi/secret | dundi | | all<br>(1 row)<br><br>db_asterisk=> select * from extensions where context = 'dundi';<br> id | context | exten | priority | app |<br>appdata<br>----+---------+--------+----------+-----------+-----------------------------------------
<br> 18 | dundi | 554433 | 1 | NoOP | dundi:Number<br>advertisement and incoming<br> 19 | dundi | 554433 | 2 | Answer |<br> 20 | dundi | 554433 | 3 | Dial | SIP/1000<br> 21 | dundi | 554433 | 4 | VoiceMail |
<a href="mailto:u1000@irapida.com.br">u1000@irapida.com.br</a><br> 22 | dundi | 554433 | 5 | Hangup |<br>(5 rows)<br><br>matheusteste# cat extensions.conf<br>[general]<br>;static=yes<br>writeprotect=no<br>autofallthrough=yes
<br>clearglobalvars=no<br>priorityjumping=no<br><br>[default]<br>include => dundi<br>include => <a href="http://dominio.com.br">dominio.com.br</a><br><br>[<a href="http://dominio.com.br">dominio.com.br</a>]<br>switch => Realtime/@
<br>include => dundi<br><br>[dundi]<br>switch => Realtime/@<br><br><br>AGORA NO ASTERISK 2<br><br>asteriskteste*CLI> dundi show peers<br>EID Host Model<br>AvgTime Status<br>00:30:84:29:f5:86
<a href="http://192.168.188.238">192.168.188.238</a> (S) Symmetric Unavail OK (1 ms)<br>1 dundi peers [1 online, 0 offline, 0 unmonitored]<br><br>asteriskteste*CLI> dundi show mappings<br>DUNDi Cntxt Weight Local Cntxt Options Tech Destination
<br>dundi 0 <a href="http://dominio.com">dominio.com</a>. NOUNSLCTD| IAX2 dundi:${SECRET}@matrizvoi<br><br>asteriskteste# cat dundi.conf<br>[general]<br>department=filialvoip<br>organization=<a href="http://filialvoip.dominio.com.br">
filialvoip.dominio.com.br</a><br>locality=Cianorte<br>stateprov=PR<br>country=BR<br>email=<a href="mailto:cucoloto@dominio.com.br">cucoloto@dominio.com.br</a><br>phone=+554436194450<br><br>;bindaddr=<a href="http://0.0.0.0">
0.0.0.0</a><br>port=4520<br>entityid=00:08:54:17:45:9f<br>;cachetime=3600<br>ttl=32<br>autokill=yes<br>;secretpath=dundi<br>;storehistory=yes<br><br>[mappings]<br>dundi => <a href="http://dominio.com.br">dominio.com.br
</a>,0,IAX2,<a href="http://dundi:${SECRET}@matrizvoip.dominio.com.br/${NUMBER},nounsolicited,nocomunsolicit,nopartial">dundi:${SECRET}@matrizvoip.dominio.com.br/${NUMBER},nounsolicited,nocomunsolicit,nopartial</a><br><br>
[00:30:84:29:f5:86]<br>model = symmetric<br>host = <a href="http://matrizvoip.dominio.com.br">matrizvoip.dominio.com.br</a><br>inkey = matrizvoip<br>outkey = filialvoip<br>include = dundi<br>permit = dundi<br>qualify = yes
<br>dynamic = yes<br><br>asterisk=> select name,type,dbsecret,context,disallow,allow from iax<br>where name = 'dundi';<br> name | type | dbsecret | context | disallow | allow<br>-------+------+--------------+---------+----------+-------
<br> dundi | user | dundi/secret | dundi | | all<br>(1 row)<br><br><br><br>--<br>Matheus Cucoloto<br>System Admin.<br>Net Admin.<br>----------------------------------------<br>Estação VoIP 2006<br>5 e 6 Dezembro
<br>Curitiba PR<br><a href="http://www.estacaovoip.com.br">http://www.estacaovoip.com.br</a><br><br>_______________________________________________<br>LIsta de discussões AsteriskBrasil.org<br><a href="mailto:AsteriskBrasil@listas.asteriskbrasil.org">
AsteriskBrasil@listas.asteriskbrasil.org</a><br><a href="http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil">http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil</a><br><br>_______________________________________________
<br>Acesse o wiki AsteriskBrasil.org:<br><a href="http://www.asteriskbrasil.org">http://www.asteriskbrasil.org</a><br></blockquote></div><br>