I agree with you, the module needs improvements on that point.
It's a really old point I missed when we decided to reuse and to reverse
that module.
I think about two manners in order to solve it :
* implement a return code for purple_send_message
* sending a reply directly in the module
Regarding the design of the module, I think both possibilities needs a lot
of mod.
I'm not sure how to consider that mod as it's not a bug but a limitation.
Is it a new feature I'll code when the trunk will be unfreezed ?
If yes, we may add that limitation in the doc for now.
Eric.
2009/1/29 Iñaki Baz Castillo ibc(a)aliax.net
> Why is needed to reply "200"? doesn't this module act as a proxy
> waiting for a response from downstread (i.e. MSN network) and mapping
> that response to the appropiate SIP code?
>
> This is: if I send a MESSAGE to a MSN account not online (or not
> existing) I will receive "200" anyway, shouldn't I receive a 480 or
> 404?
>
> Regards.
>
>
> --
> Iñaki Baz Castillo
> <ibc(a)aliax.net>
>
> _______________________________________________
> Kamailio (OpenSER) - Devel mailing list
> Devel(a)lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/devel
> http://lists.openser-project.org/cgi-bin/mailman/listinfo/devel
Hello,
a bunch of us will be at FOSDEM 2009:
http://fosdem.org/2009/
Therefore is the opportunity for first Social Networking Event in 2009.
Everyone interested in Kamailio (OpenSER), SIP Router, SER, SIP and not
only are invited to join -- participation is free, everybody pays for
its expenses. The event is very likely to be a dinner on Saturday
evening, Feb 7, 2009.
So far, from Kamailio (OpenSER) community you can meet there:
- Henning Westerholt - http://www.kamailio.org/mos/view/Management/
- Elena-Ramona Modroiu - http://www.kamailio.org/mos/view/Management/
- Daniel-Constantin Mierla - http://www.kamailio.org/mos/view/Management/
- Dan Bogos - http://itsyscom.com/
In order to know properly the size of the place we need, please drop me
an email if you intend to attend. People knowing Brussels are welcome to
suggest a nice place to meet (good beer and food are a must).
Looking forward to meeting you in Brussels.
Cheers,
Daniel
--
Daniel-Constantin Mierla
http://www.asipto.com
Hello,
If I start a second instance of kamailio by mistake, if the cfg file
instructs it to listen to tcp ports, the second instance will exit with
something like this:
tcp_init: bind(7, 0x81b28ec, 16) on 127.0.0.1:5060 : Address already in use
But if the cfg file only instructs kamailio to bind to udp ports, the second
instance will not exit. Is this a bug?
I'm curious because if we start kamailio and a udp port is in use by another
application (not kamailio), kamailio will exit with
udp_init: bind(4, 0x819f274, 16) on 192.168.88.29: Address already in use
Why is that so?
regards,
mayama
Hello,
Does save() method of registrar module use original sip message or can
it use a modified one like for example by the subst() method of textops
module?
For example:
A coming "To" header of the a REGISTER is modified and then the save()
is called:
Code:
# REGISTER
subst_uri('/^(.*)sip:(ip_address)(.*)$/\1sip:mydomain\3/i');
subst('/^To:(.*)sip:(.*)@(ip_address)(.*)$/To:\1sip:\2\@mydomain\4/i');
save("location");
Log:
Jan 12 10:09:34 [/usr/sbin/ser] subst_run: matched (0, 17):
[sip:200.2.127.187]_
Jan 12 10:09:34 [/usr/sbin/ser] textops: subst_uri_f: match - old uri=
[sip:ip_address], new uri= [sip:mydomain]_
Jan 12 10:09:34 [/usr/sbin/ser] subst_run: running. r=0_
Jan 12 10:09:34 [/usr/sbin/ser] subst_run: matched (172, 40): [To:
"579997" <sip:579997@ip_address>_]_
Jan 12 10:09:34 [/usr/sbin/ser] textops: subst_f: replacing at offset
208 [To: "579997" <sip:579997@ip_address>_] with [To: "579997"
<sip:579997@mydomain>_]_
Cheers..
Caio
Hi *,
What is the logic behind the transation matching in Kamailio. I am finding a
problem whereby a call setup transaction (INVITE, 180 Ringing, PRACK, 200OK,
ACK). between 2 Snom phones works in normal mode. However, when one phone is
behind a NAT with STUN support, everything works perfectly (i.e. call setup,
2-way audio, etc), BUT the tm module doesnt match the transaction between
the original invite and the subsequent messages (180, 200ok, etc). the
impact here is that the fr_inv_timer eventually fires even though the call
has been answered. Note: this only happens when the call is destined for the
device behind the NAT.
Any ideas.
Perhaps an explanation on how the tm module does transaction manager.
RFC3261 states that transaction matching is done based on the via branch
parameter.
Thanks in advance
Jason
Hello,
starting with today, the release cycle for Kamailio (OpenSER) v1.5.0
enters in testing phase. Like in the past, this mean no new features
will be added for a while, the focus is on testing, bug fixes and
documentation improvements.
I can say, being here from day one, this upcoming release had a shorter
development period, but it is the one with the largest new features set.
See a summary here:
http://www.kamailio.org/dokuwiki/doku.php/features:new-in-1.5.x
A special care was given to code cleanup and core. The core got slimmer
- lot of config-related features were moved to modules, therefore now it
is less exposed to bugs and more performant.
From the project's environment:
- we got three new developers
- a brand new web management interface - http://siremis.asipto.com
- next week will be a meeting in Brussels, at Fosdem with many
developers showing up there:
http://www.kamailio.org/mos/view/News/NewsItem/FOSDEM-2009---Social-Network…
Worth to mention that this is the last release based on current core,
next ones will use the SIP-Router.org core framework:
http://sip-router.org, that will make possible to combine all the
features from Kamailio (OpenSER), SIP Express Router (SER) and
OpenIMSCore projects in a single application, in a collaboration
environment sustained by the developers from all three projects.
First I want to thank to all developers for the work and time dedicated
to develop version 1.5.0 and to our community members for valuable
feedback and testing.
That being said, I invite everyone to test and report any issue found.
To get the source code from SVN use:
svn co https://openser.svn.sourceforge.net/svnroot/openser/trunk kamailio
Please report to devel(a)lists.kamailio.org or project's tracker:
http://sourceforge.net/tracker/?group_id=139143
Cheers,
Daniel
--
Daniel-Constantin Mierla
http://www.asipto.com
Hello,
few days ago I added a new function to textops module:
- set_rpl_body(body, content-type)
It can be used to set the body of a reply generated by kamailio/openser.
route {
if(is_method("HELLO") && $ru == "sip:server@kamailio.org")
{
set_rpl_body("Hi $fn!", "text/plain");
send_reply("200", "ok");
exit;
}
The insert_body() function (also new in 1.5.0) has been renamed to
set_body() for better coherence. This one can be used to set the body of
current processed sip message.
An an example, set_rpl_body() can be used for pull-like data transfer
between servers. Using uac module (and eventually rtimer module),
servers in a farm can interrogate each other and exchange data. Some
useful links:
http://kamailio.org/docs/modules/1.5.x/uac.html#id2467913http://kamailio.org/docs/modules/1.5.x/rtimer.htmlhttp://kamailio.org/docs/modules/1.5.x/textops.html#id2468015
Cheers,
Daniel
--
Daniel-Constantin Mierla
http://www.asipto.com
Hello,
We're looking for some phone support from a consulting firm for a SER configuration. Looking for an hourly estimate and must be available ASAP. Must be a US citizen.
Regards,
Jeromy
Help,
How to install ldap module in kamailio
Regards
Husna
________________________________
This e-mail and the attachments are intended solely for the person to whom it has been addressed. It contains privileged and/or confidential information and is privileged or otherwise protected from disclosure. If you are not the person for whom this e-mail was intended, or the e-mail has reached you by mistake, please delete it immediately and
inform us of the error. Our e-mail address is administrator(a)uniten.edu.my.
All opinions, conclusions and other information in this message that do not relate to the official business of Universiti Tenaga Nasional (UNITEN) shall be understood as neither given nor endorsed by UNITEN. UNITEN shall not be responsible for any activity that may be considered as illegal and/or improper use of e-mail and UNITEN further is claims and shall not accept liability for any content of this e-mail, or for the consequences of any actions taken on the basis of the information provided, unless that information is subsequently confirmed in writing.
WARNING
Internet communications cannot be guaranteed to be secured or error-free as information could be intercepted, corrupted, lost, arrive late or contain viruses. As such, we do not accept liability for any errors or omissions in the content of this message which may arise as a result of internet transmission.
UNITEN does not authorize any of its employees to make any defamatory or seditious statements or commit any offence which is contrary to the laws of Malaysia. Any such communications and/or actions by such employees are outside the scope of employment of the said individuals and UNITEN shall not be liable for such communications and/or actions.
I need to quickly detect the presence of the Alert-Info header and do
special processing if it is present. Is there facilities to do this
currently?
-Daniel