geethanjali.csg@wipro.com píše v Út 01. 04. 2008 v 10:41 +0530:
Hi Martin,
I have 2 users A and B registered to 2 domains domainA and domainB.
When A calls B@domainB, DNS lookup is happening. Also I have routing logic logic in ser.cfg which is,
if(method == INVITE && uri=~*@domainB) { forward(192.168.2.105,5060) }
I think your RE is not correct, should be like this: if(method == INVITE && uri=~".*@domainB")
If you use CVS head version you can also use if(method == INVITE && @ruri.host=="domainB")
Put xlog statement into the block to make sure the request is passing the forward .... and (depends on the rest of the script) you also might want to put drop there at the end.
Michal