Thanks,
That is just what I needed, I'm gonna read all the documentation and try to implement it, thansk a lot the entire List for the information and fast responding.
Best Regards
[]'s
--
Felipe Martins
Mundivox Communications
Tecnologia e Projetos
fmartins(a)mundivox.com
Tel.: +55 +21 +3820 8839
Cel.: +55 +21 +9823 8602
Fax.: +55 +21 +3820 8844
www.mundivox.com
Hi Guys,
Is there a way to make 2 redundant mysql banks, I mean, making SER writing all the data to 2 different DB Servers ? I want to make my data redudant, just in case one of the Mysql Crashs.
Thanks in Advance
Best Regards
--
Felipe Martins
Mundivox Communications
Tecnologia e Projetos
fmartins(a)mundivox.com
Tel.: +55 +21 +3820 8839
Cel.: +55 +21 +9823 8602
Fax.: +55 +21 +3820 8844
www.mundivox.com
Hi,
I have tested the free-tls code. It compiles and it works. I've tried
with the minisip user agent connecting over TLS, and no major problems.
Also, the interconnection of SER proxies (t_relay_to_tls between
proxies, to force tls) also works.
It seems to me as a rather functional piece of code, much wanted by the
community, though it has not made its way through into the CVS. Why? I
think it is time.
This said, it also has some things that need to be fixed. I recently
sent an email to peter and ser-dev ... but just got silence back.
Anyway, here's the email, for those who came up with the same problems:
sessioin resuming not supported (but unconfigured) by ser, and no peer
certificate verification.
Cesc
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>I found what i think it is a bug. I was testing with minisip, which
supports TLS completely on the client side (even client certs,
>incoming connections, etc). It would create the initial connection ok
to SER. After 2 minutes, SER shuts down the socket. So far
>so good. When minisip tries to register, it tries to create a new SSL
connection, and as it supports session resuming, it would try
>to resume the previous session. But SER does not support it ... and
here is the bug.
>
>To fix it ... as simple as calling
> SSL_CTX_set_session_cache_mode( ssl_ctx, SSL_SESS_CACHE_OFF );
>
>This turns the cache off ... and when ssl receives a session resume
request, it sends back a message indicating it is not possible,
>the client then starts the handshake from scratch.
>Another solution is to implement session catching ... but this may be
too resource consuming in big servers or in embedded
>systems ... so maybe better just to not support it by default ...
maybe implement an option to turn it on at will.
>
>Another thing ... the verification of the certificates ... it is
turned off. It should be turned on i think.
> /* Set verification procedure
> * The verification can be made null with SSL_VERIFY_NONE, or
> * at least easier with SSL_VERIFY_CLIENT_ONCE instead of
SSL_VERIFY_FAIL_IF_NO_PEER_CERT.
> * For extra control, instead of 0, we can specify a callback
function:
> * int (*verify_callback)(int, X509_STORE_CTX *)
> * Also, depth 2 may be not enough in some scenarios ... though
no need
> * to increase it much further */
> SSL_CTX_set_verify( _ctx, SSL_VERIFY_PEER |
SSL_VERIFY_FAIL_IF_NO_PEER_CERT, 0);
> SSL_CTX_set_verify_depth( _ctx, 2);
>
>
Unclassified
Any feedback from ser gurus..
=======================
Hi!
I was able to install and make a call successfully. However, Im using
number, for example 2222 as my
login name and that will serve as my termination / extension number also.
How can I define a specific or corresponding extension number to a specific
user.
for example, I use somebody as login name and I set 1111 as his extension
number.
With this information, I should able to login / register to my gatekeeper
and using somebody as login
name and my friends can call me using my 1111 voip number.
Please help me if there something I need to modify on my ser.cfg
Also I want to enable accounting.
Please help..
thanks,
ed
Hi List,
Is there a way to use SER with Berkeley DB for location module? I
heard that Berkeley DB is ideal for location service and is better than
MySQL when the location table is updated very frequently.
Regards,
Minh
Hi all,
I've extended Juha's LCR module to support prefixes for gateways.
We use it for prefix-based setting of the bearer capability on our gateways.
Note that the attached patch is against Juha's backport for rel_0_9_0 at
http://tutpro.com/tmp/lcr-0.9.0.tgz because we've no CVS-HEAD running here.
It works as follows:
In the new table gw_cap you can define capabilities and their
corresponding prefix, like:
mysql root@ser> select * from gw_cap;
+--------+-----------+------------+----------------------+
| cap_id | cap_value | cap_prefix | cap_description |
+--------+-----------+------------+----------------------+
| 1 | 1 | | default phone trunk |
| 2 | 1 | 01 | prefixed phone trunk |
| 3 | 2 | 02 | prefixed fax trunk |
+--------+-----------+------------+----------------------+
3 rows in set (0.00 sec)
In this case the cap_value of "1" means phone-capabilites, "2" means
fax-capabilities.
The table gw_grp is extended with an additional column cap_id.
mysql root@ser> select * from gw_grp;
+--------+-------------------------+--------+
| grp_id | grp_name | cap_id |
+--------+-------------------------+--------+
| 1 | priority_1_phone | 1 |
| 2 | priority_1_phone_prefix | 2 |
| 3 | priority_1_fax_prefix | 3 |
| 4 | priority_2_phone | 1 |
| 5 | priority_2_phone_prefix | 2 |
| 6 | priority_3_phone_prefix | 2 |
+--------+-------------------------+--------+
6 rows in set (0.00 sec)
In ser.cfg you can then load the gateways for example like this if you
use different gateways/trunks for phone and fax:
if( /* phone call */)
{
if(!load_gws("1"))
{
sl_send_reply("500",
"Internal server error, unable to load phone gateways");
break;
}
}
else /* fax call */
{
if(!load_gws("2"))
{
sl_send_reply("500",
"Internal server error, unable to load fax gateways");
break;
}
}
The usage of next_gw() is as usual.
Also note that the gateway selection algorithm changes when you use
load_gws("x") instead of load_gws(): The latter always selects the
gateways with highest priority first. The new one uses the priority
value as weight, so also gateways with lower priority are chosen. Hit
ratio for 5000 rounds is as follows:
priority-1-gw-1: 35%
priority-2-gw-1: 14%
priority-2-gw-3: 14%
priority-2-gw-2: 14%
priority-2-gw-4: 14%
priority-3-gw-1: 9%
Looking forward for comments/fixes/improvements,
Andy
I downloaded the net messeger 5.0 linked in the ser web page. After installation, I wonder how to configure the messeger to get it work with SER.
What do I used in the Option/connection, do I use SOCKS version4 or HTTP.
How do I get the messeger to register with the proxy...
Also which version of Messeger is tested woth SER.
Thank for any help available.
Hi!
I was able to install and make a call successfully. However, Im using
number, for example 2222 as my
login name and that will serve as my termination / extension number also.
How can I define a specific or corresponding extension number to a specific
user.
for example, I use somebody as login name and I set 1111 as his extension
number.
With this information, I should able to login / register to my gatekeeper
and using somebody as login
name and my friends can call me using my 1111 voip number.
Please help me if there something I need to modify on my ser.cfg
Also I want to enable accounting.
Please help..
thanks,
ed