Hi all,
Is it normal that a simple mysql error causes the worker process to die
which in turn shuts down all other openser processes? If I remember
correctly, this never happened to me with the 1.2 version.
The following log comes from an 1.3 installation:
[30812]: ERROR:mysql:db_mysql_submit_query: driver error: Can't lock
file (errno: 4009)
[30812]: ERROR:mysql:db_mysql_raw_query: error while submitting query
[30812]: ERROR:usrloc:get_all_db_ucontacts: raw_query failed
[30792]: INFO:core:handle_sigs: child process 30812 exited by a signal 11
[30792]: INFO:core:handle_sigs: core was not generated
[30792]: INFO:core:handle_sigs: terminating due to SIGCHLD
[30797]: INFO:core:sig_usr: signal 15 received
[30814]: INFO:core:sig_usr: signal 15 received
[30798]: INFO:core:sig_usr: signal 15 received
[30800]: INFO:core:sig_usr: signal 15 received
[30802]: INFO:core:sig_usr: signal 15 received
[30804]: INFO:core:sig_usr: signal 15 received
[30806]: INFO:core:sig_usr: signal 15 received
[30808]: INFO:core:sig_usr: signal 15 received
Jan 14 12:54:45 proxy-2 ser[30810]: INFO:core:sig_usr: signal 15 received
/Christian
Hi, I'm trying "P-Asserted-Identity" header against a Nortel CS2000_NGSS/8.0.
It works (the number in PAI header is shown as PSTN callerid number) in those
cases:
P-Asserted-Identity: <sip:+34666555444@host/IP>
P-Asserted-Identity: <tel:+34666555444@host/IP>
As you can see, the second case is wrong since a "tel" uri has no host part
according to RFC 3966 [1].
And the worst thing is that Nortel disallows or doesn't understand a correctly
formed "tel" uri in PAI header as this:
P-Asserted-Identity: <tel:+34666555444>
My experience with gateways is very limited and new, but I should assume that
it is a sad bug in the Nortel SIP stack, is it?
Thanks for any help.
[1] RFC 3966: http://www.faqs.org/rfcs/rfc3966.html
--
Iñaki Baz Castillo
Can someone tell me what the correct syntax is for the avp_url command?
I've been at this for hours and it's driving me CRAZY!
this:
modparam("avpops","avp_url","unixodbc://user:password@127.0.0.1/database")
gives:
unixodbc:extract_error: unixodbc:SQLDriverConnect=IM002:1:0:[unixODBC][Driver Manager]Data source name not found, and no default driver specified
this:
modparam("avpops","avp_url","unixodbc://dsn" )
gives:
core:new_db_id: error while parsing database URL: unixodbc://dsn
and I've tried about a HUNDRED other combinations.
Doug.
____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
Greetings list,
I'm trying to setup uri rewriting and failover using NAPTR records. I've
gone wrong somewhere since instead of trying the first uri and only
failing over if there's a transactional and/or communications problem
it's creating two branches and doing parallel forking on the records.
Example:
>From my test SIP phone I dial 3759.
Openser receives this INVITE and does a private ENUM lookup on it which
returns two NAPTR records:
9.5.7.3 NAPTR 10 10 "u" "E2U+sip"
"!^.*$!sip:3759@mygateway1.whoever.com!" .
NAPTR 20 10 "u" "E2U+sip"
"!^.*$!sip:7100@myfailovergateway1.whoever.com!" .
>From what I understand this should first try to contact my gateway (a
cisco box) using a uri of sip:3759@mygateway1.whoever.com. If this fails
it should then take the second higher order and rewrite the URI to
sip:7100@myfailovergateway1.whoever.com.
Instead what I end up with is two parallel calls to gateway and
failover, the second NAPTR record is a conference bridge so the cisco
immediately sends back a 200 OK and openser cancels the first branch.
First gateway barely gets off a ring to my phone. I haven't adjusted any
of the SIP timers so the defaults should allow plenty of time for call
setup etc.
Debug output from the call is in
http://www.idled.net/~bobm/openser-debug.txt . Am I handling the INVITE
incorrectly in my config? Any assistance would be appreciated.
route[1] {
if (!t_relay()) {
xlog("L_NOTICE", "sipprx-wpf1.globeop.com: $mi
route[$rm][0] $fu -> $ru -> Error with t_relay\n");
sl_reply_error();
}
exit;
}
INVITE routing block
route[6] {
sl_send_reply("100", "Trying");
if (isflagset(1)) {
xlog("L_NOTICE", "sipprx-wpf1.globeop.com: $mi
route[$rm][0] $fu -> $ru Processing INVITE\n");
}
if (!proxy_authorize("", "subscriber")) {
proxy_challenge("", "0");
exit;
}
if (!check_from()) {
sl_send_reply("403","Forbidden auth ID");
exit;
}
consume_credentials();
if ((uri =~ "sip:[0-9]{4}@.*") || (uri =~ "sip:[0-9]{10}@.*")) {
prefix ("+");
if (enum_query("e164.globeop.com")) {
xlog("L_INFO", "sipprx-wpf1.globeop.com: Number
found in ENUM, new uri is $ru\n");
} else {
xlog("L_INFO", "sipprx-wpf1.globeop.com: Number
not found in ENUM\n");
revert_uri();
}
}
if (!is_uri_host_local()) {
append_hf("P-hint: outbound\r\n");
route(1);
} else if (lookup("location")) {
append_hf("P-hint: usrloc applied\r\n");
route(1);
} else {
sl_send_reply("404","Not found");
exit;
}
exit;
}
-- Bob
This email with all information contained herein or attached hereto may contain confidential and/or privileged information intended for the addressee(s) only. If you have received this email in error, please contact the sender and immediatley delete this email in its entirety and any attachments thereto.
Anyone managed to setup sippy b2bua . Pointers most welcome. I have
tried setting it up and this is as far as i have gone.
I have done the necessary radius config in my /etc/radiusclient-ng/{
radiusclient.conf,servers}.
When i send a call from my proxy i get 403 (Auth Failed)
Find attached the log file .
regards
--
TC
Did I miss something on configuration? or it simply does not send NOTIFY message when changes occur in the published data after integrating OpenXCAP? Thx in advance! Kevin
_________________________________________________________________
Windows Live Photo gallery 数码相机的超级伴侣,轻松管理和编辑照片,还能制作全景美图!
http://get.live.cn/product/photo.html
Did I miss something on configuration? or it simply does not send NOTIFY message when changes
occur in the published data after integrating OpenXCAP? Thx in advance!
Kevin
_________________________________________________________________
手机也能上 MSN 聊天了,快来试试吧!
http://mobile.msn.com.cn/
Only one new entry can be added in the "subscriber" table. Or, "Duplicate entry '' for key 3" error responses.
Is there any way to create more than one user in this table?
Kevin,
_________________________________________________________________
MSN圣诞礼物火热登场,免费发放中,快来领取吧!
http://im.live.cn/emoticons/?ID=18