We're seeing sporadic situations where fones
a) send an INVITE
b) ignore the 100-Trying response, and instead
c) send another INVITE with the same sequence number.
The question is, What should happen here?
Currently, we send back a 500 response (server error).
Is this correct? (i think not, cause it invariably causes the fone to go fast busy).
Is this some other response that should occur?
poring over 3261 resulted in a headache, and no additional clarity...
--
*******************************************
Mahesh Paolini-Subramanya (703) 386-1500 x9100
CTO mahesh(a)aptela.com
Aptela, Inc. http://www.aptela.com
"Aptela: How Business Answers The Call"
*******************************************
Hi everone,
I want to trace previous or completed SIP dialogs so i need to keep log
every sip activate to separate log files which name is <sip_callid>.log .
Do you suggest any how to or tool for this issue.
Best regards,
ibrahim tunali
Hello,
I am having some performance issues with Openser and I tend to believe
they are related with DNS. So I am trying to figure out when and why
Openser is doing DNS queries. Doing ngrep on port 53 I realized that
right before sending out the "100 trying -- your call is important to
us" message, Openser is doing a reverse DNS lookup for the IP where the
INVITE came from. So the sequence is something like:
client Openser DNS
|---INVITE------------------------>|
|<---407 Proxy Auth Reqd---|
|---ACK--------------------------->|
|---INVITE------------------------>|
|---client IP?-------->|
|<-------------------------|
|<--------------------100 trying---|
I am using Openser-1.1.0-notls and in my script I have
dns=no
rev_dns=no
So first question is whether this DNS query is necessary and how I could
avoid it.
What is furthermore confusing is that I have a test system with the same
Openser version and same script, where this DNS query is not happening.
Looking into the production system I found the following:
ser2:/usr/local/openser-1.1.0-notls/sbin# ldd openser
linux-gate.so.1 => (0xffffe000)
libdl.so.2 => /lib/tls/libdl.so.2 (0x55571000)
libresolv.so.2 => /lib/tls/libresolv.so.2 (0x55574000)
libc.so.6 => /lib/tls/libc.so.6 (0x55587000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x55555000)
whereas the test system shows:
sertest:/usr/local/openser-1.1.0-notls/sbin# ldd openser
libdl.so.2 => /lib/libdl.so.2 (0x7002c000)
libresolv.so.2 => /lib/libresolv.so.2 (0x70040000)
libc.so.6 => /lib/libc.so.6 (0x70064000)
/lib/ld-linux.so.2 (0x70000000)
So the two systems link to different libresolv.so libraries. Is the
tls/libresolve.so that is responsible for the DNS query? Given that in
both cases I am using the notls version of Openser 1.1, why is there a
difference between the two?
thank you for any help
George
Disclaimer
The information in this e-mail and any attachments is confidential. It is intended solely for the attention and use of the named addressee(s). If you are not the intended recipient, or person responsible for delivering this information to the intended recipient, please notify the sender immediately. Unless you are the intended recipient or his/her representative you are not authorized to, and must not, read, copy, distribute, use or retain this message or any part of it. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses.
Hi everybody,
with the adding of asynchronous reply feature in MI and MI_FIFO
implementation, the transition to MI was completed - all former FIFO
functions (old implementation) were ported to MI. Also all FIFO
capabilities were also ported to the new MI_FIFO module.
so, currently there are two FIFO implementations:
- the old one, directly in core.
- the new one, based on MI interface.
the old implementation is obsolete (all external management will be done
via MI) , so, at some point, it will be removed from OpenSER in order to
maintain consistency and avoid confusion between the two implementations
(as they are equivalent from user point of view - at the moment, at least).
my question is when to drop the old implementation? my personal
preference will be do doing ASAP as :
1) no functionality is lost
2) avoid confusion among users and the explanation overhead
3) it will force the testing of the new FIFO and MI implementation,
which will shorter the way to a stable form.
I would like to know also some other opinions.
regards,
bogdan
Hi !
I have an if block in my ser.cfg.
in this block at first I send an IM with an "thanks for input", after
that a shell script should start with some operations.
SER sends the IM, but after the operations in shell script ends...
How can I send the IM , before the shell script with operations finishs
or SER start with operations in the shell script ?
here is the code:
if (method == "Message" && search("[a-zA-Z0-9/.+ ]{1,}-*,[a-zA-Z0-9]{1,}"))
{
sl_send_reply("200", "OK");
exec_msg("cd /etc/ser/;sh zweiteEingabe"); # send the thanks...
log(1, "zweiter Schritt\n");
exec_msg("cd /root/workspace/Check_Name/bin/;sh
Check_Name_Start.sh"); # other operations
log(1, "Daten uebergabe\n");
break;
};
Thanks
___________________________________________________________
Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de
Hello,
On Thu, 14 Dec 2006 09:31:22 +0100, Bastian Friedrich
<bastian.friedrich(a)collax.com> wrote:
> Hi
>
> On Wednesday 13 December 2006 20:12, Greg Fausak wrote:
> > I can see where the sip message is exported to perl.
> > Can perl modify the message and send it back?
>
> Yes, modification is possible. I did not implement too many functions
> though; you have two means of modification:
> * Use the one or two I wrote. The most important probably is
> rewrite_ruri, just as you asked for.
> * Use the functions that are exported by other modules (esp.
> the "textops" module) for message modification
>
> [...]
>
A question: is it possible to change the sip message using Perl's regular
expression power and send it back to openser ?
That would be a killer feature as it will give me the ability to make
complex routing without developping a new module in c !
--
Regards,
-vma
.
Hi,
i want to use pike module to avoid brute-force attack on Register.
are the values of the parameters expressed in seconds?
it seems that there is a problem because i've set:
modparam("pike", "sampling_time_unit", 30)
modparam("pike", "reqs_density_per_unit", 10)
modparam("pike", "remove_latency", 600)
and the routing logic is:
if (method=="REGISTER") {
# Checks brute-force attacks
if (!pike_check_req()) {
sl_send_reply("403", "Too many attempts!");
break;
};
if (!www_authorize("caspur.it", "subscriber")) {
www_challenge("caspur.it", "0");
break;
};
save("location");
break;
};
but when I reach the limit it blocks the requests only for less than 1
minute...
where is the mistake?any idea?
thanks,
Stefano
Hello I am using ser with asterisk as voicemal, i have the solution when
the number is busy and when the number is not registered, but my question is
how can i do when no body answer after 3 rings, because right now the
mailbox starts after one minute that the phone is ringing.
Thanks in advance
Jesús Terán