I've been attempting to get statistics for dialogs to work for me:
I've loaded the dialog.so module, and set the dlg_flag to 2.
However, I've not been able to see dialogs open or close when
I use the openserctl get_statistics all call.
I know statistics are working because I put them in, increment them
in the routing script, and I see them in the openserctl get_statistics output.
Can somebody post an example of how to get dialog counting to work?
Thanks,
-g
--
Greg Fausak
greg(a)thursday.com
Dear Karel,
Thank you very much again for your kind-hearted. Thank you very much.
I am sorry Karel. If I can make a wish to you again, I have some questions anymore. Can I? Please... :)
1. I have downloaded from pear.net the DB packet. The version of the packet is DB-1.7.6. I have untar it in root directory. I can found the file DB.php in it. But I am confused, where should I place this DB.php file? So I can solve this error? Would ypu mind telling me..Please..
Sould I have internet connection to install it? Because I do not have internet connection now.
2. Would you mind telling me what you mean by "fix include_path in your php.ini".
Would you mind give me an example? Please...
I do hope you can help me. I know that I am still nwe in this system and I have lack skill in this system. Please help me...Please..
Thank you very much...
Regards,
Ferianto
Karel Kozlik <karel(a)iptel.org> wrote: Hi,
it looks like php-pear is not installed or php can't find it. Check if
file DB.php (from the PEAR library) is in dir /usr/share/pear. If not,
install php pear into this dir, or fix include_path in your php.ini.
More info about php-pear you could find at http://pear.php.net
regards Karel
Ferianto siregar napsal(a):
> Dear all,
>
> Thanks to every body in this forum for help me.. Thank you.
>
> All, now I try to build serweb-0.9.4 in openser-1.1.0-tls. I have ever
> got a message from this forum that the serweb-0.9.4 can work sucessfully
> in openser-1.1.0.
> So, I tried to install it in openser-1.1.0. But, When I tried, I got the
> error message.
> This is the error message that I have got. I do hope anybody can give me
> a suggestion to solve this problem. Please...
>
> The error message is :
> [Sat Sep 09 13:02:56 2006] [notice] mod_python: Creating 4 session
> mutexes based on 256 max processes and 0 max threads.
> [Sat Sep 09 13:02:56 2006] [notice] Apache/2.2.0 (Fedora) configured --
> resuming normal operations
> [Sat Sep 09 13:03:10 2006] [error] [client 202.95.149.251] PHP Warning:
> require_once(DB.php) [
> href='function.require-once'>function.require-once]: failed to open
> stream: No such file or directory in
> /var/www/serweb-0.9.4/html/main_prepend.php on line 38
> [Sat Sep 09 13:03:10 2006] [error] [client 202.95.149.251] PHP Fatal
> error: require_once() [function.require]:
> Failed opening required 'DB.php' (include_path='.:/usr/share/pear') in
> /var/www/serweb-0.9.4/html/main_prepend.php on line 38
> [root@sip httpd]#
>
> I have tried to analyze the error. But, I can not understand what
> happen. Maybe because my lack skill in php programming.
> I do hope anybody can help me..Please...
>
>
> Thanks
> Regards,
>
>
> Ferianto
>
> Note :
> 1. I am using Fedora Core 5
> 2. The php and mysql packet are :
>
>
> php-pdo-5.1.2-5
> php-soap-5.1.2-5
> php-bcmath-5.1.2-5
> php-ncurses-5.1.2-5
> php-gd-5.1.2-5
> php-mbstring-5.1.2-5
> php-xmlrpc-5.1.2-5
> php-ldap-5.1.2-5
> php-mysql-5.1.2-5
> php-devel-5.1.2-5
> php-imap-5.1.2-5
> php-pgsql-5.1.2-5
> php-xml-5.1.2-5
> php-5.1.2-5
> php-pear-1.4.6-2
> php-dba-5.1.2-5
> php-odbc-5.1.2-5
> php-snmp-5.1.2-5
>
> libdbi-dbd-mysql-0.8.1a-1.2.1
> mysql-5.0.18-2.1
> mysql-server-5.0.18-2.1
> mod_auth_mysql-3.0.0-3
> php-mysql-5.1.2-5
> mysql-connector-odbc-3.51.12-1.2.1
> mysql-devel-5.0.18-2.1
>
>
>
> ------------------------------------------------------------------------
> Yahoo! Messenger with Voice. Make PC-to-Phone Calls
>
> to the US (and 30+ countries) for 2�/min or less.
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Serweb-users mailing list
> Serweb-users(a)lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serweb-users
---------------------------------
Stay in the know. Pulse on the new Yahoo.com. Check it out.
Hi to all,
I read
http://www.voip-info.org/wiki/view/MS+LCS+2005+%252F+SER+%252F+Asterisk+Int…
Is it possible to use ser as a presence server instead
of LCS 2005 ?
Harry
___________________________________________________________________________
Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet !
Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences.
http://fr.answers.yahoo.com
Hi!
My sip phone has troubles to understand which sip address to contact
when it receives a redirection from my openser:
In fact 'To' header field contains the new uri and the last one... So
now I try to remove the last one from the field but I don't know how to
do this!
Can somebody help me?
Thank you!
Michel
Dear All
I don't know that is anyone have the same problem.
The sipua calls to the pstn user through the cisco voice gateway,
then if the pstn user ends the session, the radius log will not to log the acct_stop_time until the sipua handup
could anyone help
Best Regards
AR.
Good afternoon guys...I'd like to ask you some questions based on my project in building SIP server..
I need to activate msilo so that it could store offline messages from clients.
Is it common that in my SER modules that i have installed has no module named vm.so??
The following configuration is my ser.cfg. Please tell me what i have to add to activate msilo module:
----------------------------------------------------------------------------------------------------------------------------
debug=3
fork=yes
log_stderror=yes
listen=202.95.149.2 # put your server IP address here
port=5060
children=8
dns=no
rev_dns=no
fifo="/tmp/ser_fifo"
fifo_db_url="mysql://ser:heslo@localhost/ser"
fifo_mode=0666
loadmodule "/usr/local/lib/ser/modules/mysql.so"
loadmodule "/usr/local/lib/ser/modules/sl.so"
loadmodule "/usr/local/lib/ser/modules/tm.so"
loadmodule "/usr/local/lib/ser/modules/rr.so"
loadmodule "/usr/local/lib/ser/modules/maxfwd.so"
loadmodule "/usr/local/lib/ser/modules/usrloc.so"
loadmodule "/usr/local/lib/ser/modules/registrar.so"
loadmodule "/usr/local/lib/ser/modules/auth.so"
loadmodule "/usr/local/lib/ser/modules/auth_db.so"
loadmodule "/usr/local/lib/ser/modules/nathelper.so"
loadmodule "/usr/local/lib/ser/modules/textops.so"
loadmodule "/usr/local/lib/ser/modules/uri_db.so"
loadmodule "/usr/local/lib/ser/modules/uri.so"
loadmodule "/usr/local/lib/ser/modules/avpops.so"
loadmodule "/usr/local/lib/ser/modules/domain.so"
loadmodule "/usr/local/lib/ser/modules/permissions.so"
loadmodule "/usr/local/lib/ser/modules/msilo.so"
modparam("auth_db|permissions|uri_db|usrloc","db_url", "mysql://ser:heslo@localhost/ser")
modparam("auth_db|uri_db|usrloc", "db_url", "mysql://ser:heslo@localhost/ser")
modparam("auth_db", "calculate_ha1", 1)
modparam("auth_db", "password_column", "password")
modparam("nathelper", "natping_interval", 30)
modparam("nathelper", "ping_nated_only", 1)
modparam("nathelper", "rtpproxy_sock", "unix:/var/run/rtpproxy.sock")
modparam("usrloc", "db_mode", 2)
modparam("registrar", "nat_flag", 6)
modparam("rr", "enable_full_lr", 1)
modparam("tm", "fr_inv_timer", 27)
modparam("tm", "fr_inv_timer_avp", "inv_timeout")
modparam("permissions", "db_mode", 1)
modparam("permissions", "trusted_table", "trusted")
alias='pcr.ac.id'
route {
# -----------------------------------------------------------------
# Sanity Check Section
# -----------------------------------------------------------------
if (!mf_process_maxfwd_header("10")) {
sl_send_reply("483", "Too Many Hops");
break;
};
if (msg:len > max_len) {
sl_send_reply("513", "Message Overflow");
break;
};
# -----------------------------------------------------------------
# Record Route Section
# -----------------------------------------------------------------
if (method!="REGISTER") {
record_route();
};
if (method=="BYE" || method=="CANCEL") {
unforce_rtp_proxy();
}
# -----------------------------------------------------------------
# Loose Route Section
# -----------------------------------------------------------------
if (loose_route()) {
if (has_totag() && (method=="INVITE" || method=="ACK")) {
if (nat_uac_test("19")) {
setflag(6);
force_rport();
fix_nated_contact();
};
force_rtp_proxy("l");
};
route(1);
break;
};
# -----------------------------------------------------------------
# Call Type Processing Section
# -----------------------------------------------------------------
if (uri!=myself) {
route(5);
route(1);
break;
};
if (uri==myself) {
if (method=="ACK") {
route(6);
break;
} else if (method=="CANCEL") {
route(3);
break;
} else if (method=="INVITE") {
route(3);
break;
} else if (method=="REGISTER") {
route(2);
break;
};
lookup("aliases");
if (uri!=myself) {
route(5);
route(1);
break;
};
if (!lookup("location")) {
sl_send_reply("404", "User Not Found");
break;
};
};
route(1);
}
route[1] {
# -----------------------------------------------------------------
# Default Message Handler
# -----------------------------------------------------------------
t_on_reply("1");
if (!t_relay()) {
if (method=="INVITE" && isflagset(6)) {
unforce_rtp_proxy();
};
sl_reply_error();
};
}
route[2] {
# -----------------------------------------------------------------
# REGISTER Message Handler
# ----------------------------------------------------------------
sl_send_reply("100", "Trying");
if (!search("^Contact:\ +\*") && nat_uac_test("19")) {
setflag(6);
fix_nated_register();
force_rport();
};
if (!www_authorize("pcr.ac.id","subscriber")) {
www_challenge("pcr.ac.id","0");
break;
};
if (!check_to()) {
sl_send_reply("401", "Unauthorized");
break;
};
consume_credentials();
if (!save("location")) {
sl_reply_error();
};
}
route[3] {
# -----------------------------------------------------------------
# CANCEL and INVITE Message Handler
# -----------------------------------------------------------------
if (nat_uac_test("19")) {
setflag(6);
}
#if (!allow_trusted() && nat_uac_test("19")) {
# setflag(6);
#}
lookup("aliases");
if (method=="INVITE" && !allow_trusted())
{
if (!proxy_authorize("pcr.ac.id","subscriber")) {
proxy_challenge("pcr.ac.id","0");
break;
} else if (!check_from()) {
sl_send_reply("403", "Use From=ID");
break;
};
consume_credentials();
};
if (uri=~"^sip:9[0-9]*@") {
route(4);
break;
};
if (uri!=myself) {
route(5);
route(1);
break;
};
if (!lookup("location")) {
if (uri=~"^sip:[0-9]{10}@") {
route(4);
break;
};
sl_send_reply("404", "User Not Found");
break;
};
if (method=="CANCEL") {
route(1);
break;
}
if (isflagset(6)) {
force_rport();
fix_nated_contact();
force_rtp_proxy();
};
t_on_reply("1");
if (!t_relay()) {
if(isflagset(6)) {
unforce_rtp_proxy();
}
sl_reply_error();
};
}
route[4] {
# -----------------------------------------------------------------
# PSTN Handler
# -----------------------------------------------------------------
rewritehostport("202.95.149.254:5060"); # INSERT YOUR PSTN GATEWAY IP ADDRESS
avp_write("i:45", "inv_timeout");
#if (!allow_trusted() && isflagset(6)) {
if (isflagset(6)) {
force_rport();
fix_nated_contact();
force_rtp_proxy();
};
route(1);
}
onreply_route[1] {
if (isflagset(6) && status=~"(180)|(183)|2[0-9][0-9]") {
if (!search("^Content-Length:\ +0")) {
force_rtp_proxy();
};
};
if (nat_uac_test("1")) {
fix_nated_contact();
};
}
--------------------------------------------------------------
Then, i'd like to know why when i run my server, it comes with warning about RTP Proxy? What do i need to setup a right RTP Proxy?
Thanx for the attention.
---------------------------------
Stay in the know. Pulse on the new Yahoo.com. Check it out.
Not create accounts per se. Ask for an account.. And sometimes it doesnt
work.. Anyway, there a "register" link on the login page for users. Start
from there.
On 9/9/06, G.Jacobsen <g_jacobsen(a)yahoo.co.uk> wrote:
>
> Users can create their own accounts - not the admin.
>
> Cheers
>
> Gerry
>
>
> ----- Original Message -----
> *From:* Ranjeet Kumar <ranjeetk(a)aztecsoft.com>
> *To:* serweb-users(a)lists.iptel.org
> *Sent:* Saturday, September 09, 2006 2:56 PM
> *Subject:* [Serweb-users] how to add users via serweb
>
>
>
> Hi,
>
>
>
> I can see user through serweb, but there is no option to create user via
> serweb.
>
> Please help me
>
>
>
> Thanks,
>
> Ranjeet
>
>
>
> The information contained in, or attached to, this e-mail, contains
> confidential information and is intended solely for the use of the
> individual or entity to whom they are addressed and is subject to legal
> privilege. If you have received this e-mail in error you should notify the
> sender immediately by reply e-mail, delete the message from your system and
> notify your system manager. Please do not copy it for any purpose, or
> disclose its contents to any other person. The views or opinions presented
> in this e-mail are solely those of the author and do not necessarily
> represent those of the company. The recipient should check this e-mail and
> any attachments for the presence of viruses. The company accepts no
> liability for any damage caused, directly or indirectly, by any virus
> transmitted in this email.
>
> www.aztecsoft.com
>
> ------------------------------
>
> _______________________________________________
> Serweb-users mailing list
> Serweb-users(a)lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serweb-users
>
>
> _______________________________________________
> Serweb-users mailing list
> Serweb-users(a)lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serweb-users
>
>
>
Dear all,
Thanks to every body in this forum for help me.. Thank you.
All, now I try to build serweb-0.9.4 in openser-1.1.0-tls. I have ever got a message from this forum that the serweb-0.9.4 can work sucessfully in openser-1.1.0.
So, I tried to install it in openser-1.1.0. But, When I tried, I got the error message.
This is the error message that I have got. I do hope anybody can give me a suggestion to solve this problem. Please...
The error message is :
[Sat Sep 09 13:02:56 2006] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Sat Sep 09 13:02:56 2006] [notice] Apache/2.2.0 (Fedora) configured -- resuming normal operations
[Sat Sep 09 13:03:10 2006] [error] [client 202.95.149.251] PHP Warning: require_once(DB.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /var/www/serweb-0.9.4/html/main_prepend.php on line 38
[Sat Sep 09 13:03:10 2006] [error] [client 202.95.149.251] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'DB.php' (include_path='.:/usr/share/pear') in /var/www/serweb-0.9.4/html/main_prepend.php on line 38
[root@sip httpd]#
I have tried to analyze the error. But, I can not understand what happen. Maybe because my lack skill in php programming.
I do hope anybody can help me..Please...
Thanks
Regards,
Ferianto
Note :
1. I am using Fedora Core 5
2. The php and mysql packet are :
php-pdo-5.1.2-5
php-soap-5.1.2-5
php-bcmath-5.1.2-5
php-ncurses-5.1.2-5
php-gd-5.1.2-5
php-mbstring-5.1.2-5
php-xmlrpc-5.1.2-5
php-ldap-5.1.2-5
php-mysql-5.1.2-5
php-devel-5.1.2-5
php-imap-5.1.2-5
php-pgsql-5.1.2-5
php-xml-5.1.2-5
php-5.1.2-5
php-pear-1.4.6-2
php-dba-5.1.2-5
php-odbc-5.1.2-5
php-snmp-5.1.2-5
libdbi-dbd-mysql-0.8.1a-1.2.1
mysql-5.0.18-2.1
mysql-server-5.0.18-2.1
mod_auth_mysql-3.0.0-3
php-mysql-5.1.2-5
mysql-connector-odbc-3.51.12-1.2.1
mysql-devel-5.0.18-2.1
---------------------------------
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.
Hi all,
I have 2 UA, one is fixed IP and another is dynamic IP, when i call from PSTN to fixed IP, it running well(audio on both side). But when call from either PSTN or fixed IP phone to dynamic IP phone, there is no sound on both sides.
And when i call from fixed IP phone to dynamic IP phone, there is no sound on dynamic IP phone.
What could be the problems?
Thanks,
Best Regards,
jorain