Hi
I have installed SER and testing But in my both sipura config same Extension both are registering, how can i restrict the extensions.
If the user already loging, reject other user to login using same extension.
any sample rules.
Ram
On Tue, Aug 08, 2006 at 07:35:47PM +0530, ram wrote:
Hi
I have installed SER and testing But in my both sipura config same Extension both are registering, how can i restrict the extensions.
If the user already loging, reject other user to login using same extension.
any sample rules.
From modules/registrar/README:
1.3.13. max_contacts (integer)
The parameter can be used to limit the number of contacts per AOR (Address of Record) in the user location database. Value 0 disables the check.
Default value is 0.
Example 1-12. Set max_contacts parameter ... # Allow no more than 10 contacts per AOR modparam("registrar", "max_contacts", 10) ... _________________________________________________________
I suppose that setting this parameter to 1 will solve your problem.
Hi
thanks it works.
Ram
On 8/9/06, Alexandre Snarskii snar@paranoia.ru wrote:
On Tue, Aug 08, 2006 at 07:35:47PM +0530, ram wrote:
Hi
I have installed SER and testing But in my both sipura config same Extension both are registering, how can i restrict the extensions.
If the user already loging, reject other user to login using same
extension.
any sample rules.
From modules/registrar/README:
1.3.13. max_contacts (integer)
The parameter can be used to limit the number of contacts per AOR (Address of Record) in the user location database. Value 0 disables the check.
Default value is 0.
Example 1-12. Set max_contacts parameter ... # Allow no more than 10 contacts per AOR modparam("registrar", "max_contacts", 10) ... _________________________________________________________
I suppose that setting this parameter to 1 will solve your problem.
Dear Friends and Supporters!
I have a problem with the permissions module. I use the gw-pstn.cfg as my ser.cfg. I install asterisk on the same server. It works with any other ser.cfg. However, after I copy the gw-pstn.cfg to ser.cfg and correct the ip address as well as the realm. However I never let me register. It's alware return the true to
if (!is_uri_host_local()) { if (!is_from_local() || allow_trusted()) { route(4); route(1); } else { sl_send_reply("403", "Forbidden"); break; };
With the error message on my Xten is 403", "Forbidden" Eventhough I have set the perminssions.allow to ALL : ALL
Is any ideal
Thanks for your help and supports!
Lan.
How about changing
if(!is_from_local() || allow_trusted())
to
if(!is_from_local() && allow_trusted())
?
On 8/10/06, Maps mapsair@hotmail.com wrote:
Dear Friends and Supporters!
I have a problem with the permissions module. I use the gw-pstn.cfg as my ser.cfg. I install asterisk on the same server. It works with any other ser.cfg. However, after I copy the gw-pstn.cfg to ser.cfg and correct the ip address as well as the realm. However I never let me register. It's alware return the true to
if (!is_uri_host_local()) { if (!is_from_local() || allow_trusted()) { route(4); route(1); } else { sl_send_reply("403", "Forbidden"); break; };
With the error message on my Xten is 403", "Forbidden" Eventhough I have set the perminssions.allow to ALL : ALL
Is any ideal
Thanks for your help and supports!
Lan.
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Yes I have changed everythings in that phase to make it register, and it registed. However, after it registed, the call can NOT go thru. It stop right at the first check in the main route
if (!mf_process_maxfwd_header("10")) { sl_send_reply("483", "Too Many Hops"); break; };
The Xten show "483", "Too Many Hops"
Did I miss some thing in the installation or configuration?
Enclosed is my permissions.allow ALL : ALL # the only line in the file.
and my permissions.deny is nothings.
Any ideal?
Thanks!
Lan.
----- Original Message ----- From: "Andrey Kouprianov" andrey.kouprianov@gmail.com To: serusers@iptel.org Sent: Thursday, August 10, 2006 2:46 AM Subject: Re: [Serusers] Problem with the gw-pstn.cfg
How about changing
if(!is_from_local() || allow_trusted())
to
if(!is_from_local() && allow_trusted())
?
On 8/10/06, Maps mapsair@hotmail.com wrote:
Dear Friends and Supporters!
I have a problem with the permissions module. I use the gw-pstn.cfg as
my
ser.cfg. I install asterisk on the same server. It works with any
other
ser.cfg. However, after I copy the gw-pstn.cfg to ser.cfg and correct
the
ip address as well as the realm. However I never let me register. It's alware return the true to
if (!is_uri_host_local()) { if (!is_from_local() || allow_trusted()) { route(4); route(1); } else { sl_send_reply("403", "Forbidden"); break; };
With the error message on my Xten is 403", "Forbidden" Eventhough I have set the perminssions.allow to ALL : ALL
Is any ideal
Thanks for your help and supports!
Lan.
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Hi,
Thing is: it's difficult to tell you what's happening w/o looking at ur ser.cfg and network captures. However, I had "Too Many Hops" reply from the server, when I had no INVITE handler .. Meaning there were nothing in ser.cfg that handles INVITE. But i dont think it's your case. You should have one (even the simplest example for ser.cfg has INVITE handler).
Bests,
Andrey.
On 8/10/06, Maps mapsair@hotmail.com wrote:
Yes I have changed everythings in that phase to make it register, and it registed. However, after it registed, the call can NOT go thru. It stop right at the first check in the main route
if (!mf_process_maxfwd_header("10")) { sl_send_reply("483", "Too Many Hops"); break; };
The Xten show "483", "Too Many Hops"
Did I miss some thing in the installation or configuration?
Enclosed is my permissions.allow ALL : ALL # the only line in the file.
and my permissions.deny is nothings.
Any ideal?
Thanks!
Lan.
----- Original Message ----- From: "Andrey Kouprianov" andrey.kouprianov@gmail.com To: serusers@iptel.org Sent: Thursday, August 10, 2006 2:46 AM Subject: Re: [Serusers] Problem with the gw-pstn.cfg
How about changing
if(!is_from_local() || allow_trusted())
to
if(!is_from_local() && allow_trusted())
?
On 8/10/06, Maps mapsair@hotmail.com wrote:
Dear Friends and Supporters!
I have a problem with the permissions module. I use the gw-pstn.cfg as
my
ser.cfg. I install asterisk on the same server. It works with any
other
ser.cfg. However, after I copy the gw-pstn.cfg to ser.cfg and correct
the
ip address as well as the realm. However I never let me register. It's alware return the true to
if (!is_uri_host_local()) { if (!is_from_local() || allow_trusted()) { route(4); route(1); } else { sl_send_reply("403", "Forbidden"); break; };
With the error message on my Xten is 403", "Forbidden" Eventhough I have set the perminssions.allow to ALL : ALL
Is any ideal
Thanks for your help and supports!
Lan.
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Dear Andrey and supporters!
Enclosed is completed ser.cfg, permissions.allow, and permissions.deny of my SER. Would you please look at it to tell me why it is not working. Is the gw-psnt.cfg working for you? On my SER, it works with any other *.cfg files that I download from onsip.org.
Thank you in advance!.
Lan.
----- Original Message ----- From: "Andrey Kouprianov" andrey.kouprianov@gmail.com To: serusers@iptel.org Sent: Friday, August 11, 2006 12:05 AM Subject: Re: [Serusers] Problem with the gw-pstn.cfg
Hi,
Thing is: it's difficult to tell you what's happening w/o looking at ur ser.cfg and network captures. However, I had "Too Many Hops" reply from the server, when I had no INVITE handler .. Meaning there were nothing in ser.cfg that handles INVITE. But i dont think it's your case. You should have one (even the simplest example for ser.cfg has INVITE handler).
Bests,
Andrey.
On 8/10/06, Maps mapsair@hotmail.com wrote:
Yes I have changed everythings in that phase to make it register, and it registed. However, after it registed, the call can NOT go thru. It
stop
right at the first check in the main route
if (!mf_process_maxfwd_header("10")) { sl_send_reply("483", "Too Many Hops"); break; };
The Xten show "483", "Too Many Hops"
Did I miss some thing in the installation or configuration?
Enclosed is my permissions.allow ALL : ALL # the only line in the file.
and my permissions.deny is nothings.
Any ideal?
Thanks!
Lan.
----- Original Message ----- From: "Andrey Kouprianov" andrey.kouprianov@gmail.com To: serusers@iptel.org Sent: Thursday, August 10, 2006 2:46 AM Subject: Re: [Serusers] Problem with the gw-pstn.cfg
How about changing
if(!is_from_local() || allow_trusted())
to
if(!is_from_local() && allow_trusted())
?
On 8/10/06, Maps mapsair@hotmail.com wrote:
Dear Friends and Supporters!
I have a problem with the permissions module. I use the gw-pstn.cfg
as
my
ser.cfg. I install asterisk on the same server. It works with any
other
ser.cfg. However, after I copy the gw-pstn.cfg to ser.cfg and
correct
the
ip address as well as the realm. However I never let me register.
It's
alware return the true to
if (!is_uri_host_local()) { if (!is_from_local() || allow_trusted()) { route(4); route(1); } else { sl_send_reply("403", "Forbidden"); break; };
With the error message on my Xten is 403", "Forbidden" Eventhough I have set the perminssions.allow to ALL : ALL
Is any ideal
Thanks for your help and supports!
Lan.
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
How about changing
if(!is_from_local() || allow_trusted())
to
if(!is_from_local() && allow_trusted())
?
On 8/10/06, Maps mapsair@hotmail.com wrote:
Dear Friends and Supporters!
I have a problem with the permissions module. I use the gw-pstn.cfg as my ser.cfg. I install asterisk on the same server. It works with any other ser.cfg. However, after I copy the gw-pstn.cfg to ser.cfg and correct the ip address as well as the realm. However I never let me register. It's alware return the true to
if (!is_uri_host_local()) { if (!is_from_local() || allow_trusted()) { route(4); route(1); } else { sl_send_reply("403", "Forbidden"); break; };
With the error message on my Xten is 403", "Forbidden" Eventhough I have set the perminssions.allow to ALL : ALL
Is any ideal
Thanks for your help and supports!
Lan.
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers