[SR-Users] Celebrating 11 Years

2012-09-03 Thread Daniel-Constantin Mierla

Hello,

eleven years ago, the first piece of code of the project was committed. 
Last year we organized a public event, for the 10 years celebration, 
presentations and more details about it at:

  * http://sip-router.org/10-years-ser/

For the 11th year, I made a news with the summary of the past year - 
definitively it was lot of work, adding many new features:

  * http://www.kamailio.org/w/2012/09/kamailio-at-11-years/

Looking forward to the next year celebration, surely it will list 
another great set of new features!


Many thanks to everyone helping the project, from advocating to development!

Cheers,
Daniel

--
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Berlin, Nov 5-8, 2012 - http://asipto.com/u/kat


___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] event_route[dialog:failure]

2012-09-03 Thread Uri Shacked
Hi,

i seems to me that the event_route[dialog:failure] does not recognize
dialog failures.
i use dlg_manage when i recieve the INVITE. i get 301, 302, 402 or
send_reply with some +300 responses.
on the manage_failure i print the responses, on the
event_route[dialog:start] and [dialog:end] i get good results as well.
but, the dialog:failure] does not rise
any ideas?

BR,
Uri
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Celebrating 11 Years

2012-09-03 Thread Konstantin M.
Congratulations!!!

2012/9/3 Daniel-Constantin Mierla mico...@gmail.com

 Hello,

 eleven years ago, the first piece of code of the project was committed.
 Last year we organized a public event, for the 10 years celebration,
 presentations and more details about it at:
   * http://sip-router.org/10-**years-ser/http://sip-router.org/10-years-ser/

 For the 11th year, I made a news with the summary of the past year -
 definitively it was lot of work, adding many new features:
   * 
 http://www.kamailio.org/w/**2012/09/kamailio-at-11-years/http://www.kamailio.org/w/2012/09/kamailio-at-11-years/

 Looking forward to the next year celebration, surely it will list another
 great set of new features!

 Many thanks to everyone helping the project, from advocating to
 development!

 Cheers,
 Daniel

 --
 Daniel-Constantin Mierla - http://www.asipto.com
 http://twitter.com/#!/miconda - 
 http://www.linkedin.com/in/**micondahttp://www.linkedin.com/in/miconda
 Kamailio Advanced Training, Berlin, Nov 5-8, 2012 -
 http://asipto.com/u/kat


 __**_
 SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
 sr-users@lists.sip-router.org
 http://lists.sip-router.org/**cgi-bin/mailman/listinfo/sr-**usershttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Catch error status rewrite by UAS in on_reply

2012-09-03 Thread Alex Hermann
Hello all,


i sometimes get a very late reply from a broken client which triggers the 
following error 9because the call was already continued in another branch):

ERROR: tm [t_reply.c:1193]: ERROR: t_should_relay_response: status rewrite by 
UAS: stored: 408, received: 200

Not a problem perse, but i would like to catch this error in the script's 
on_reply route because I need to prevent some actions on the reply if it will 
not be forwarded to the UAC. Is there a way to do this?

-- 
Greetings,

Alex Hermann


___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Cassandra module - query question

2012-09-03 Thread Boudewyn Ligthart
Hi Daniel,

Thanks for the information.

The cassandra module does indeed  not implement the raw_queries entry point. 
However I have added this and the handling /parsing to allow
CQL queries to be passed by the script. I have tested this through means of 
AVPOPS module and this is working.

What is the best way to feed this back to the Kamailio project?

Cheers,
Bou


From: Daniel-Constantin Mierla [mailto:mico...@gmail.com]
Sent: 28 August 2012 16:49
To: SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users 
Mailing List
Cc: Boudewyn Ligthart
Subject: Re: [SR-Users] Cassandra module - query question

Hello,

I am not familiar with the insights of cassandra module, but sqlops is designed 
to deal with raw sql queries, so it might not work at all with cassandra module.

Using avpops could work with avp_db_load(), because that function is using the 
internal DB API INSERT which is in use by generic insert operations, like 
storing the location records. But avp_db_query() requires again sql query 
access, so it might not work.

Cheers,
Daniel
On 8/28/12 4:09 PM, Boudewyn Ligthart wrote:
Hi,

I would to query the Cassandra database for other information with either CQL 
or other commands.
Could this be done through means of either avpops or sqlops, like an MySQL 
database.

This could be done through an external script but I would like to utilize the 
connection that is already
established.

Thanks,

Bou






___

SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list

sr-users@lists.sip-router.orgmailto:sr-users@lists.sip-router.org

http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users



--

Daniel-Constantin Mierla - http://www.asipto.com

http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda

Kamailio Advanced Training, Berlin, Nov 5-8, 2012 - http://asipto.com/u/kat
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] kamctlrc SQL definitions and db/schema/entities.xml

2012-09-03 Thread Henning Westerholt
Am Sonntag, 2. September 2012, 12:41:43 schrieb Vieri:
 What is the purpose of the SQL definitions settings found in kamctlrc?
 It is also stated that one should edit db/schema/entities.xml but I can't
 seem to find this file.
 
 kamctlrc contains:
 
 # SQL definitions
 # If you change this definitions here, then you must change them
 # in db/schema/entities.xml too.
 # FIXME
 
 # FOREVER=2020-05-28 21:32:15
 [..]

Hello Vieri,

this definitions just needs to be the same as in the database scheme, as they 
are used in the script. The path was indeed outdated, I've just fixed it in git 
master.

Cheers,

Henning

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Why append_branch should be called in a failure route ?

2012-09-03 Thread Vitaliy Aleksandrov

Below is the example from http://kamailio.org/docs/modules/3.2.x/modules/tm.htm 
:

failure_route[0]{
if (t_check_status(5[0-9][0-9])){
# I do not like the 5xx responses,
# so I give another chance to foobar.com,
# and I drop all the replies to make sure that
# they are not forwarded to the caller.
t_drop_replies();

rewritehostport(foobar.com);
append_branch();
t_relay();
}
}

Why do append_branch() is present before t_relay().
I'm asking because I didn't used it in failure routes and call rerouting on 
various conditions worked great.



___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Cassandra module - query question

2012-09-03 Thread Henning Westerholt
Am Montag, 3. September 2012, 11:36:11 schrieb Boudewyn Ligthart:
 The cassandra module does indeed  not implement the raw_queries entry point.
 However I have added this and the handling /parsing to allow CQL queries to
 be passed by the script. I have tested this through means of AVPOPS module
 and this is working. 
 What is the best way to feed this back to the Kamailio project?

Hello Boudewyn,

sounds good, thank you. Just send your patch to our developer list, Anca will 
probably then comment to it. You can also add it to our tracker, at:
http://sip-router.org/tracker/index.php

Best regards,

Henning

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Cassandra module - query question

2012-09-03 Thread Boudewyn Ligthart
Hi Henning,

Will do. Thanks.

Bou

-Original Message-
From: Henning Westerholt [mailto:h...@kamailio.org] 
Sent: 03 September 2012 12:35
To: sr-users@lists.sip-router.org
Cc: Boudewyn Ligthart; mico...@gmail.com
Subject: Re: [SR-Users] Cassandra module - query question

Am Montag, 3. September 2012, 11:36:11 schrieb Boudewyn Ligthart:
 The cassandra module does indeed  not implement the raw_queries entry point.
 However I have added this and the handling /parsing to allow CQL 
 queries to be passed by the script. I have tested this through means 
 of AVPOPS module and this is working.
 What is the best way to feed this back to the Kamailio project?

Hello Boudewyn,

sounds good, thank you. Just send your patch to our developer list, Anca will 
probably then comment to it. You can also add it to our tracker, at:
http://sip-router.org/tracker/index.php

Best regards,

Henning



___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] LUA Authentication.

2012-09-03 Thread David | StyleFlare

I think I saw once an example from miconda using LUA for Auth?

Does anyone else remember seeing that?

I wanted to do a custom Auth using LUA.

Thanks in advance for any pointers.

David.




___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] LUA Authentication.

2012-09-03 Thread Fred Posner
Hi David,

I believe this is the example you're looking for. It's on the Asipto KB site:

http://kb.asipto.com/kamailio:usage:k32-lua-routing


---fred
http://qxork.com

On Sep 3, 2012, at 5:06 PM, David | StyleFlare wrote:

 I think I saw once an example from miconda using LUA for Auth?
 
 Does anyone else remember seeing that?
 
 I wanted to do a custom Auth using LUA.
 
 Thanks in advance for any pointers.
 
 David.


___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] LUA Authentication.

2012-09-03 Thread David J
Thanks Fred.

I think this was it.

I think there were some updates to the app_lua module since.

Do you know if this is still relevant?
On Sep 3, 2012 6:24 PM, Fred Posner f...@teamforrest.com wrote:

 Hi David,

 I believe this is the example you're looking for. It's on the Asipto KB
 site:

 http://kb.asipto.com/kamailio:usage:k32-lua-routing


 ---fred
 http://qxork.com

 On Sep 3, 2012, at 5:06 PM, David | StyleFlare wrote:

  I think I saw once an example from miconda using LUA for Auth?
 
  Does anyone else remember seeing that?
 
  I wanted to do a custom Auth using LUA.
 
  Thanks in advance for any pointers.
 
  David.


 ___
 SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
 sr-users@lists.sip-router.org
 http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users