Hello,

Something I've been wondering about meddling with sip uris with Kamailio:

I know it's possible to translate between a number prefix and a domain
using PDT, but is this possible: Having a numeric or alphanumeric value
stored in db, associated to a domain and appended to / removed from a
number during processing a sip message?

For example 112222...@mydomain.com --> 333.5...@mydomain.com where value
5555 and mydomain.com are associated to one another in db somewhere. In
this example I could have a pdt with prefix 112222 and domain mydomain.com,
but the value 5555 should be stored somewhere as well.

So one part is to find a db table suitable for storing a value and
associating it with a domain, and the other part is to change the sip uris.

I'll appreciate any comments!

cheers,
Olli
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to