Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Bamper

Pages: [1]
1
Linux / route not work
« on: November 18, 2014, 08:59:17 PM »
I have some problem width regexroute module

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'

Pages: [1]