Prefix format in routing script

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Prefix format in routing script

Carlo Dimaggio
Hi all,

I would change my opensips.cfg from lcr to dynamic routing in order to  
use the routing features (time/priority) of the drouting module.
However I have some problems with the routing prefix. In the DB I  
usually use the prefix +39<NUM> but as I can see, drouting cannot  
permit non-numbers.

So I am a little bit confused because I have different situations  
(with several changes for ruri in opensips.cfg)

1) dbaliases (for DID match) with prefix +39
2) external routing (drouting) with prefix 0039
3) ENUM query with prefix +39
3) CDRTool numbers for billing with prefix 0039

My question is: how could be the right format to store these  
information? +39<NUM> or 0039<NUM>? How can I uniform the routing  
procedure?


I hope you can help me :)


Thanks and regards,
Carlo Dimaggio

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users