[Serusers] routing between ser and asterisk

Steffen Waldmann waldmann at vertico-software.com
Wed Aug 15 12:22:50 CEST 2007


hi there,

i have a question about routing between SER and asterisk:

I run SER and * on the same machine, so i configured * to listen on port 
5070 (sip.conf: bindport 5070).
Now i want to route all numbers that are not found in SER to *, 
therefore i wrote to ser.cfg in the main route section:

  if (!lookup("location")) {
        #sl_send_reply("404", "nicht gefunden");
        rewritehostport("192.168.2.183:5070");
        route(1);


        break;
  };

route(1) is the following:

route[1] {

# -----------------------------------------------------------------
# Default Message Handler
# -----------------------------------------------------------------

  if (!t_relay()) {
        sl_reply_error();
  };
}


i have two SER-users: 1000 and 1001
i have one * user: 1002

when i dial 1002 i get immediately 'User not found'

does anyone have a hint?




More information about the sr-users mailing list