[SR-Users] DID Routing

Daniel Tryba daniel at pocos.nl
Mon Aug 19 10:51:00 CEST 2013


On Saturday 17 August 2013 06:50:25 Daniel W. Graham wrote:
> I didn't think of pulling from to header, but in my case the to changes so
> I think storing in avp may be my only option. 

As Alex mentioned, the to header might be filled with something else. In my 
use case people fooling around with To for calls between registered endpoints 
on the same kamailio might break this (possibly leaving badly configured 
endpoints open to abuse).

> I assume a location lookup needs performed before I insert the did back in
> otherwise a location match will not be found? 

Yes, loopup will set $ru (and maybe $du) if succesfull. Afterwards you can 
change $rU at will.



More information about the sr-users mailing list