[Kamailio-Users] PDT module - multiple prefix single domain

Matteo Piazza matteo.piazza at trentinonetwork.it
Fri Nov 28 13:17:16 CET 2008


I'm running 1.3.3 version,

Is there any options on the module params?


Matteo


Il giorno ven, 28/11/2008 alle 10.27 +0100, Iñaki Baz Castillo ha
scritto:
> El Viernes, 28 de Noviembre de 2008, Matteo Piazza escribió:
> > Hi all,
> >
> > I notice a thing about PDT module.
> >
> > If you try to put in the table two entry with the same destination
> > domain at the load of the parameter is reported an error of duplication:
> >
> > Nov 28 09:32:23 [5169] ERROR:pdt:pdt_load_db: sdomain [*]: prefix
> > [04610202] or domain <tnn.multivoce.tnnet.it> duplicated
> >
> > entry of the table
> >
> >  id | sdomain |  prefix  |          domain
> > ----+---------+----------+--------------------------
> >   1 | *       | *        | intercom.tnnet.it
> >   4 | *       | 04610200 | tsm.multivoce.tnnet.it
> >   2 | *       | 04610201 | tnn.multivoce.tnnet.it
> >   3 | *       | 04610202 | tnn.multivoce.tnnet.it
> >
> >
> > Is this mean that the prefix must be only one for a single domain.
> >
> >
> > This is a limition where I have a single domain that manage multiple
> > prefix not consecutive.
> 
> I modified the module code in OpenSer 1.2 to allow it:
>   
> https://sourceforge.net/tracker/?func=detail&aid=1965211&group_id=139143&atid=743022
> 
> From version 1.3 it's already possible without patching.
> 
-- 
====================================
Matteo Piazza
Trentino Network s.r.l. a Socio Unico
matteo.piazza at trentinonetwork.it
Via Gilli, 2 - 38100 TRENTO
Tel (+39) 0461.020224
==================================== 





More information about the Users mailing list