Hi All.
Below is a snapshot of "serctl moni" and as you can see it shows 1 waiting
message. Can anyone tell me what would keep these messages in a waiting state?
I think I must have an error in my ser.cfg file because call waiting doesn't
work properly.
How can I prevent messages from accumulating in a waiting status? Is there a
timeout to /dev/null them?
Regards,
Paul
[cycle #: 57; if constant make sure server lives and fifo is on]
Server: Sip EXpress router (0.8.14 (i386/linux))
Now: Tue Oct 26 09:01:02 2004
Up Since: Tue Oct 26 08:59:01 2004
Up time: 121 [sec]
Transaction Statistics
Current: 0 (1 waiting) Total: 8 (0 local)
Replied localy: 15
Completion status 6xx: 0, 5xx: 0, 4xx: 2, 3xx: 0,2xx: 6
Stateless Server Statistics
200: 0 202: 0 2xx: 0
300: 0 301: 0 302: 0 3xx: 0
400: 0 401: 0 403: 0 404: 5 407: 0 408: 0 483: 0 4xx: 0
500: 0 5xx: 0
6xx: 0
xxx: 0
failures: 1
UsrLoc Stats
Domain Registered Expired
'aliases' 2 0
'location' 10 0
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail
Okay, another question.
Is there any advantage in reliability when using the acc-radius module
opposed to the acc-mysql database table?
I'm assuming no since both use the same "acc" module and simply seem to be
differing methods of saving the accounting information, but I wanted to ask.
Also, is there any difference in performance?
Thanks for all your help!
Darren Nay
> -----Original Message-----
> From: Jan Janak [mailto:jan@iptel.org]
> Sent: Tuesday, October 26, 2004 4:48 PM
> To: Darren Nay
> Cc: serusers(a)lists.iptel.org
> Subject: Re: [Serusers] Concurrent Calls
>
> No, scanning the acc table is the only (but not reliable) way. Note that
> scanning acc table would probably introduce performance bottleneck if
> the table is big.
>
> Jan.
>
> On 26-10 10:24, Darren Nay wrote:
> > Hey All,
> >
> > Simple question. Is there currently a way to keep track of concurrent
> calls
> > with SER. Ie. To check current calls in progress.
> >
> > I believe that I can write an app that will scan the mysql "acc" table
> and
> > calculate this, but wanted to check and see if it had already been done
> > before I went to the trouble.
> >
> > Thanks!
> >
> > Darren Nay - dnay(a)ionosphere.net
> > VoIP Network Development
> > Ionosphere, Inc (Champion Communications)
> >
> > _______________________________________________
> > Serusers mailing list
> > serusers(a)lists.iptel.org
> > http://lists.iptel.org/mailman/listinfo/serusers
Hi All:
I have SER listening to both IPv4 and IPv6 interfaces. With my current
config, when an IPv4 soft phone wants to talk to an IPv6 soft phone I
have to prefix the dialed number with 6, and vice-versa with prefix 4.
(Assume that my soft phones are registered with a 4-digit numbers)
The routing logic looks like this in ser.cfg:
if (uri=~"^sip:6[0-9]{4}") {
log(0, "*****Forward to IPv6 G/W (6xxxx)*****\n");
strip(1);
rewritehostport("ser.xxx:5060");
forward("46gw.xxx",5062);
log(0, **************************************\n");
break;
};
if (uri=~"^sip:4[0-9]{4}") {
log(0, "*****Forward to IPv4 G/W (4xxxx)******\n");
strip(1);
rewritehostport("ser.xxx:5060");
forward("64gw.xxx",5062);
log(0, **************************************\n");
break;
};
Ideally, I would like to not strip out the leading 6 or 4 in order to
make a call, and use the 4-digit number the end-users have registered with.
Any ideas welcome.
--
Socrates.
Hi All,
I came across a thread on the serusers mailing list from smeone
called Martin Coggin, saying that he was having trouble setting up
the mysql database for ser (wouldnt accept passwords)and Im having
the same problem. I've included the problem thread below:
"".........................
hattie:/usr/sbin# ser_mysql.sh create
MySql password for root:
Domain (realm) for the default user 'admin': ser
creating database ser ...
Enter password:
ERROR 1045: Access denied for user: 'root at localhost' (Using
password:
YES)
OK so I know I put the right root password in for Mysql cos it works
with mysqld.
What is the right response to Domain (realm) for the default user
'admin': as you can see Ive used SER. Is this right.
What password is to be entered in the line after "creating database
ser". Ive tried heslo, Ive tried mysql root password, Ive tried YES.
All get the same response............................""
I am experiencing the EXACT same problem and do not know how to fix
it. I think the database is created but I cannot add users using the
serctl utility because I get asked for the same password. Heslo or
the root password dont work.
Any help would be greatly appreciated,
Thank you for your time,
Aisling O' Driscoll.
-------------------Legal Disclaimer---------------------------------------
The above electronic mail transmission is confidential and intended only for the person to whom it is addressed. Its contents may be protected by legal and/or professional privilege. Should it be received by you in error please contact the sender at the above quoted email address. Any unauthorised form of reproduction of this message is strictly prohibited. The Institute does not guarantee the security of any information electronically transmitted and is not liable if the information contained in this communication is not a proper and complete record of the message as transmitted by the sender nor for any delay in its receipt.
----------------------------------------------------------------------------------------
Another possibility but for those using mediaproxy, you can see all the
ongoing sessions UA type, codec etc in console or in the web.
Adrian
>>>>>
This is a fairly hard problem.
For example, it is very difficult
to write a query that finds all UA devices that
have more than one call at a time. Or a query that
determines the maximum number of calls that were
concurrently active during any given month for all accounts.
This leaves table scanning. I can write a query
that finds :
1) The start time for all calls for a specific account
2) The end time for all calls for a specific account.
Union both result sets together, order by the time field.
Then increment a counter each time you see a start, decrement the
same counter when you see an end. Whenever you get a new
'start' time check the concurrency counter against a max concurrency
counter.
This is a fairly expensive operation. I don't think it can be done
by query alone. It would take a query and some scripting.
Another way would be to keep track of 'max concurrent calls' via
a database trigger. That is, I can create a trigger that accomplishes
the logic above every time an
acc record is inserted (and a new start time is recorded) and every
time it is updated (end time is recorded).
You could also do the same from a script inside the ser.cfg processing.
-g
On Oct 26, 2004, at 4:48 PM, Jan Janak wrote:
Hey All,
Simple question. Is there currently a way to keep track of concurrent calls
with SER. Ie. To check current calls in progress.
I believe that I can write an app that will scan the mysql "acc" table and
calculate this, but wanted to check and see if it had already been done
before I went to the trouble.
Thanks!
Darren Nay - dnay(a)ionosphere.net
VoIP Network Development
Ionosphere, Inc (Champion Communications)
I've had mixed results in the past using the lookup(aliases) command. I'd
like to get clarification on the proper placement of this command in the
proxy configuration file before trying additional tests.
Right now I have lookup("aliases") within conditional statements in the
config file. serctl doesn't seem to experience any problem when I add
aliases
but the alias doesn't seem to be a reachable address for incoming calls.
In order for this command to work and the alias table to be created
properly do I need to have the lookup("aliases") command in route block 0
in a position where it is executed on each pass through the configuration?
Thanks,Steve
--
ISC Network Engineering
The University of Pennsylvania
3401 Walnut Street, Suite 221A
Philadelphia, PA 19104
voice: 215-573-8396
215-746-7903
fax: 215-898-9348
sip:blairs@upenn.edu
Hello
Why am I getting this error with the latest version on CVS?
Oct 25 23:54:37 is1 ser[16888]: WARNING: no fifo_db_url given - fifo DB
commands disabled!
Is there a config parameter I need to add?
Thanks,
E.
Hi,
I notice in the documentation that the pa module does not support a
b2bua configuration (i.e. normal processing of SIP Subscriptions and
notifications...), but that this is currently being worked on. I am
wondering how far along this work is coming, and if there are any
partial-solutions that might be available?
Basic scenario that I'm looking for:
client1 to b2bua: subscribe to client2
b2bua to client1: notify(offline)
b2bua to client2: subscribe
client2 to b2bua: notify(busy)
b2bua to client1: notify(busy)
Thanks for any info...
Alex Rootham
Blueslice Networks