[Kamailio-Users] What is the best module for routing INVITE based on DID in R-URI?

Geoffrey Mina geoffreymina at gmail.com
Tue Jan 19 23:04:28 CET 2010


nevermind!  It's called "Prefix-Domain" in Siremis... was looking for
something that said "PDT".



On Tue, Jan 19, 2010 at 5:00 PM, Geoffrey Mina <geoffreymina at gmail.com> wrote:
> Doesn't look like there is a Siremis component for this module.  If I
> create the corresponding XML files, should I send them to someone to
> include in the project?
>
> On Tue, Jan 19, 2010 at 2:38 PM, Daniel-Constantin Mierla
> <miconda at gmail.com> wrote:
>> Hello,
>>
>> On 1/19/10 8:34 PM, Geoffrey Mina wrote:
>>>
>>> Hello,
>>> I am putting up a Kamailio server which will do nothing but route
>>> INVITE requests from my upstream carrier to individual offices on my
>>> side.  The office locations will NOT be registered SIP UAs, but other
>>> Kamailio proxy servers.  What I want to have is a database of DIDs
>>> associated with a forwarding IP:Port and/or SRV records.
>>>
>>> 5555551212 ==>  1.2.3.4:5060
>>> 5555551213 ==>  1.2.3.5:5060
>>> etc.
>>>
>>> Any guidance on what the best approach to achieving my goal would be
>>> much appreciated.
>>>
>>
>> if it is that simple, then look at pdt -- it translate longest match on
>> prefix to a domain. It has options to skip stripping the prefix and accept
>> multiple domains (check module and function parameters).
>>
>> http://kamailio.org/docs/modules/3.0.x/modules_k/pdt.html
>>
>> Cheers,
>> Daniel
>>
>> --
>> Daniel-Constantin Mierla
>> * http://www.asipto.com/
>>
>>
>




More information about the sr-users mailing list