But what purpose is this tracking serving? There are much more efficient ways to accomplish this I suspect. On Fri, Aug 12, 2016 at 2:49 AM, Anonim Stefan <fanx07@gmail.com> wrote:
On Thu, Aug 11, 2016 at 9:11 PM, Brian West <brian@freeswitch.org> wrote:
What exactly do you need to append and why?
Suppose there are two parallel bridged legs. Using python application in an extension, I append "X-TO-LB:1" for the first one and "X-TO-LB:2" for the second one. I "mod_distribute" the INVITEs to my SIP server core that knows to dispatch to balancers based on that header value. Next, suppose leg 1 answers and leg 2 gets CANCELed. I need that CANCEL to also contain "X-TO-LB:2" in order to be dispatched to its destination(right now the CANCELed endpoint still keeps ringing because the CANCEL does not have that header).
Note: "X-TO-LB:" is not for balancing purpose but for identifying the balancer responsible for the bridged leg.
I want to do it like this in order not to keep the LB<->ENDPOINT mapping in my python script as long as the SIP core knows to do the dispatching.
Thanks, Stefan
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- *Brian West* brian@freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com https://www.gofundme.com/freeswitch_ubuntu Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest