Hi!
I'm running ser-0.9.6, on FreeBSD 6.1-stable, database backend
is postgresql version 8.1.3.
Today I got errors in logfiles, saying:
messages.2.bz2:May 29 14:35:03 <XXX> /usr/local/sbin/ser[51448]:
ERROR:avpops:dbrow2avp: dbrow contains NULL fields
The similar problem reported in:
http://lists.iptel.org/pipermail/serusers/2005-May/019681.html
with much more detailed description of error, database contents
and config samples.
Patch is trivial, and looks more like a fix to copy'n'paste error:
in mysql/val.c function str2val states:
if (!_s) {
memset(_v, 0, sizeof(db_val_t));
VAL_TYPE(_v) = _t;
VAL_NULL(_v) = 1;
return 0;
}
VAL_NULL(_v) = 0;
and the last line mentions that 'well, that's value is not NULL'.
In postgresql/db_val.c, line 182, function str2valp, the same statement is the:
if (!_s) {
DLOG("str2valp", "got a null value");
VAL_TYPE(_v) = _t;
VAL_NULL(_v) = 1;
return 0;
}
without explicit notification that this is not-NULL value.
More than, nowhere else in this function VAL_NULL(_v) not set to 0.
So, if a value _v.val contained anyting but 0 at the function start,
resulting value will be threated as NULL despite the fact, that _s is NOT NULL.
Patch is obvious, just add VAL_NULL(_v)=0; after cited block (line 188) and
everyting will be ok.
At least for me it's ok for some hours :)
Hi ,
I tried to call from one nokia sip (E61 and other models )phone to another nokia sip phone. The call works fine. The problem comes only when I call from Phone A to Phone B and then immediately cancel the call(from Phone A). The Phone A will hangup the call as it sent CANCEL but the SER will ignore this CANCEL and still send INVITE to Phone B resulting in a ghost call situation.
I tried to capture a log of message and found that Phone A "CANCEL" message is received on SER even before any provisional response from Phone B. Therefor SER doesnot relay this CANCEL request to Phone B. I even checked RFC which clearly says that UAC should not send CANCEL untill it receives any provisional response. I talked to Nokia expert and they said the 100 Trying message from your server is considered as provisional response, therefor behaviour of client is absolutely correct.
Is there any way I can stop 100 Trying message and still run statefull SER, so that I can verify what nokia said. Any ideas suggestions are welcome.
Thanking you all in advance.
Best Regards,
Abdul Qadir
---------------------------------
Don't be flakey. Get Yahoo! Mail for Mobile and
always stay connected to friends.
Guys,
thanks to your support (both Bogdan and Daniel), I found out that
there was nothing wrong with the server and t_onreply handling, but
the INVITE was taking another routing three than the one I was
checking and therefore never hit the t_on_reply section I wanted.
This being said, I consider this issue resolved.
Cheers,
Dan
Hi all,
There are modules that are using default values for AVPs.
What will happen if another module is reusing the same AVP?
Or if the AVP is redefined inside the script?
Is this completely orthogonal?
Should I worry about this while using AVPs?
Regards,
Ovidiu Sas
Hi!
i wonder if there is a timer which controls the timeout for provisional
replies.
E.g. I want to cancel an INVITE and retry another gateway if the gateway
does not respond with 100 (or 180) in a certain time.
regards
klaus
--
Klaus Darilion
nic.at
Hi,
recently moved from SER > OpenSER 1.2.0, but after some time when the
server is running OpenSER starts to respond with:
"SIP/2.0 473 Filtered destination (473/TM)." to my INVITEs.
I don't have any blacklists/accesslist configured (the config is from
SER which doesn't support that), why am I seeing this problem?
Br,
/Tobias
Hi,
openser 1.1.1 is now available in binary format for several embedded patforms:
- Linksys NSLU
- Synology DS-101(g+)
- Iomega NAS 100d
- Freecom FSG-3
- Qnap TurboStation
...
and all routers supported by the oleg or dd-wrt distributions.
Check out http://www.nslu2-linux.org
Regards,
Ovidiu Sas
Kindly help me check this:
root@micadeyeye:/usr/src# cd xten-xlite/
root@micadeyeye:/usr/src/xten-xlite# ls
README xtensoftphone
root@micadeyeye:/usr/src/xten-xlite# ./xtensoftphone
I/O warning : failed to load external entity "/root/.Xscrc"
Warning: /dev/dsp appears to be a valid audio device, but I cannot
open it. Please ensure that no other applications are
using the audio device (perhaps by trying ``lsof /dev/dsp'').
-- Mike
Hi, all.
I know this is a little bit out off Topic. I'm trying to install
CDRTool for CDR normalization and billing with SER. I get the things allmost
working (freeradius + MySQL + SER) But i can't get the CDRs normalized with
price. Can anybody please help me or post a CDRTool global.inc working file?
.
Thanks a lot in advance any help will be highly apreciated!
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