[OpenSIPS-Users] Prefix format in routing script
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Mon May 25 16:36:16 CEST 2009
Hi Carlo,
probably you cannot get a single format for all of them (as some of them
do have really strict requirements on this), but you can do internal
conversion (in script) between + and 00 depending of what functionality
you need.
For example you can use 00 for almost everything except ENUM..
Regards,
Bogdan
Carlo Dimaggio wrote:
> 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
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
More information about the Users
mailing list