Hi!
I have an error when I try to run this in my openser.cfg:
exec_msg("TAG=$(echo $SIP_HF_FROM|cut -f2 -d=);FROM=$(echo $SIP_HF_FROM|cut
-f2 -d\<|cut -f1 -d\>|cut -f1-2
-d:);/usr/local/openser-1.1.0-tls/uri-folder/record $FROM $SIP_USER $TAG");
The obtained error is:
Aug 28 15:11:21 localhost /usr/local/sbin/openser[32748]:
ERROR:xl_parse_spec: bad pvar name "echo $SIP_HF_FROM|cut -f2
-d=);FROM=$(echo $SIP_HF_FROM|cut -f2 -d\<|cut -f1 -d\>|cut -f1-2
-d:);/usr/local/openser-1.1.0-tls/uri-folder/record $FROM $SIP_USER $TAG"
Thanks in advance for your help!
Michel
________________________________________________
Message sent using UebiMiau 2.7.8
Andrey,
Thanks for the pointer - I turned on PHP logging and found the problem-
PHP Fatal error: Smarty error: unable to write to $compile_dir
'/tmp/serweb'. Be sure $compile_dir is writable by the web server user. in
/home/serweb/smarty/Smarty.class.php on line 1102
Down to permissions on the /tmp/serweb directory - all now working, thanks!!
Dear all,
Thanks to all of you for your kind-hearted to give me solution in solving my problem. Thank you very much.
Thanks to openser developer team, who has released Openser Administrator in sourceforge.net
I have some questions about the openser admin. I do anybody can help me to undestand what the openser admin use for and how to install it.
These are my question:
1. Is openser adminstrator a web application? I mean, does it have same function like "serweb" in ser?
2. How to install the openser administrator in openser server?
I use openser1.1.0-tls and what packets does it need?
3.Is the openser administrator just used by the administrator to manage his/her server? or The openser administrator can be used like a serweb?(the client also can use it) because as I read from the reply message in this forum, the serweb can not use for openser1.1.0-tls
4. If it is not like serweb, can anybody tell me what is the suitable web application for openser ?
That is all my questions. I do hope anybody can help me. Thanks
Regards,
Ferianto
---------------------------------
How low will we go? Check out Yahoo! Messengers low PC-to-Phone call rates.
Hi all,
using sipsak in usrloc mode to test the SER sip REGISTRAR
with the following process :
loop:
./sipsak -U -p host.foo.com -x 3600 -a passwd -s sip:user@foo.com
goto loop
I get the following mesg in LOG file after 2 mins :
build_contact(): No memory left
...
and after a while :
ERROR: build_res_buf_from_sip_req: out of memory ; needs 28132
send_reply(): Error while sending 200 OK
...
CRITICAL ERROR : Can't save Contact to MySQL Location DB
(this is a log mesg in my ser.cfg in case : if (!save("location")) )
ERROR: sl_reply_error used: I'm terribly sorry, server error occurred (1/SL)
although it seems that SER keeps going (?) to write
in Location DB both SER's & MySQL (this seems strange).
I have IBM eServer 336 x 2 :
- 2 dual core Intel Xeon 3.6 GHz with 2MB Cache, EMT64
- 4 GB RAM
- 2x72GB Ultra 320 Scsi disks
# ser.cfg
children=5
Could this be a memory leak problem in SER ?
Is there any conf fine-tuning I can do in order to avoid that ?
When I increase the 'children' up to 20, the problem happens again but within 5 mins.
thanks for any help,
Kostas
I have installed Serweb, but when I run it I just get a blank page, with
just the serweb title at the top.
Nothing else appears, no login box or anything!
I have set PEAR LOG to debug mode and the log only shows this-
Aug 28 12:04:37 serweb [info] Useing file from default domain for filename:
separator.html
Aug 28 12:04:40 serweb [info] Useing file from default domain for filename:
styles.css
Aug 28 12:04:40 serweb [info] Useing file from default domain for filename:
prolog.html
Aug 28 12:04:40 serweb [info] Useing file from default domain for filename:
separator.html
Aug 28 12:04:41 serweb [info] Useing file from default domain for filename:
styles.css
Aug 28 12:04:41 serweb [info] Useing file from default domain for filename:
prolog.html
Aug 28 12:04:41 serweb [info] Useing file from default domain for filename:
separator.html
Aug 28 12:04:42 serweb [info] Useing file from default domain for filename:
styles.css
Aug 28 12:04:42 serweb [info] Useing file from default domain for filename:
prolog.html
Aug 28 12:04:42 serweb [info] Useing file from default domain for filename:
separator.html
The HTML generated is as follows-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>VoIPgb.net - web interface</title>
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8">
<meta name="Author" content="Karel Kozlik <karel at iptel dot
org>">
<meta http-equiv="PRAGMA" content="no-cache">
<meta http-equiv="Cache-control" content="no-cache">
<meta http-equiv="Expires" content="Mon, 28 Aug 2006 11:04:42
GMT">
<LINK REL="StyleSheet"
HREF="/serweb/domains/_default/styles.css" TYPE="text/css">
</head>
<script language="JavaScript"
src="/serweb/js/login_completion.js.php"></script><body><h1>
voipgb.net admin interface</h1><hr>
<div class="swMain">
For some reason, the rest of the page isn't generated!
Any ideas ??????
We recently upgraded from version 1.0.0 to 1.1.0 from CVS of a few days ago.
After a couple of days of uptime, some SQL errors began to appear. First
there was this one:
Aug 21 10:07:07 eowyn OpenSER[19895]: ERROR: warning_builder: buffer
size exceeded
Aug 21 10:07:07 eowyn OpenSER[19895]: WARNING: warning skipped -- too big
Aug 21 10:07:07 eowyn OpenSER[19895]: submit_query:
Aug 21 10:07:07 eowyn OpenSER[19895]: db_insert: Error while submitting
query
Aug 21 10:07:07 eowyn OpenSER[19895]: ERROR:acc:acc_db_request: Error
while inserting to database
Then, some errors like this:
Aug 21 15:41:28 eowyn OpenSER[19895]: submit_query:
Aug 21 15:41:28 eowyn OpenSER[19895]: db_insert: Error while submitting
query
Aug 21 15:41:28 eowyn OpenSER[19895]: ERROR:acc:acc_db_request: Error
while inserting to database
Or the following:
Aug 21 19:02:10 eowyn OpenSER[20604]: submit_query:
Aug 21 19:02:10 eowyn OpenSER[20604]: db_query: Error while submitting query
Aug 21 19:02:10 eowyn OpenSER[20604]: NM ERROR: nm_hash_load_domains():
error with dbf.query()
The nm_hash_load_domains() function is a module of mine, that make an
SQL query. No problem with version 1.0.0.
Is there any SQL known problem in the 1.1.0 CVS version?
Maybe the first error caused some memory garbage?
Thanks.
--
___________________________________________________
__
|- giannici(a)neomedia.it
|ederico Giannici http://www.neomedia.it
___________________________________________________
Hi All,
With single process RTP Proxy we are facing CPU issues.
When we made around 80 or above odd calls, rtpproxy is taking CPU(50%), and
flow of RTP packets delivering some what late to the UA.
Because of this we are facing some sound quality issues.
To get rid of this CPU usage, we are planning to write rtpproxy as a multi
process.
Is this a good idea to write rtpproxy as multi process or is there any work
around to improve the performance of the rtpproxy.
Help and Ideas are highly appreciated.
--
Ramu Yadav
Hi SER users,
Iam using SER-0.9.6 with mediaproxy-0.5 and every think works
fine except with the codecs . G711 a & g711 ulaw works fine but when i tuned
grandstream settings to use g729 codec for pstn calls the call is not done
by the Mediaproxy server .
but when i created a
g729 fake rtp generator it looks fine in sessions.py . so in order to
forward the g729 phone call in to the pstn world what i have to do ?.
Some folks told that "integrate SER with Asterisk Works!" is it really works
for me?
my pstn provider supports all codecs . ofcourse iam working in that company
itself.
please suggest some thing , so that I can bye pass this problem.
Thank
You.
Regards,
Ravi.
Hi all
I am using SER, and testing in my setup
i have few issues , and looking forward for the suggestion
iam running over night script, check the balance
if the balance go to Nagetive, iam deactivating the user
Like removing the Grants of LD and INT
they can make local call.
How can i run IVR for the negative balance user, when they dial to Long
Distance
Balance not there message.
and how can i setup IVR program to user to check the balance of the account.
any suggestions.
ram
Hi All,
How reliable is forward_tcp? I have 3 SIP servers, 1 acting as the database
of the three, I used forward tcp to replicate registration, unfortunately
there are some instance that a local extension cannot contact another
extension. Here's a part of my config
if ((src_ip == 10.10.10.149) || (src_ip == 10.10.10.151)) {
save_memory("location");
};
if (!www_authorize("sipdomain.com", "subscriber")) {
www_challenge("sipdomain.com", "0");
break;
};
if (!save("location")) {
sl_reply_error();
} else {
if ((!src_ip == 10.10.10.149) && (!src_ip == 10.10.10.151)) {
forward_tcp("10.10.10.149", 5060);
forward_tcp("10.10.10.151", 5060);
};
break;
should I use savce_memory? becuase I'm seeing some config that uses
save_noreply, should I use this one?
also should I changed the db_url parameter of usrloc and point it to the
database of the main server?
e.g.
modparam("usrloc", "db_mode", 2)
modparam("usrloc", "db_url", "mysql://ser:heslo@10.10.10.146/ser")
Hope you guys can help me
TIA
Regards,
Nhadie
________________________________________________
Message sent using UebiMiau 2.7