Hello,
I would like to relay an INVITE to more than 50 contacts that registered this AOR. But in my kamailio 4.0.2 it is only possible to fork to 12 branches otherwise it results in the error "Maximum number of branches exceeded".
Is there any possibility to achieve this from script (e.g. multiple t_relay)? I've already looked in TM module but it is using an integer bitset, so I will have to change the whole module in order to obtain more than 32 branches.
Kind regards
Isn't there a MAX_BRANCHES macro you can change in the source?
Jan Gaida jan.gaida@grupoamper.com wrote:
Hello,
I would like to relay an INVITE to more than 50 contacts that registered this AOR. But in my kamailio 4.0.2 it is only possible to fork to 12 branches otherwise it results in the error "Maximum number of branches exceeded".
Is there any possibility to achieve this from script (e.g. multiple t_relay)? I've already looked in TM module but it is using an integer bitset, so I will have to change the whole module in order to obtain more than 32 branches.
Kind regards
-- *Jan **Gaida* Ingeniero Desarrollo Software C/ Marconi 3 (PTM) 28760 Tres Cantos Spain jan.gaida@grupoamper.com | www.grupoamper.com
--
This message and any attachments are intended only for the use of the individual to whom they are addressed and it may contain information that is privileged or confidential. If you have received this communication by mistake, please notify us immediately by e-mail or telephone.The storage, recording, use or disclosure of this e-mail and its attachments by anyone other than the intended recipient is strictly prohibited. This message has been verified using antivirus software; however, the sender is not responsible for any damage to hardware or software resulting from the presence of any virus.
Este mensaje y cualquier anexo son exclusivamente para la persona a quien van dirigidos y pueden contener información privilegiada o confidencial. Si usted ha recibido esta comunicación por error, le agradecemos notificarlo de inmediato por esta misma vía o por teléfono. Está prohibida su retención, grabación, utilización o divulgación con cualquier propósito. Este mensaje ha sido verificado con software antivirus; sin embargo, el
remitente no se hace responsable en caso de que en éste o en los archivos adjuntos haya presencia de algún virus que pueda generar daños en los equipos o programas del destinatario.
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
-- Sent from my mobile, and thus lacking in the refinement one might expect from a fully fledged keyboard.
Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Decatur, GA 30030 United States Tel: +1-678-954-0670 Web: http://www.evaristesys.com/, http://www.alexbalashov.com
On Jul 17, 2013, at 7:18 AM, Alex Balashov abalashov@evaristesys.com wrote:
Isn't there a MAX_BRANCHES macro you can change in the source?
Yes, but as he mentions, branches are tracked in a 32-bit bitmask variable, so he can't fork 50 branches with the existing code. I've got a preliminary patch that makes the mask 64-bit, though it might also be valuable to talk about an alternative to using bitmasks to track branches.
andrew
Jan Gaida jan.gaida@grupoamper.com wrote: Hello,
I would like to relay an INVITE to more than 50 contacts that registered this AOR. But in my kamailio 4.0.2 it is only possible to fork to 12 branches otherwise it results in the error "Maximum number of branches exceeded".
Is there any possibility to achieve this from script (e.g. multiple t_relay)? I've already looked in TM module but it is using an integer bitset, so I will have to change the whole module in order to obtain more than 32 branches.
Kind regards
--
Jan Gaida Ingeniero Desarrollo Software
C/ Marconi 3 (PTM) 28760 Tres Cantos Spain jan.gaida@grupoamper.com | www.grupoamper.com
This message and any attachments are intended only for the use of the individual to whom they are addressed and it may contain information that is privileged or confidential. If you have received this communication by mistake, please notify us immediately by e-mail or telephone.The storage, recording, use or disclosure of this e-mail and its attachments by anyone other than the intended recipient is strictly prohibited. This message has been verified using antivirus software; however, the sender is not responsible for any damage to hardware or software resulting from the presence of any virus.
Este mensaje y cualquier anexo son exclusivamente para la persona a quien van dirigidos y pueden contener información privilegiada o confidencial. Si usted ha recibido esta comunicación por error, le agradecemos notificarlo de inmediato por esta misma vía o por teléfono. Está prohibida su retención, grabación, utilización o divulgación con cualquier propósito. Este mensaje ha sido verificado con software antivirus; sin embargo, el remitente no se hace responsable en caso de que en éste o en los archivos adjuntos haya presencia de algún virus que pueda generar daños en los equipos o programas del destinatario.
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
-- Sent from my mobile, and thus lacking in the refinement one might expect from a fully fledged keyboard.
Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Decatur, GA 30030 United States Tel: +1-678-954-0670 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
Thank you for your answers.
Nevertheless, I hoped for ideas to achieve this from script with some kind of workaround. I can load all 50 contacts from location-database with reg_fetch_contacts. Maybe there is a way to send them one by one?
Regards
On Wed, Jul 17, 2013 at 1:16 PM, Jan Gaida jan.gaida@grupoamper.com wrote:
Hello,
I would like to relay an INVITE to more than 50 contacts that registered this AOR. But in my kamailio 4.0.2 it is only possible to fork to 12 branches otherwise it results in the error "Maximum number of branches exceeded".
Is there any possibility to achieve this from script (e.g. multiple t_relay)? I've already looked in TM module but it is using an integer bitset, so I will have to change the whole module in order to obtain more than 32 branches.
Kind regards
-- *Jan **Gaida* Ingeniero Desarrollo Software C/ Marconi 3 (PTM) 28760 Tres Cantos Spain jan.gaida@grupoamper.com | www.grupoamper.com