List Info

Thread: Re: Multiple routes advertised from same host




Re: Multiple routes advertised from same host
country flaguser name
United States
2007-08-24 13:58:40
On Friday 24 August 2007 11:15:53 am Karl-Heinz Hecker
wrote:
> priv => dundi-priv-canonical,0,IAX2,priv:
> priv => dundi-priv-canonical-sip,1,SIP,

thanks karl-heinz, that works well.  the trouble i have now
is that the url in 
the mapping for SIP must be different than that for IAX2,
right?

shouldn't the mappings look something like:

priv => dundi-priv-canonical,0,IAX2,priv:
$myhost.com.com/$,nounsolicited,nocomunsolicit
,residential

priv => dundi-priv-canonical-sip,1,SIP,
$myhost.com,nounsolicited,nocomunsolicit,residential,n
opartial

but then, where does the priv user and $ go??

also, are there any other flags that i should be using in a
configuration like 
this?

-- 
Anthony -  http://messinet.com - http://messinet
.com/~amessina/gallery
8F89 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.c
om--

Dundi mailing list
To UNSUBSCRIBE or update options visit:
   http:/
/lists.digium.com/mailman/listinfo/dundi
Re: Multiple routes advertised from same host
country flaguser name
Germany
2007-08-24 14:58:43
On Fri, 24 Aug 2007 13:58:40 -0500, Anthony Messina wrote:





Here is an example I used in the past:

Dundi conf

e164 => dundi-e164-canonical,0,IAX2,dundi:$asterisk.homeunix.org/$,nounsolicited,nocomun
solicit,nopartial
e164 => dundi-e164-customers,100,IAX2,dundi:$asterisk.homeunix.org/$,nounsolicited,nocomun
solicit,nopartial
e164 =>
dundi-e164-customers-sip,370,SIP,dundi:$asterisk.homeunix.org/$,nounsolicited,nocomun
solicit,nopartial
e164 => dundi-e164-via-pstn,400,IAX2,dundi:$asterisk.homeunix.org/$,nounsolicited,nocomun
solicit,nopartial

If you'll have all iax2 dundis also in sip you have to make
canonical and canonical-sip ... you can use any name but you
need them too in extensions.conf.

extension.conf

[dundi-e164-canonical]
your contexts

[dundi-e164-customers]
your contexts

[dundi-e164-customers-sip]
your contexts

[dundi-e164-via-pstn]
your contexts


[dundi-e164-local]
include=dundi-e164-canonical
include=dundi-e164-customers
include=dundi-e164-customers-sip
include=dundi-e164-via-pstn

[dundi-e164-switch]
switch => DUNDi/e164

[dundi-e164-lookup]
include => dundi-e164-local
include => dundi-e164-switch

[macro-dundi-e164]
exten => s,1,Goto($,1)
include => dundi-e164-lookup

And don't forget the entrys in the sip.conf (like them in
the iax.conf)

Thats all. 
So if there is a look for ... your asterisk will show if ...
exists and if it is he sends the informations. The asking
asterisk will dial with sip or iax2, how it is instructed.







_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.c
om--

Dundi mailing list
To UNSUBSCRIBE or update options visit:
   http:/
/lists.digium.com/mailman/listinfo/dundi

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )