I have ser and remote radius server with mysql-
I want to add serWEB module but how cai i do this?
Is There a manual?
Are there other module for ser that you prefer?
Thanks
Hi
When using this function in order to bypass proxy_auth checks, shouldnt
it do a lookup in a DB,
I have the following
--------------------------------------
if (!allow_trusted()) {
if (!proxy_authorize("sip.dom.com",
"subscriber")) {
proxy_challenge("sip.dom.com", "0");
break;
} else if (!check_from()) {
sl_send_reply("403", "Use From=ID");
break;
} else if (!(is_from_local() ||
is_uri_host_local())) {
sl_send_reply("403", "Please register
to use our service");
break;
};
};
---------------------------------
The problem is when I do this I always fall into this loop even if my
pattern in my trusted table matches
pattern is of the form sip:[0-9]*@a.b.c.d
However I wanted to check to see if my entry in the DB was correct, but
no DB query seems to be sent, or at least its not in my logs. IN debug
also I cant seem to see the line which may show what it is checking.
Iqbal
Is there a SER B2BUA available?
thx
Mark Roddy
LAKE Communications
http://www.lakecommunications.com
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
postmaster(a)lakecommunications.com
This footnote also confirms that this email message has been
scanned for the presence of computer viruses.
www.lakecommunications.com
**********************************************************************
Hi,
from my debug after trying to use the uac_auth in a failure route, I get the following:
Mar 31 16:37:46 sip ser[20394]: BUG:uac:uac_auth: empty reply on picked branch
I've modified the cvs version to compile on 0.9.0
Anyone?
Mvh,
Helge Waastad
I am trying to setup SER so it can be used both by internal and
external users. I have tried to set it up with two interfaces, one
internal and one external. There is a STUN server setup for external
users as well.
The problem with this is that internal clients will obviously add a
VIA header with their internal IP so if they call someone on the
outside and that someone sends a BYE for example, it never gets to the
internal client because it tries to send it to the internal IP
address.
Putting SER completely on the outside does not work either unless all
NAT-ed clients support ICE (because there is no sound coming through).
The only client which I've seen to support ICE so far is Xten's
Eyebeam softphone, but I'd like to be able to use hardphones as well.
Does anyone have an idea how to accomplish what I need to do?
Is there something I can do in ser.cfg so the VIA header of the
internal client is stripped, or can I have 2 SER's, one listening on
internal IP and one on the external IP and have them relay each other?
I have tried the mhomed directive but that seems to mess things up
even more.
Dear all,
i have configured ser-0.8.11-0 ser-mysql-0.8.11-0. i have configured using how to provided in iptel.org website. my Sjphone authenticated perfectly against mysql database. but while calling to other sjphone it is giving some unusual voice. it is giving strange voice. what could be the problem? is there any thing to configure for voice?
While using Sjphone, On screen it show me (gsm). is that reason for unusual voice. if yes, then how do i solve this problem.
Thanking you,
Joel n.solanki
Hi,
Finally I found the solution!
Accepting calls from Asterisk users by SER is simple, by adding special
routes in ser.cfg. The problem is to route SER users' calls to Asterisk. By
default, Asterisk replies with a "Not Found" error to SER if the "INVITE"
message forwarded to it is not authorized. Making SER authorized to Asterisk
is done by adding a user in sip.conf as a peer. This yields something like
this:
[un]
type=peer
username=un
insecure=yes
host=SER's ip address (host name)
Whenever "insecure" is set to "yes", "host" provides security. This means
packets are only allowed from the specified ip address.
The "un" is the name of the calee! According to authentication procedure
described in RFC-3261, the "TO" header field represents user agent being
authorized. So, when a SER client is calling an Asterisk one, he/she is
providing Asterisk with the "TO" field of calee URI. So, Asterisk tries to
locate the authentication for that user (calee) and this is the point.
This just worked!
K. Aasaraai
Hi again,
As Casey said, I tried the Asterisk configuration (like I did before) and
asterisk didn't reply correctly. My problem is that my SER's users can't
make calls to Asterisk's users. In SER's configuration, I forward invite
packets to Asterisk, and it really comes!. I dumped packets being sent, and
found out that Asterisk replies with a "Not Found" error to SER, and this
the thing that Client (SER's client) receives. I also captured an Asterisk's
authorized user's invite packet for a specified calee, and the two "To" URIs
are the same. (The one being sent from SER's user and the one from
Asterisk's user). It seems registering Asterisk to SER is not sifficient to
make SER authorized to Asterisk.Can anyone help me? Thank you.
To Paul:
I read the "Getting Started" document, but couldn't find anything related to
registering SER to Asterisk. (Seems the section is still under construction)
By the way, thanks to Casey and Paul.
K. Aasaraai
Hi all,when I try to open serweb's login screen, I get the following errors:
Warning: Client does not support authentication protocol requested by
server; consider upgrading MySQL client in
/var/www/html/serweb/serweb_2004-07-27/phplib/db_mysql.inc on line 73
Database error: pconnect(localhost, ser, $Password) failed.
MySQL Error: ()
Session halted.
When I start APACHE, I get all these warnings:
PHP Warning: Function registration failed - duplicate name - mysql_connect
in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mysql_pconnect
in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mysql_close in
Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_select_db in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_create_db in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mysql_drop_db
in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mysql_query in
Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_unbuffered_query in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mysql_db_query
in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mysql_list_dbs
in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_list_tables in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_list_fields in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mysql_error in
Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mysql_errno in
Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_affected_rows in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_insert_id in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mysql_result
in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mysql_num_rows
in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_num_fields in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_fetch_row in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_fetch_array in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_fetch_assoc in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_fetch_object in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_data_seek in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_fetch_lengths in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_fetch_field in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_field_seek in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_free_result in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_field_name in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_field_table in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_field_len in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_field_type in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_field_flags in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_escape_string in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_get_client_info in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_get_host_info in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_get_proto_info in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_get_server_info in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mysql in
Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_fieldname in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_fieldtable in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mysql_fieldlen
in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_fieldtype in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_fieldflags in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mysql_selectdb
in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mysql_createdb
in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mysql_dropdb
in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_freeresult in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_numfields in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mysql_numrows
in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mysql_listdbs
in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_listtables in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_listfields in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mysql_db_name
in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mysql_dbname
in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_tablename in Unknown on line 0
PHP Warning: mysql: Unable to register functions, unable to load in
Unknown on line 0
Do you know the reason for these warnings? Do they have any relation with
the error I get when trying to connect? Can you help me please?
Thank you
Llanos
Hi,
I am trying to configure ser 0.8.14 with remote radius.
I am using radiusclient 0.4.8
And freeradius.0.9.1
And my os is debian
It is ok for local server. But when I am trying to do acc with remote
radius, it is not sending any information.
Now by seeing the debugging information ( and some code), I have found that
the error has generated from the radiusclient.
Now has anybody done it?
I have found that many people have faced lots of problem with ser-0.8.14 and
remote radius.
It works for ser-0.8.12
Thank you,
Shaikat