Hi,
I am using SER 0.9.9. I have questions about two commands "serctl
fifo" :
- serctl fifo t_stats : What does mean the "current", "waiting"
and "total" values returned by the command?
- serctl fifo ul_stats : What does mean the two values returned
on the line "location"?
Regards,
David.
Daniel,
What is the recommended way (if any) to have a "global constant" that
exists outside of any particular routes, in K3?
My objective is to define a global DB_URL that can be used by all
modules everywhere, but I can't just 'and' the modules together, e.g.
modparam("mod1|mod2|mod3|...", "db_url", "...")
because the modules are dynamically included (thanks to include_file!)
and I do not know the list of all loaded modules easily at runtime.
So instead, db_url is configured on a per-module basis.
I thought preprocessor constants (e.g. #!define and friends) would
allow me to set values for them, but they don't, so that's out. What
other options are available that do not involve an event/local route,
and operate instead in the completely global namespace?
Right now, I am using a Perl script that manually substitutes the
value of the db_url modparam everywhere in a large directory tree. :/
What am I not thinking of?
Cheers,
-- Alex
--
Alex Balashov - Principal
Evariste Systems LLC
Tel : +1 678-954-0670
Direct : +1 678-954-0671
Web : http://www.evaristesys.com/
Hi,
When I run 'kamctl fifo get_statistics all calls', it tells me that
the the number of dialogs is about 2000 times higher than what it
really is. Actually it seems like it has added a couple of thousand to
the number. How do I 'reset' this number? A restart of kamailio didn't
help...
Thanks!
//Anders
Hi all,
I'd like to simulate in kamailio 1.4.4, the loading of a global
setting (like a parameter that is loaded only at startup), using AVPs.
So, I want to load some AVP only at proxy startup. Probably it is not
possible because, if I'm not wrong, AVPs are transaction persistent.
The problem is that I don't need to load those AVPs for every
transaction. There is a why to implement such configuration?
Thanks.
Best regards.
--
Antonio
Hello,
I have setup Kamailio and rtpproxy on a server, that acts as a SIP Proxy.
An asterisk server sits behind this proxy server. I have noticed that on
some occasions when the softphone(x-lite) tries to register with the
asterisk through the proxy,it receives a 477 send failed. If i restart
Kamailio, the problem seems to disappear. I have attached a logfile
showing Kamailio's error output.
What could be the reason for such behavior ?
Thanks and Regards,
Vikram.
Hi,
I'm sure this is a simple question and hopefully a simple answer. I've
downloaded and am experimenting with SER 2.0.x. I can't find any
instructions on how to compile the docs included with the source, into a
usable format. They're pretty difficult to use as XML without a stylesheet
:-)
I appreciate any advice to get me going in the right direction....
Thanks for the response.
The SIP server is reading only the first record(first sip message), the
_tls_read() function's log shows the length of first sip message which is
matching with length of first record in wireshark.. This means SSL_read
returns only the first record.
I did the test using TCP which is working fine as it is reading two sip
messages on a single read.
Please find the log and attached print screen of wireshark traces.
Jan 22 20:41:37 REGS-1a0240 openser[936]: io_wait_loop_sigio_rt: siginfo:
signal=35 (35), si_code=1, si_band=0x41, si_fd=37
Jan 22 20:41:37 REGS-1a0240 openser[936]: TCPCONN: handle_io: fd map
0x1011d73c (37): {37, 2, 0x30294da0}
Jan 22 20:41:37 REGS-1a0240 openser[936]: tls_update_fd: New fd is 37
Jan 22 20:41:37 REGS-1a0240 openser[936]: _tls_read: 559 bytes read
Jan 22 20:41:37 REGS-1a0240 openser[936]: read= 559 bytes, parsed=559,
state=4, error=1
Jan 22 20:41:37 REGS-1a0240 openser[936]: tcp_read_req: last char=0x0A,
parsed msg= BYE sip:551138175007@21.21.81.11:6061;transport=tls SIP/2.0^M
To: SIP5007_TLS_SIMPLEX
<sip:551138175007@41.41.0.230<sip%3A551138175007(a)41.41.0.230>>;tag=91c2c894c0^M
From: <sip:551138175008@41.41.0.230:5061;transport=tls>;tag=snl_G84KdX4MLT^M
Call-ID: 0ad3e453326a4160^M CSeq: 1 BYE^M Route:
<sip:21.21.27.10:5061;transport=tls;ftag=91c2c894c0;lr=on>^M
Via: SIP/2.0/TLS
41.41.0.230:5061;branch=z9hG4bK_brancha_41.41.0.230_KonTU5DMPx^M
Accept-Language: en;q=0.0^M Allow: REGISTER, INVITE, ACK, BYE, CANCEL,
NOTIFY, REFER^M Date: Fri, 22 Jan 2010 20:41:36 GMT ^M Max-Forwards: 69^M
Content-Length: 0^M ^M
Jan 22 20:41:37 REGS-1a0240 openser[936]: tcp_read_req: end of header part
Jan 22 20:41:37 REGS-1a0240 openser[936]: - received from: port 5061
Jan 22 20:41:37 REGS-1a0240 openser[936]: - received from: ip 41.41.0.230
Jan 22 20:41:37 REGS-1a0240 openser[936]: tcp_read_req: headers: BYE
sip:551138175007@21.21.81.11:6061;transport=tls SIP/2.0^M To:
SIP5007_TLS_SIMPLEX
<sip:551138175007@41.41.0.230<sip%3A551138175007(a)41.41.0.230>>;tag=91c2c894c0^M
From: <sip:551138175008@41.41.0.230:5061;transport=tls>;tag=snl_G84KdX4MLT^M
Call-ID: 0ad3e453326a4160^M CSeq: 1 BYE^M Route:
<sip:21.21.27.10:5061;transport=tls;ftag=91c2c894c0;lr=on>^M
Via: SIP/2.0/TLS
41.41.0.230:5061;branch=z9hG4bK_brancha_41.41.0.230_KonTU5DMPx^M
Accept-Language: en;q=0.0^M Allow: REGISTER, INVITE, ACK, BYE, CANCEL,
NOTIFY, REFER^M Date: Fri, 22 Jan 2010 20:41:36 GMT ^M Max-Forwards: 69^M
Content-Length: 0^M ^M .
Jan 22 20:41:37 REGS-1a0240 openser[936]: tcp_read_req: content-length= 0
Jan 22 20:41:37 REGS-1a0240 openser[936]: tcp_read_req: body:
Jan 22 20:41:37 REGS-1a0240 openser[936]: calling receive_msg(0x30294e14,
559, )
Jan 22 20:41:37 REGS-1a0240 openser[936]: SIP Request:
Jan 22 20:41:37 REGS-1a0240 openser[936]: method: <BYE>
Jan 22 20:41:37 REGS-1a0240 openser[936]: uri:
<sip:551138175007@21.21.81.11:6061;transport=tls>
Jan 22 20:41:37 REGS-1a0240 openser[936]: version: <SIP/2.0>
Thanks
Jijo
On Sun, Jan 24, 2010 at 5:53 AM, Klaus Darilion <
klaus.mailinglists(a)pernau.at> wrote:
> I would verify if the received fragment really contains 2 complete SIP
> messages (e.g. 2xCRLF at the end of the SIP headers and if Content-Length
> header is correct).
>
> For debugging, TLS is PITA.
>
> Maybe the SIP server shows the same behavior when using TCP. Otherwise you
> can try to configure the NULL:CIPHER on both servers - then you see the
> plaintext SIP message in the TLS packets.
>
> regards
> klaus
>
> Jijo Jose wrote:
>
>> Hi All,
>> We have a SIP server which enabled NAGLE algorithm and proxy as openser
>> ver 1.1
>> SIP Server send a TLS multiple records( 2 SIP messages) in a packet to
>> openser. Openser is reading only the first record( first SIP message). The
>> second TLS record(sip message) is read only when the next message recieved
>> by openser from the SIP Server.
>> I would like to know anybody observed this issue. I have compared the
>> codebase of kamailio 1.4 and openser 1.1 but didin't find any diffrence for
>> TLS.
>> I have looked at the API _tls_read() in openser which is same as that of
>> kamilio.
>> Don't we need to use SSL_pending() after SSL_read() to verify any buffer
>> is left in the SSL layer ?
>> Do you think is it due to the poll method error? The poll method we use
>> is POLL_SIGIO_RT
>> Please let me know your comments.
>> Thanks in advance.
>> Jijo
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Kamailio (OpenSER) - Users mailing list
>> Users(a)lists.kamailio.org
>> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
>> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
>>
>
>
How do you make outgoing registrations to sip providers' accounts?
I haven't found Kamailio functionality like this, so looks this requires some b2bua usage?
Is there some other way?
What exactly is the appropriate syntax for the value of the
ac_extra_hdrs option in K3's 'tm'?
As described here, it is not very clear:
http://www.kamailio.org/docs/modules/3.0.x/modules/tm.html#ac_extra_hdrs
modparam("tm", "ac_extra_hdrs", "myfavoriteheaders-")
What does this mean? Where do I put the header name, and what is the
delimeter? Is it a semicolon or colon-separated list? What if, for
example, I want to pass X-Alex-Status and X-Alex-Cause in CANCELs and
negative ACKs from the original INVITE? Do I use ...
modparam("tm", "ac_extra_hdrs", "X-Alex_Status;X-Alex-Cause")
If so, what is the significance of the '-' in the above example?
Thanks!
--
Alex Balashov - Principal
Evariste Systems LLC
Tel : +1 678-954-0670
Direct : +1 678-954-0671
Web : http://www.evaristesys.com/