[asterisk-users] Requested contexts didn't get merged

Kuba notme at konto.pl
Wed Feb 14 17:58:34 MST 2007


Hello,


I have two asterisk servers and I would like to merge their dialplans. I 
thought DUNDi would be a natural choice.

I created the following configuration on the first server:

iax.conf
Code:

[dundi]
type=user
dbsecret=dundi/secret
context=dundi-local


dundi.conf

[general]
ttl=4
autokill=yes
cachetime=30
entityid=00:06:5B:8E:B0:08
secretpath=dundi

bindaddr=XXX.XXX.XXX.XXX
port=4520

[mappings]
dundi => 12ga,0,IAX2,priv:${SECRET}@host1.com/${NUMBER},nopartial

[00:0E:2E:80:44:63]
model=symmetric
host=host2.com
inkey=host2.com
outkey=host1.com
include=dundi
;include=all
permit=dundi
;permit=all
qualify=yes
order=primary


Extensions.conf contains numbers in context [12ga], which should be made 
available by DUNDi to the second server.


The second server has the following configuration:

iax.conf

[dundi]
type=user
dbsecret=dundi/secret
context=dundi-local


dundi.conf

[general]
bindaddr=XXX.XXX.XXX.XXX
port=4520
entityid=00:0E:2E:80:44:63
cachetime=30
ttl=4
autokill=yes
secretpath=dundi

[mappings]
dundi => 12ga,0,IAX2,priv:${SECRET}@host1.com/${NUMBER},nopartial

[00:06:5B:8E:B0:08]
model=symmetric
host=host1.com
inkey=host1.com
outkey=host2.com
include=dundi
permit=dundi
qualify=yes
order=primary


I'm not sure what I'm doing wrong, but I'm getting error message saying:

"pbx.c: Requested contexts didn't get merged"


Number lookups return nothing, however

"dundi show peers"

shows that servers are connected.

What am I doing wrong ?

Thanks in advance
Jake





--
------- Domeny w ULTRA NISKICH cenach: -------
.pl - 29 zl, .com.pl - 22,50 zl, reg - 7,50 zl
          http://www.domeny.alpha.pl
----------------------------------------------




More information about the asterisk-users mailing list