[Serusers] Seeking advice about : PDT module.

Elena Ramona Modroiu ramona at voice-system.ro
Sun Jan 30 22:45:03 CET 2005


Hello,

I have just committed the changes to pdt module. Now it is not required 
the terminating digit anymore. There are a lot of changes in the 
internal structures. The module does not generate by itself prefixes, 
the old FIFO command was replaced with specific commands for adding, 
listing and deleting prefix-domain pairs. The prefixes are now indexed 
with a tree for a faster searching, each SER process keeps its own tree 
to avoid synchronization, changes made via FIFO are updated on a timer 
basis. The module applies all changes to the database immediately but it 
loads the database only at startup, so do all prefix-domain changes via 
FIFO. Also, the table definition has changed, the prefix (code) is a 
varchar -- do not forget to update it.

Please take a look and if you have time to test it I would be glad if 
you can provide me with some feedback.

Ramona

Ricardo Martinez wrote:

>Hello list.
>	Regarging to this module i have a question.	i want to implement
>a "domain" list with all the codes, or at least as many as i can use.  The
>problem is that i can't have a "terminating" digit for every code.  The way
>a user dial a number in my system is something like : 
>	
>	00 + Country Code + City Code + Number.
>
>I want to match the Country Code + City Code.  but I can't add a
>"terminating" digit for every call or even more, force to the enduser to add
>a "terminating" digit before the Country Code + City Code when he's dialing,
>that only will add more confusion.
>My question is : Is possible to avoid or bypass the "terminating digit"? and
>maybe have a match with the best code?.
>
>56+2+1234567 will match with 56+2
>56+9+1235678 will match with 56+9
>
>and so on.....
>
>Hope that someone could give me a hand here.
>
>Ricardo Martinez Ogalde.
>
>_______________________________________________
>Serusers mailing list
>serusers at lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serusers
>  
>




More information about the sr-users mailing list