Hello,
I have problems with too many branches for latest X-Lite release 1011s
stamp 41150. Other phones are working properly. X-Lites are trying to
subscribe each 40 seconds with different rinstance strings. Example:
mysql> select contact,last_modified from location where username='1538' order by last_modified;
+-----------------------------------------------------------+---------------------+
| contact | last_modified |
+-----------------------------------------------------------+---------------------+
| sip:1538@158.197.240.237:51092;rinstance=897b6ff9462755eb | 2007-06-13 14:17:41 |
| sip:1538@158.197.240.237:51092;rinstance=059223be49bdc5a4 | 2007-06-13 14:18:21 |
| sip:1538@158.197.240.237:51092;rinstance=e3b22d920bdd9b61 | 2007-06-13 14:19:00 |
| sip:1538@158.197.240.237:51092;rinstance=163058af66fd3b21 | 2007-06-13 14:19:39 |
| sip:1538@158.197.10.104:5060 | 2007-06-13 15:10:01 |
+-----------------------------------------------------------+-------------------
After some time there is 30-90 subscriptions for some users (not for all
users of X-lite, but only for lastest Xlite).
After some time openser is sending many SUBSCRIBE requests to these users
and eats all of CPU, my calls are very slow.
I am now trying to play with "max_contacts" registrar parameter set to 5.
Is it a problem of X-lite and how to prevent these DOS attacks from wrong
softphones?
Thank you.
SAL
Hi
I have seen your post in news group
iam trying to setup same kind of setup
kindly advice, what kind of server full config with RAID levels used by the
people in real production.
they are using one server for all, like NAT, RTP, MYSQL DATA, or diferent
servers
On P4 3.0 GHz, we use RTPProxy, and on 80 concurent calls CPU is 5%.
In start we have used Media proxy, but we have problems, and we switch to
RTPProxy.
your advice will be helpfull my deployement
ram
the output I sent is from ser. I switched to ser because of same error so I
thought this time I'll get some reply from some one.
thanks
On 6/21/07, Henning Westerholt <henning.westerholt(a)1und1.de> wrote:
>
> On Donnerstag, 21. Juni 2007, Arun Kumar wrote:
> > here is my top output:
> >
> > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
> > 16167 root 15 0 617m 54m 36m S 0.0 2.7 8:26.84 ser
>
> Are you using OpenSER or SER?
>
> Cheers,
>
> Henning
>
Hi all,
I am having some issues with editing remote party header. I
understand that changes are saved as a diff and are sent when packet
goes on wire. In my current config rpid is edited when invite is
received and it seems to work fine.
There is one scenario where I need to edit rpid or remove rpid
altogether before relaying it. "remove_hf" did not remove the header
after it was edited earlier.
Is there a way to do this?
Thanks in advance for your help.
--
Zahid
Hi
iam peering wit different providers
now i have one provider working fine
now i have added 2more providers, and documentation
says to use LCR to route the calls.
i have client who authenticate with IP address send calls
how can i change customer route from one provider to other provider
on realtime ? is required to rerun openser, any idea
how can i create prefix to the customer with ip (trusted)authentication
ram
can you please explain my first ques:
1. Is there any benefit of increasing the value of PKG_MEM_POOL_SIZE and
SHM_MEM_SIZE ?
/*used only if PKG_MALLOC is defined*/
#define PKG_MEM_POOL_SIZE 1024*1024
/*used if SH_MEM is defined*/
#define SHM_MEM_SIZE 32
thanks
arun
On 6/20/07, Morgan Gilroy <morgan(a)telappliant.com> wrote:
>
> If you use `free –m` it shows the amount of memory in mega bytes, should
> be easier to read.
>
>
>
> Mem:
>
> Total: total memory in your system
>
> Used: Memory used by all processes and disk cache etc..
>
> Free: memory that is not being used at all
>
> (ignore the others as they are no longer used)
>
>
>
> -/+ buffers = same as above except not counting disk cache and other
> temporary memory usage. This is what is really being used.
>
>
>
> Swap: this is the swap space on the disk.
>
>
>
> When an application requests memory it first gets memory from the free
> memory, if there is not enough then it takes memory from the disk cache and
> other buffers. The cache is there just to speed up access but it can use a
> lot of ram.
>
>
>
> Look at `man free` or google if you want a further explanation.
>
>
> ------------------------------
>
> *From:* Arun Kumar [mailto:arunvoip@gmail.com]
> *Sent:* 20 June 2007 16:09
> *To:* Morgan Gilroy
> *Cc:* USER; serusers(a)lists.iptel.org
> *Subject:* Re: [Users] regarding memory usage
>
>
>
> # free
> total used free shared buffers cached
> Mem: 2074376 1740724 333652 0 72328 1280192
> -/+ buffers/cache: 388204 1686172
> Swap: 2031608 0 2031608
>
> can you please explain in brief all the info.
>
> thanks
> arun
>
> On 6/20/07, *Morgan Gilroy* <morgan(a)telappliant.com > wrote:
>
> The numbers shown for memory usage also include shared memory, ie memory
> used by multiple processes/threads, these shared areas will be counted
> multiple times.
>
>
>
> Use `free` to find the real amount of used memory on your server (look at
> the +/- buffers section)
>
>
> ------------------------------
>
> *From:* users-bounces(a)openser.org [mailto:users-bounces@openser.org] *On
> Behalf Of *Arun Kumar
> *Sent:* 20 June 2007 14:44
> *To:* USER; serusers(a)lists.iptel.org
> *Subject:* [Users] regarding memory usage
>
>
>
> Hi
>
> 1. Is there any benefit of increasing the value of PKG_MEM_POOL_SIZE and
> SHM_MEM_SIZE ?
>
> /*used only if PKG_MALLOC is defined*/
> #define PKG_MEM_POOL_SIZE 1024*1024
>
> /*used if SH_MEM is defined*/
> #define SHM_MEM_SIZE 32
>
>
> 2. I've compiled my ser with
>
> #define PKG_MEM_POOL_SIZE 1024*1024*512
>
> ans started using ser -m 100 option with children=4 and listening on two
> ips
>
> when I started memory usages was seems to fine for few days(3-4) less then
> 1GB but after that nealy 1.7 - 1.8 GB of memory usage and when I do top:
>
> 16165 root 15 0 617m 54m 36m S 0.3 2.7 0:16.34 ser
> 16167 root 15 0 617m 54m 36m S 0.3 2.7 0:15.89 ser
> 16164 root 15 0 617m 54m 36m S 0.3 2.7 0:16.29 ser
> 16166 root 15 0 617m 54m 36m S 0.7 2.7 0:16.16 ser
> 16172 root 16 0 617m 53m 35m S 0.0 2.7 0:05.04 ser
> 16168 root 16 0 617m 52m 34m S 0.0 2.6 0:00.09 ser
> 16170 root 16 0 617m 52m 34m S 0.0 2.6 0:00.07 ser
> 16169 root 16 0 617m 52m 34m S 0.0 2.6 0:00.08 ser
> 16171 root 16 0 617m 52m 34m S 0.0 2.6 0:00.10 ser
> 16163 root 16 0 617m 52m 34m S 0.0 2.6 0:00.01 ser
> 16145 root 25 0 617m 52m 34m S 0.0 2.6 0:07.80 ser
>
> it shows 11 instance of ser with above info. If I sum up
> 617 * 11 = 6787 MB of memory but in my machine I've only 2 GB Physical RAM
> and it never uses Swap ?
> if 54 * 11 = 594 ? but free -m and top shows more memory usage ?
>
> can please explain me in brief . I'll be really thankfull. B'coz of this
> I'm facing may problem.
>
> thanks
>
> arun
>
>
> ______________________________________________________________________
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email
> ______________________________________________________________________
>
>
> _______________________________________________
> Users mailing list
> Users(a)openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>
>
>
> ______________________________________________________________________
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email
> ______________________________________________________________________
>
Hi all,
I'm running openser 1.2.1 w/ tm module. In some calls, specially
FAX-calls, my gateways tries T.38 first and then performs fallback to
G711. This scenario makes my OpenSER resend some messages even though it
has got an ACK.
What happends is that the terminating PBX doesn't support T.38 and sends
a "488 Not Acceptable Media" respons to my OpenSER which is relayed back
to my gateway. The relay of messages looks like this:
- INVITE with T.38 from GW to PBX
1. PBX sends 488 to OpenSER
2. OpenSER ACKs to PBX
3. OpenSER sends 488 to GW
4. GW ACKs to OpenSER
5. OpenSER sends 488 to GW
6. GW ACKs to OpenSER
- INVITE with G711 from GW to PBX
1. PBX OK back to GW
Now after the new INVITE with G711 OpenSER starts to send the
488-messages to my Gateway again, and I'm assuming it does so because it
think they are not ACKed? Any idea to what goes wrong here?
Br,
/Tobias
Hi Naidu,
If you've compiled openser from source, then u'll find a script called
mysqldb.sh inside the scripts directory of the source distribution. Just cd
to the directory containing the script. And then execute it as
# ./mysqldb.sh create
That should be it, it will ask you if u want to create the presence related
tables.
Thanks
kumar
On 6/20/07, akkala.naidu(a)aricent.com <akkala.naidu(a)aricent.com> wrote:
>
> Hi Kumar,
>
> Even myself trying to use openser as 'presence server'.
> I did all the changes to openser.cfg to add presence module to openser.
> i have downloaded and installed mysql binary "
> mysql-5.0.41-linux-i686-glibc23.tar.gz " from net.
> now my question is: How to create PRESENCE tables from mysql ?
> when i type 'use openser' command from mysql> i got below error :
>
> mysql> use openser
> ERROR 1049 (42000): Unknown database 'openser'
>
>
> Pls let me know how to create tables and how to start mysql client an
> server to make it work as presence server.
>
> Thanks in advance,
> Naidu
>
> -----users-bounces(a)openser.org wrote: -----
>
> To: users(a)openser.org
> From: KUMAR <kumar.kisalaya(a)gmail.com>
> Sent by: users-bounces(a)openser.org
> Date: 06/20/2007 12:44PM
> Subject: [Users] presence
>
>
>
> ScanMail detected the email with attachment openser.cfg20070620094425.raris not allowed to circulate. The attachment Quarantineed
> ScanMail detected the email with attachment openser_dump20070620125611.rar
> is not allowed to circulate. The attachment Quarantineed
>
> Hi all,
> I am using openser-1.2.1+RTPProxy. I am using XLite as UA. I want to
> be able to store the buddy list of the users at the server. For this,
> I am using the presence module. But I cannot get it working. I have
> created the presence related tables in mysql. And those tables do show
> some information in them. I have attached my openser.cfg and the
> message dump from wireshark. The messages have been captured at the UA
> end.
> I also get the following message at the server.
>
> PRESENCE: handle_subscribe:Missing or unsupported event header field value
> 2(12452) PRESENCE:handle_subscribe: ERROR occured
> 2(12452) WARNING: script writer didn't release transaction
>
> Am I missing something basic here?
> Please reply.
> Thank you
> Kumar
>
>
> ScanMail detected the email with attachment openser.cfg20070620094425.raris not allowed to circulate. The attachment Quarantineed
> ScanMail detected the email with attachment openser_dump20070620125611.rar
> is not allowed to circulate. The attachment Quarantineed
>
> _______________________________________________
> Users mailing list
> Users(a)openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>
>
>
> *****Aricent-Private *****=
>
> "DISCLAIMER: This message is proprietary to Aricent and is intended solely for the use of
> the individual to whom it is addressed. It may contain privileged or confidential information and should not be
> circulated or used for any purpose other than for what it is intended. If you have received this message in error,
> please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly
> prohibited from using, copying, altering, or disclosing the contents of this message. Aricent accepts no responsibility for
> loss or damage arising from the use of the information transmitted by this email including damage from virus."
>
>
Hi to all,
i made some other investigation on my logs.
I found that from one day before the problem of out of memory has been
raised in my logs i found this wrong registrations started to come to
the proxy every 15 seconds from one client.
REGISTER sip:voip.domain.com:5060 SIP/2.0
Via: SIP/2.0/UDP 123.123.123.123:1375;branch=z9hG4bK00E0F55649500000BF2F00001098
From: <sip:voip.domain.com>;tag=00E0F55649500000BF2F00001AB7
To: <sip:voip.domain.com>
Call-ID: 00E0F55649500000AE6C00000408(a)123.123.123.123
CSeq: 59185 REGISTER
Contact: <sip:123.123.123.123:5060>
Expires: 3600
Max-Forwards: 70
Content-Length: 0
In my configuration as route that handle REGISTER requests i made an avp_db_load to check if the username registering
is a valid user and make some avp_check on the preferences that are loaded.
Is it possible that having the empty username in From/To is causing some memory leak?
Remember i'm using version 1.2.0 .
Thanks,
Bye,
Marcello
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I'm playing around with parallel calls. Is there a way to find out how
much pending forks belonging to 1 origin call/transaction are hold in
openser? Or, alternatively, is there a way to detect in openser the last
pending branch of a parallel fork, which is eihter going to be the
winning branch or, of course, the failed branch, which generates then
the final negative reply to party A.
regards
helmut
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGdoo24tZeNddg3dwRAulWAKCJNEJseSci0f5DDwmGuOnnxZ+HJACdGLIo
1Hx04Pg603nqd0Uwks2CK9I=
=wt8R
-----END PGP SIGNATURE-----