1
Linux / route not work
« on: November 18, 2014, 08:59:17 PM »
I have some problem width regexroute module
my config:
accfile.conf
regfile.conf
regexroute.conf
function route works only when username (from accfile.conf) = sip user
if I change the 941234567 on 100 - get error:
my config:
accfile.conf
Code: [Select]
[sip_1]
enabled=yes
protocol=sip
username=941234567
authname=941234567
password=1111
registrar=sip.domain.com (example)
domain=sip.domain.com (example)
regfile.conf
Code: [Select]
[941234567]
password=123456789
[100]
password=123456789
regexroute.conf
Code: [Select]
[default]
^38\(.*\)$=sip/sip:\1;line=sip_1;osip_From=<sip:941234567@MY_SERVER_IP>
^sip_1$=route/941234567
function route works only when username (from accfile.conf) = sip user
if I change the 941234567 on 100 - get error:
Code: [Select]
<sip/1:MILD> Call rejected error='noroute' reason='No route to call target'