Hi;
uri_db try to init connection with MySQL via /var/run/mysql.sock. But in my machine, the sock path is "/tmp/mysql.sock".
I can create ser DB with ser_mysql.sh, ok.
Anyone can tell where to configurate this parameter. I am using ser-0.10.99-dev35-pa-4.1.
Thanks
Smile
[This e-mail is confidential and may be priviledged. If you are not the
intended recipient, please kindly notify us immediately and delete the message
from your system; please do not copy or use it for any purpose, nor disclose
its contents to any other person. Thank you.]
---ST Electronics Group---
Hi,
I have a problem stopping a openser daemon (1.1.0)
Does this gdb connected to the remaining child say anything?
(gdb) bt
#0 0x0000000000456743 in fm_status (qm=0x5eca60) at mem/f_malloc.c:515
#1 0x000000000041f172 in sig_usr (signo=Variable "signo" is not
available.
) at main.c:571
#2 <signal handler called>
#3 0x0000003fbf5c72ee in __recvfrom_nocancel ()
from /lib64/tls/libc.so.6
#4 0x000000000044f286 in udp_rcv_loop () at udp_server.c:415
#5 0x000000000041f7f4 in main_loop () at main.c:925
#6 0x0000000000420446 in main (argc=Variable "argc" is not available.
) at main.c:1477
br hw
--
Helge Waastad
Senior Engineer
Systemavdelingen
Smartnet
Hi,
Sorry ,,,,,
Please use English...
for give me
On 9/14/06, Strahler, Carsten <Carsten.Strahler(a)lambdanet.net> wrote:
>
> Vielen Dank für Ihre E-Mail. Ich bin erst am 18.09.2006 wieder im Büro.
> Ihre
> E-Mail wird nicht weitergeleitet, daher wenden Sie sich bitte in
> dringenden
> Angelegenheiten an:
>
> dirk.henze(a)lambdanet.net
> +49 173 6291442
>
> Mit freundlichen Grüßen,
>
> Carsten Strahler
> LambdaNet Communications AG
>
--
Thanks and Regards with cheers
Sunkara Ravi Prakash (Voip Developer)
Hyperion Technology
www.hyperion-tech.com
+91-9985077535
Hi,
I'm looking for a function capable of identifying the domain of the called so I
can implement something like this:
if(domain_of_called == domain_A) { do this }
if(domain_of_called == domain_B) { do that }
The domain_of_called should be extracted from the R-URI and not from the message
itself because in some cases (because I'm using multi-domain) if the caller
dialled an alias, OpenSer must first determine in aliases table to which user
corresponds that alias.
Is there a function that does this?
Thanks,
Ricardo.
Hi!
I try to make the following query but it doesn't work...
avp_db_query("select round($avp(i:30)/100)","$avp(i:50)");
As the Mysql server can do the query, I suppose that I made a syntax
error in the openser.cfg.
Does somebody know what is wrong?
Thanks,
Michel
Hi All,
I am still a bit new to openser and I am trying to get the call to respond
with busy if caller calls themself from their own UA. I created in the
table grp - "voicemail" with corresponding usernames. While in the failure
route, I am requesting to route calls to voicemail if the caller is calling
a user that is busy or unavailable (but i don't want caller = self in this
category), but I get this error for the first openser.cfg snippet: (
0(31978) parse error (140,19-20): unknown command, missing loadmodule?
Also, when I run the avp_check condition by iself without && my program
seems to just skip over it and shoots right to the failure route and then
redirects to voicemail when busy or unavailable, whether it is the caller
calling from their own UA or not.
-------------------------------------------------------------------------------------------
Route {
....
if (method=="INVITE") {
avp_write("$from", "i:34");
if (is_in_group("voicemail") && avp_check("i:34", "eq/$ruri/i")) { <- this
is the parse error, line 140
sl_send_reply("486", "Busy Here");
exit;
};
avp_delete("i:34");
........
}
....
# -----------------------------------------------------------------
# Default Message Handler
# -----------------------------------------------------------------
t_on_reply("1");
if(method=="INVITE" && !isflagset(10))
{
t_on_failure("1");
};
.......
failure_route[1]
{
if (!t_was_cancelled() | (t_check_status("486") ) {
revert_uri();
rewritehostport("mydomain.com:5065");
append_branch();
xlog("L_INFO", "Temporarily Unavailable or Busy: Transfer to Voicemail");
setflag(10);
route(1);
}
---------------------------------------------------------------------------------------------end
of first openser.cfg snippet
Prior to the above, I have this openser.cfg working somewhat to my wishes by
forwarding to the failure route any busy UA and returning a 486 (whether it
as caller=callee or not) and for unavailable it would forward to voicemail.
Also, I have a backup conditional statement (not shown) for users to dial
*981 to reach a UA's voicemail directly to leave voicemail because I cannot
get around the busy 486.
________________________________
failure_route[1]
{
if (t_check_status("486")) {
xlog("L_NOTICE",
"OPENSER_NAME: $mi $rm $fu -> $ru status 486 Busy Here\n");
exit;
} else if (!t_was_cancelled() ) {
revert_uri();
rewritehostport("mydomain.com:5065");
append_branch();
xlog("L_INFO", "Temporarily Unavailable #1: Transfer to Voicemail");
setflag(10);
route(1);
}
---------------- end of 2nd openser.cfg snippet
Actually, i need help with trying to get it to work right by if caller =
self (as a separate condition) then return with 486 busy, and another
condition if UA is unavailable or busy then forward to voicemail. I really
would like a bit of help. I I hope this makes sense.
Thanks,
Tracy (The Practitioner)
_________________________________________________________________
Call friends with PC-to-PC calling -- FREE
http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=…
Hello Users,
Actually the Sip Trace module is for Storing the Incoming and Outgoing
sip Messeges in the Databases,
For tracing I'll use siptrace()
IS the Sip_trace is an event Action to SipServer ,
If it a event Action , the Record will inserts more...
For My better Billing Application is this Module will use for me or not....
Because I don't Want thrid parties CDR Tool ,
Can Any Help me in this Module ...
Sorry For mt English.... X-cuse me
--
Thanks and Regards with cheers
Sunkara Ravi Prakash (Voip Developer)
Hyperion Technology
www.hyperion-tech.com
+91-9985077535
Dear Karel,
Thank you very much for your suggestion.
To follow up your suggestion, I install FC4. The php file in Fedora Core 4 are:
[root@sip ~]# rpm -qa|grep php
php-bcmath-5.0.4-10
php-odbc-5.0.4-10
php-soap-5.0.4-10
php-5.0.4-10
php-snmp-5.0.4-10
php-ldap-5.0.4-10
php-dba-5.0.4-10
php-xmlrpc-5.0.4-10
php-imap-5.0.4-10
php-gd-5.0.4-10
php-pear-5.0.4-10
php-ncurses-5.0.4-10
php-pgsql-5.0.4-10
php-mbstring-5.0.4-10
php-mysql-5.0.4-10
php-xml-5.0.4-10
php-devel-5.0.4-10
[root@sip ~]# rpm -qa|grep mysql
mod_auth_mysql-2.6.1-4
mysql-bench-4.1.11-2
mysql-server-4.1.11-2
mysql-devel-4.1.11-2
mysqlclient10-devel-3.23.58-6
freeradius-mysql-1.0.2-2
mysql-4.1.11-2
libdbi-dbd-mysql-0.7.1-3
php-mysql-5.0.4-10
mysqlclient10-3.23.58-6
[root@sip ~]#
Then, I tried to install serweb again. But I have still have error message. This is the error message :
[root@sip httpd]# tail -f error_log
[Wed Sep 13 17:44:23 2006] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Wed Sep 13 17:44:23 2006] [notice] LDAP: SSL support unavailable
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/classkit.so' - /usr/lib/php/modules/classkit.so: cannot open shared object file: Permission denied in Unknown on line 0
[Wed Sep 13 17:44:23 2006] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Wed Sep 13 17:44:24 2006] [notice] Apache/2.0.54 (Fedora) configured -- resuming normal operations
[Wed Sep 13 17:44:52 2006] [error] [client 202.95.149.251] File does not exist: /var/www/html/serweb/htmladmin
[Wed Sep 13 17:44:52 2006] [error] [client 202.95.149.251] File does not exist: /var/www/html/favicon.ico
[Wed Sep 13 17:46:50 2006] [error] [client 202.95.149.251] File does not exist: /var/www/html/favicon.ico
[Wed Sep 13 17:46:56 2006] [error] [client 202.95.149.251] File does not exist: /var/www/html/serweb/htmladmin, referer: http://sip.pcr.ac.id/serweb/
[Wed Sep 13 17:46:57 2006] [error] [client 202.95.149.251] File does not exist: /var/www/html/favicon.ico
I have tried top analyze the error, but I can not. What`s wrong?
I have add "extension=classkit.so" in php.ini and I have tried to change owner of classkit.so file :
# chown apache classkit.so
# chmod 777 classkit.so
But, still doesn`t work. What happen? What`s "favicon.ico"? I can not find it in /var/www?
Would you mind help me again, Karel...Please
Thank you very much...Thanks
Regards,
Ferianto
---------------------------------
Do you Yahoo!?
Get on board. You're invited to try the new Yahoo! Mail.
Why can't I use a dash "-" for the domain alias in the ser.cfg file? I
receive a syntax error with hostname expected.
If I use for example:
alias=rhvp.domain-1.com
Hi all,
Is there a function that returns the domain (the realm) of the
Request-URI of INVITE messages? Note that it can't be done using regular
expressions that search SIP messages, because of cases where has been
dialled an alias of someone from a phone registered with a user that
belongs to other domain in a multi-domain environment.
Thanks,
Ricardo.