Does TimesTen have a UnixODBC connector? If so, you can use existing Kamailio modules.
-- Alex
-- Sent from my Samsung mobile, and thus lacking in the refinement one might expect from a proper keyboard.
Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Decatur, GA 30030 Tel: +1-678-954-0670 Web: http://www.evaristesys.com/Ananth Kollipara infoananthk@gmail.com wrote:Hi Alex,
Thanks for the response. Yes, i meant developing of a custom module and integrating with ser/kamailio. I am looking for the following.
1) On receiving 302 response, proxy shall use the contact header and re-send the msg to the correct destination. 2) Integration of kamailio with Times Ten database (query Times ten DB)
Please advice.
Regards, Ananth
On Tue, Jul 31, 2012 at 3:30 PM, sr-users-request@lists.sip-router.org wrote: Send sr-users mailing list submissions to sr-users@lists.sip-router.org
To subscribe or unsubscribe via the World Wide Web, visit http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users or, via email, send a message with subject or body 'help' to sr-users-request@lists.sip-router.org
You can reach the person managing the list at sr-users-owner@lists.sip-router.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of sr-users digest..."
Today's Topics:
1. Add Own Plug-in (Ananth Kollipara) 2. Re: Add Own Plug-in (Alex Balashov)
----------------------------------------------------------------------
Message: 1 Date: Tue, 31 Jul 2012 14:33:52 +0530 From: Ananth Kollipara infoananthk@gmail.com Subject: [SR-Users] Add Own Plug-in To: sr-users@lists.sip-router.org Message-ID: CACJ9FatODfYWEG+y6_U_=-xxsxt65Ca=5FV2NFBQrYw+grS=ZQ@mail.gmail.com Content-Type: text/plain; charset="iso-8859-1"
Hi,
Can you please provide the steps to add a plug-in?
Regards, Ananth
Yes, it does. What about dynamic routing?
Regards, Ananth
On Thu, Aug 2, 2012 at 5:29 AM, Alex Balashov abalashov@evaristesys.comwrote:
Does TimesTen have a UnixODBC connector? If so, you can use existing Kamailio modules.
-- Alex
-- Sent from my Samsung mobile, and thus lacking in the refinement one might expect from a proper keyboard.
Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Decatur, GA 30030 Tel: +1-678-954-0670 Web: http://www.evaristesys.com/
Ananth Kollipara infoananthk@gmail.com wrote: Hi Alex,
Thanks for the response. Yes, i meant developing of a custom module and integrating with ser/kamailio. I am looking for the following.
- On receiving 302 response, proxy shall use the contact header and
re-send the msg to the correct destination. 2) Integration of kamailio with Times Ten database (query Times ten DB)
Please advice.
Regards, Ananth
On Tue, Jul 31, 2012 at 3:30 PM, sr-users-request@lists.sip-router.orgwrote:
Send sr-users mailing list submissions to sr-users@lists.sip-router.org
To subscribe or unsubscribe via the World Wide Web, visit http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users or, via email, send a message with subject or body 'help' to sr-users-request@lists.sip-router.org
You can reach the person managing the list at sr-users-owner@lists.sip-router.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of sr-users digest..."
Today's Topics:
- Add Own Plug-in (Ananth Kollipara)
- Re: Add Own Plug-in (Alex Balashov)
Message: 1 Date: Tue, 31 Jul 2012 14:33:52 +0530 From: Ananth Kollipara infoananthk@gmail.com Subject: [SR-Users] Add Own Plug-in To: sr-users@lists.sip-router.org Message-ID: <CACJ9FatODfYWEG+y6_U_=-xxsxt65Ca=5FV2NFBQrYw+grS= ZQ@mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1"
Hi,
Can you please provide the steps to add a plug-in?
Regards, Ananth
What about it?
On 08/01/2012 08:09 PM, Ananth Kollipara wrote:
Yes, it does. What about dynamic routing?
Regards, Ananth
On Thu, Aug 2, 2012 at 5:29 AM, Alex Balashov <abalashov@evaristesys.com mailto:abalashov@evaristesys.com> wrote:
Does TimesTen have a UnixODBC connector? If so, you can use existing Kamailio modules. -- Alex -- Sent from my Samsung mobile, and thus lacking in the refinement one might expect from a proper keyboard. Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Decatur, GA 30030 Tel: +1-678-954-0670 Web: http://www.evaristesys.com/ Ananth Kollipara <infoananthk@gmail.com <mailto:infoananthk@gmail.com>> wrote: Hi Alex, Thanks for the response. Yes, i meant developing of a custom module and integrating with ser/kamailio. I am looking for the following. 1) On receiving 302 response, proxy shall use the contact header and re-send the msg to the correct destination. 2) Integration of kamailio with Times Ten database (query Times ten DB) Please advice. Regards, Ananth On Tue, Jul 31, 2012 at 3:30 PM, <sr-users-request@lists.sip-router.org <mailto:sr-users-request@lists.sip-router.org>> wrote: Send sr-users mailing list submissions to sr-users@lists.sip-router.org <mailto:sr-users@lists.sip-router.org> To subscribe or unsubscribe via the World Wide Web, visit http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users or, via email, send a message with subject or body 'help' to sr-users-request@lists.sip-router.org <mailto:sr-users-request@lists.sip-router.org> You can reach the person managing the list at sr-users-owner@lists.sip-router.org <mailto:sr-users-owner@lists.sip-router.org> When replying, please edit your Subject line so it is more specific than "Re: Contents of sr-users digest..." Today's Topics: 1. Add Own Plug-in (Ananth Kollipara) 2. Re: Add Own Plug-in (Alex Balashov) ---------------------------------------------------------------------- Message: 1 Date: Tue, 31 Jul 2012 14:33:52 +0530 From: Ananth Kollipara <infoananthk@gmail.com <mailto:infoananthk@gmail.com>> Subject: [SR-Users] Add Own Plug-in To: sr-users@lists.sip-router.org <mailto:sr-users@lists.sip-router.org> Message-ID: <CACJ9FatODfYWEG+y6_U_=-xxsxt65Ca=5FV2NFBQrYw+grS=ZQ@mail.gmail.com <mailto:ZQ@mail.gmail.com>> Content-Type: text/plain; charset="iso-8859-1" Hi, Can you please provide the steps to add a plug-in? Regards, Ananth
Which module does dynamic routing?
On Thu, Aug 2, 2012 at 5:41 AM, Alex Balashov abalashov@evaristesys.comwrote:
What about it?
On 08/01/2012 08:09 PM, Ananth Kollipara wrote:
Yes, it does. What about dynamic routing?
Regards, Ananth
On Thu, Aug 2, 2012 at 5:29 AM, Alex Balashov <abalashov@evaristesys.com <mailto:abalashov@evaristesys.**com abalashov@evaristesys.com>> wrote:
Does TimesTen have a UnixODBC connector? If so, you can use existing Kamailio modules. -- Alex -- Sent from my Samsung mobile, and thus lacking in the refinement one might expect from a proper keyboard. Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Decatur, GA 30030 Tel: +1-678-954-0670 Web: http://www.evaristesys.com/ Ananth Kollipara <infoananthk@gmail.com <mailto:infoananthk@gmail.com>**> wrote: Hi Alex, Thanks for the response. Yes, i meant developing of a custom module and integrating with ser/kamailio. I am looking for the following. 1) On receiving 302 response, proxy shall use the contact header and re-send the msg to the correct destination. 2) Integration of kamailio with Times Ten database (query Times ten
DB)
Please advice. Regards, Ananth On Tue, Jul 31, 2012 at 3:30 PM, <sr-users-request@lists.sip-**router.org<sr-users-request@lists.sip-router.org> <mailto:sr-users-request@**lists.sip-router.org<sr-users-request@lists.sip-router.org>>>
wrote:
Send sr-users mailing list submissions to sr-users@lists.sip-router.org <mailto:sr-users@lists.sip-**
router.org sr-users@lists.sip-router.org>
To subscribe or unsubscribe via the World Wide Web, visit http://lists.sip-router.org/**cgi-bin/mailman/listinfo/sr-**users<http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users> or, via email, send a message with subject or body 'help' to sr-users-request@lists.sip-**router.org<sr-users-request@lists.sip-router.org> <mailto:sr-users-request@**lists.sip-router.org<sr-users-request@lists.sip-router.org>
You can reach the person managing the list at sr-users-owner@lists.sip-**router.org<sr-users-owner@lists.sip-router.org> <mailto:sr-users-owner@lists.**sip-router.org<sr-users-owner@lists.sip-router.org>
When replying, please edit your Subject line so it is more
specific than "Re: Contents of sr-users digest..."
Today's Topics: 1. Add Own Plug-in (Ananth Kollipara) 2. Re: Add Own Plug-in (Alex Balashov) ------------------------------**------------------------------**
Message: 1 Date: Tue, 31 Jul 2012 14:33:52 +0530 From: Ananth Kollipara <infoananthk@gmail.com <mailto:infoananthk@gmail.com>**> Subject: [SR-Users] Add Own Plug-in To: sr-users@lists.sip-router.org <mailto:sr-users@lists.sip-**router.org<sr-users@lists.sip-router.org>
Message-ID: <CACJ9FatODfYWEG+y6_U_=-**xxsxt65Ca=5FV2NFBQrYw+grS=ZQ@**
mail.gmail.com ZQ@mail.gmail.com mailto:ZQ@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1" Hi, Can you please provide the steps to add a plug-in? Regards, Ananth
On 08/01/2012 08:12 PM, Ananth Kollipara wrote:
Which module does dynamic routing?
Lots of modules do various kinds of dynamic routing: drouting, lcr, dialplan, etc.
But, they're rather formulaic. If you're after something custom, just do it yourself using your TimesTen DB, db_unixodbc, and the sqlops module, which allows custom SQL queries and interactions:
http://www.kamailio.org/docs/modules/3.3.x/modules_k/sqlops.html
And, sending 302 redirects with the desired Contact header is very easy:
append_to_reply("Contact: sip:...\r\n"); sl_send_reply("302", "Moved Temporarily");
-- Alex
I want the proxy to re-route the request, without informing the client. Lets say - proxy receives message, forwards to back-end servers. If back-end server responds with 302 response, proxy shall use the contact header and then forwards the message to the correct backend server. Do we have support for this?
On Thu, Aug 2, 2012 at 5:45 AM, Alex Balashov abalashov@evaristesys.comwrote:
On 08/01/2012 08:12 PM, Ananth Kollipara wrote:
Which module does dynamic routing?
Lots of modules do various kinds of dynamic routing: drouting, lcr, dialplan, etc.
But, they're rather formulaic. If you're after something custom, just do it yourself using your TimesTen DB, db_unixodbc, and the sqlops module, which allows custom SQL queries and interactions:
http://www.kamailio.org/docs/**modules/3.3.x/modules_k/**sqlops.htmlhttp://www.kamailio.org/docs/modules/3.3.x/modules_k/sqlops.html
And, sending 302 redirects with the desired Contact header is very easy:
append_to_reply("Contact: sip:...\r\n"); sl_send_reply("302", "Moved Temporarily");
-- Alex
-- Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Decatur, GA 30030 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://www.evaristesys.com/, http://www.alexbalashov.com/
Oh, I see. Yes, the 'uac_redirect' module can consume 302s.
On 08/01/2012 08:30 PM, Ananth Kollipara wrote:
I want the proxy to re-route the request, without informing the client. Lets say - proxy receives message, forwards to back-end servers. If back-end server responds with 302 response, proxy shall use the contact header and then forwards the message to the correct backend server. Do we have support for this?
On Thu, Aug 2, 2012 at 5:45 AM, Alex Balashov <abalashov@evaristesys.com mailto:abalashov@evaristesys.com> wrote:
On 08/01/2012 08:12 PM, Ananth Kollipara wrote: Which module does dynamic routing? Lots of modules do various kinds of dynamic routing: drouting, lcr, dialplan, etc. But, they're rather formulaic. If you're after something custom, just do it yourself using your TimesTen DB, db_unixodbc, and the sqlops module, which allows custom SQL queries and interactions: http://www.kamailio.org/docs/__modules/3.3.x/modules_k/__sqlops.html <http://www.kamailio.org/docs/modules/3.3.x/modules_k/sqlops.html> And, sending 302 redirects with the desired Contact header is very easy: append_to_reply("Contact: <sip:...>\r\n"); sl_send_reply("302", "Moved Temporarily"); -- Alex -- Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Decatur, GA 30030 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://www.evaristesys.com/, http://www.alexbalashov.com/
Alex,
uac_redirect doesn't work for me. Please see the below link http://blog.gmane.org/gmane.comp.voip.ser/month=20050201/page=10
In the above link, check the email from "Jan Janak" on Feb 3rd, with the "call flow". I exactly require the same. Do we have some handling for this?
Regards, Ananth
On Thu, Aug 2, 2012 at 6:01 AM, Alex Balashov abalashov@evaristesys.comwrote:
Oh, I see. Yes, the 'uac_redirect' module can consume 302s.
On 08/01/2012 08:30 PM, Ananth Kollipara wrote:
I want the proxy to re-route the request, without informing the client.
Lets say - proxy receives message, forwards to back-end servers. If back-end server responds with 302 response, proxy shall use the contact header and then forwards the message to the correct backend server. Do we have support for this?
On Thu, Aug 2, 2012 at 5:45 AM, Alex Balashov <abalashov@evaristesys.com <mailto:abalashov@evaristesys.**com abalashov@evaristesys.com>> wrote:
On 08/01/2012 08:12 PM, Ananth Kollipara wrote: Which module does dynamic routing? Lots of modules do various kinds of dynamic routing: drouting, lcr, dialplan, etc. But, they're rather formulaic. If you're after something custom, just do it yourself using your TimesTen DB, db_unixodbc, and the sqlops module, which allows custom SQL queries and interactions: http://www.kamailio.org/docs/_**_modules/3.3.x/modules_k/__**
sqlops.htmlhttp://www.kamailio.org/docs/__modules/3.3.x/modules_k/__sqlops.html
<http://www.kamailio.org/docs/**modules/3.3.x/modules_k/**sqlops.html<http://www.kamailio.org/docs/modules/3.3.x/modules_k/sqlops.html>
And, sending 302 redirects with the desired Contact header is very
easy:
append_to_reply("Contact: <sip:...>\r\n"); sl_send_reply("302", "Moved Temporarily"); -- Alex -- Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Decatur, GA 30030 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://www.evaristesys.com/, http://www.alexbalashov.com/
-- Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Decatur, GA 30030 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://www.evaristesys.com/, http://www.alexbalashov.com/
You'll have to be more specific about why it "doesn't work".
Also, keep in mind that 'uac_redirect' is just a convenience. If it's not doing what you want, just build a failure_route[], capture the 302 yourself, extract the Contact header yourself, parse the data yourself, and manually fork through the contacts as you please.
On 08/02/2012 04:55 AM, Ananth Kollipara wrote:
Alex,
uac_redirect doesn't work for me. Please see the below link http://blog.gmane.org/gmane.comp.voip.ser/month=20050201/page=10
In the above link, check the email from "Jan Janak" on Feb 3rd, with the "call flow". I exactly require the same. Do we have some handling for this?
Regards, Ananth
On Thu, Aug 2, 2012 at 6:01 AM, Alex Balashov <abalashov@evaristesys.com mailto:abalashov@evaristesys.com> wrote:
Oh, I see. Yes, the 'uac_redirect' module can consume 302s. On 08/01/2012 08:30 PM, Ananth Kollipara wrote: I want the proxy to re-route the request, without informing the client. Lets say - proxy receives message, forwards to back-end servers. If back-end server responds with 302 response, proxy shall use the contact header and then forwards the message to the correct backend server. Do we have support for this? On Thu, Aug 2, 2012 at 5:45 AM, Alex Balashov <abalashov@evaristesys.com <mailto:abalashov@evaristesys.com> <mailto:abalashov@evaristesys.__com <mailto:abalashov@evaristesys.com>>> wrote: On 08/01/2012 08:12 PM, Ananth Kollipara wrote: Which module does dynamic routing? Lots of modules do various kinds of dynamic routing: drouting, lcr, dialplan, etc. But, they're rather formulaic. If you're after something custom, just do it yourself using your TimesTen DB, db_unixodbc, and the sqlops module, which allows custom SQL queries and interactions: http://www.kamailio.org/docs/____modules/3.3.x/modules_k/____sqlops.html <http://www.kamailio.org/docs/__modules/3.3.x/modules_k/__sqlops.html> <http://www.kamailio.org/docs/__modules/3.3.x/modules_k/__sqlops.html <http://www.kamailio.org/docs/modules/3.3.x/modules_k/sqlops.html>> And, sending 302 redirects with the desired Contact header is very easy: append_to_reply("Contact: <sip:...>\r\n"); sl_send_reply("302", "Moved Temporarily"); -- Alex -- Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Decatur, GA 30030 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://www.evaristesys.com/, http://www.alexbalashov.com/ -- Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Decatur, GA 30030 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://www.evaristesys.com/, http://www.alexbalashov.com/
Thanks Alex. Failure_route should suffice.
On Thu, Aug 2, 2012 at 2:39 PM, Alex Balashov abalashov@evaristesys.comwrote:
You'll have to be more specific about why it "doesn't work".
Also, keep in mind that 'uac_redirect' is just a convenience. If it's not doing what you want, just build a failure_route[], capture the 302 yourself, extract the Contact header yourself, parse the data yourself, and manually fork through the contacts as you please.
On 08/02/2012 04:55 AM, Ananth Kollipara wrote:
Alex,
uac_redirect doesn't work for me. Please see the below link http://blog.gmane.org/gmane.**comp.voip.ser/month=20050201/**page=10http://blog.gmane.org/gmane.comp.voip.ser/month=20050201/page=10
In the above link, check the email from "Jan Janak" on Feb 3rd, with the "call flow". I exactly require the same. Do we have some handling for this?
Regards, Ananth
On Thu, Aug 2, 2012 at 6:01 AM, Alex Balashov <abalashov@evaristesys.com <mailto:abalashov@evaristesys.**com abalashov@evaristesys.com>> wrote:
Oh, I see. Yes, the 'uac_redirect' module can consume 302s. On 08/01/2012 08:30 PM, Ananth Kollipara wrote: I want the proxy to re-route the request, without informing the client. Lets say - proxy receives message, forwards to back-end servers.
If back-end server responds with 302 response, proxy shall use the contact header and then forwards the message to the correct backend server. Do we have support for this?
On Thu, Aug 2, 2012 at 5:45 AM, Alex Balashov <abalashov@evaristesys.com <mailto:abalashov@evaristesys.**com<abalashov@evaristesys.com>
<mailto:abalashov@evaristesys.**__com <mailto:abalashov@evaristesys.**com <abalashov@evaristesys.com>>>>
wrote:
On 08/01/2012 08:12 PM, Ananth Kollipara wrote: Which module does dynamic routing? Lots of modules do various kinds of dynamic routing: drouting, lcr, dialplan, etc. But, they're rather formulaic. If you're after something custom, just do it yourself using your TimesTen DB, db_unixodbc, and the sqlops module, which allows custom SQL queries and interactions: http://www.kamailio.org/docs/_**___modules/3.3.x/modules_k/___**
_sqlops.htmlhttp://www.kamailio.org/docs/____modules/3.3.x/modules_k/____sqlops.html <http://www.kamailio.org/docs/**__modules/3.3.x/modules_k/__** sqlops.htmlhttp://www.kamailio.org/docs/__modules/3.3.x/modules_k/__sqlops.html
<http://www.kamailio.org/docs/**__modules/3.3.x/modules_k/__**
sqlops.htmlhttp://www.kamailio.org/docs/__modules/3.3.x/modules_k/__sqlops.html <http://www.kamailio.org/docs/**modules/3.3.x/modules_k/** sqlops.htmlhttp://www.kamailio.org/docs/modules/3.3.x/modules_k/sqlops.html
And, sending 302 redirects with the desired Contact header is very easy: append_to_reply("Contact: <sip:...>\r\n"); sl_send_reply("302", "Moved Temporarily"); -- Alex -- Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Decatur, GA 30030 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://www.evaristesys.com/,
-- Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Decatur, GA 30030 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://www.evaristesys.com/, http://www.alexbalashov.com/
-- Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Decatur, GA 30030 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://www.evaristesys.com/, http://www.alexbalashov.com/