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

Iñaki Baz Castillo ibc at aliax.net
Fri Nov 28 10:27:10 CET 2008


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.

-- 
Iñaki Baz Castillo




More information about the sr-users mailing list