| 123456789101112131415161718192021222324 |
- /*
- * test along with nmr.sip
- *
- */
- listen=127.0.0.1
- port=6060
- fork=no
- log_stderror=yes
- loadmodule "/home/srouter/sip_router/modules/sl/sl.so"
- loadmodule "/home/srouter/sip_router/modules/textops/textops.so"
- route {
- if (!search("^(From|f)\:.*sip\:[0-9]+@")) {
- log(1," From non-nummerical\n");
- sl_send_reply("400", "entry nummerical from check failed\n");
- break;
- };
- log(1," From nummerical\n");
- sl_send_reply("200", "entry nummerical from check ok\n");
- }
|