Hi all,
I'm facing a problem with multiple contact in 'location' table with the same 'username'.
The idea is to rewrite R-URI with 1 contact and if there is no answer or SIP 5xx, try with the second.
Is that make sense? I use SER0.9.9.
Regards,
Igor.
On 06/15/2012 11:19 AM, Igor Potjevlesch wrote:
Hi all,
I’m facing a problem with multiple contact in ‘location’ table with the same ‘username’.
The idea is to rewrite R-URI with 1 contact and if there is no answer or SIP 5xx, try with the second.
Is that make sense? I use SER0.9.9.
Why on earth are you using SER 0.9.9? That's ancient. It's basically Jurassic.
Newer versions of Kamailio/sip-router support forking to multiple contacts.
I don't want to do forking to multiple contact simultaneously. I want to try with a first contact and try with the second one if the call goes to failure route.
-----Message d'origine----- De : sr-users-bounces@lists.sip-router.org [mailto:sr-users-bounces@lists.sip-router.org] De la part de Alex Balashov Envoyé : vendredi 15 juin 2012 17:26 À : sr-users@lists.sip-router.org Objet : Re: [SR-Users] Conditionnal hunting with usrloc?
On 06/15/2012 11:19 AM, Igor Potjevlesch wrote:
Hi all,
Im facing a problem with multiple contact in location table with the same username.
The idea is to rewrite R-URI with 1 contact and if there is no answer or SIP 5xx, try with the second.
Is that make sense? I use SER0.9.9.
Why on earth are you using SER 0.9.9? That's ancient. It's basically Jurassic.
Newer versions of Kamailio/sip-router support forking to multiple contacts.
-- 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/
_______________________________________________ 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
Newer versions support serial forking through contacts.
On 06/15/2012 11:36 AM, Igor Potjevlesch wrote:
I don't want to do forking to multiple contact simultaneously. I want to try with a first contact and try with the second one if the call goes to failure route.
-----Message d'origine----- De : sr-users-bounces@lists.sip-router.org [mailto:sr-users-bounces@lists.sip-router.org] De la part de Alex Balashov Envoyé : vendredi 15 juin 2012 17:26 À : sr-users@lists.sip-router.org Objet : Re: [SR-Users] Conditionnal hunting with usrloc?
On 06/15/2012 11:19 AM, Igor Potjevlesch wrote:
Hi all,
I’m facing a problem with multiple contact in ‘location’ table with the same ‘username’.
The idea is to rewrite R-URI with 1 contact and if there is no answer or SIP 5xx, try with the second.
Is that make sense? I use SER0.9.9.
Why on earth are you using SER 0.9.9? That's ancient. It's basically Jurassic.
Newer versions of Kamailio/sip-router support forking to multiple contacts.
-- 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/
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
Thank you for your replies. How the Q value is defined?
-----Message d'origine----- De : sr-users-bounces@lists.sip-router.org [mailto:sr-users-bounces@lists.sip-router.org] De la part de Alex Balashov Envoyé : vendredi 15 juin 2012 17:43 À : sr-users@lists.sip-router.org Objet : Re: [SR-Users] Conditionnal hunting with usrloc?
Newer versions support serial forking through contacts.
On 06/15/2012 11:36 AM, Igor Potjevlesch wrote:
I don't want to do forking to multiple contact simultaneously. I want to try with a first contact and try with the second one if the call goes to failure route.
-----Message d'origine----- De : sr-users-bounces@lists.sip-router.org [mailto:sr-users-bounces@lists.sip-router.org] De la part de Alex Balashov Envoyé : vendredi 15 juin 2012 17:26 À : sr-users@lists.sip-router.org Objet : Re: [SR-Users] Conditionnal hunting with usrloc?
On 06/15/2012 11:19 AM, Igor Potjevlesch wrote:
Hi all,
Im facing a problem with multiple contact in location table with the same username.
The idea is to rewrite R-URI with 1 contact and if there is no answer or SIP 5xx, try with the second.
Is that make sense? I use SER0.9.9.
Why on earth are you using SER 0.9.9? That's ancient. It's basically Jurassic.
Newer versions of Kamailio/sip-router support forking to multiple
contacts.
-- 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/
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
-- 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/
_______________________________________________ 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
Hello,
On 6/15/12 5:26 PM, Alex Balashov wrote:
On 06/15/2012 11:19 AM, Igor Potjevlesch wrote:
Hi all,
I’m facing a problem with multiple contact in ‘location’ table with the same ‘username’.
The idea is to rewrite R-URI with 1 contact and if there is no answer or SIP 5xx, try with the second.
Is that make sense? I use SER0.9.9.
Why on earth are you using SER 0.9.9? That's ancient. It's basically Jurassic.
even so, if I do(?!?!) remember correctly, that version had parallel forking support ...
Newer versions of Kamailio/sip-router support forking to multiple contacts.
... but I understood that the question here is more about doing serial forking, which is possible with newer versions only, see t_load_contacts()/t_next_contacts(), a matter of Q value per contact:
http://kamailio.org/docs/modules/stable/modules/tm.html#id2550975
There is another option to iterate through the branches via PV and build the list of destinations in an AVP array.
Cheers, Daniel