[Serusers] Dynamic Routing

Anurag Srivastava anurag10aug at gmail.com
Mon Jan 31 09:57:25 CET 2005


Hello All,
             My task is to program the ser.cfg in a way that it
connects to an external database(any machine in LAN,other than the
server on which SER is running)
         After getting connected to the database I need to query the
database and get a result set of IPAddresses based on the destination
number that I passed in the query..and further use this set to rewrite
the call to the IP Address retrieved.
       To accomplish this task I need--

       1.how to extract the destinationno from sip_uri
       2.how to use the database interface given in SER programmer's guide

     I went through SER programmer's guide,but if anybody can provide
me a simple
     example of using database interface,it wud be of great help.

    Thanks!




More information about the sr-users mailing list