[Serusers] Need to check usrloc address for from and to

Dave ser at comm.it
Mon Jul 19 10:30:48 CEST 2004


Hi,

I need to make a decision and/or set a flag in the routing script based on
the IP address of the address record for the contact.

Basically, I need to check if the current IP address of the From and To in
an INVITE are the same and act accordingly.

How do I do this? Do I have to write an exec module and/or a custom ser
module? I guess the latter is the way to go, unless there's a better way, as
I don't want to span a new process (exec) for each "INVITE" that passes
trough the router.

Any hints are greatly appreciated.

Dave.




More information about the sr-users mailing list