<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div style="font-family: 'Trebuchet MS', sans-serif; font-size: 12px;" id="yui_3_16_0_ym18_1_1458794227444_82436" class="">Hello All,</div><div style="font-family: 'Trebuchet MS', sans-serif; font-size: 12px;" id="yui_3_16_0_ym18_1_1458794227444_82438" class=""><br id="yui_3_16_0_ym18_1_1458794227444_82440" class=""></div><div style="font-family: 'Trebuchet MS', sans-serif; font-size: 12px;" id="yui_3_16_0_ym18_1_1458794227444_82442" class="">Is it possible to use kamailio to be a stateful outbound proxy ?</div><div style="font-family: 'Trebuchet MS', sans-serif; font-size: 12px;" id="yui_3_16_0_ym18_1_1458794227444_82444" class=""><br id="yui_3_16_0_ym18_1_1458794227444_82446" class=""></div><div style="font-family: 'Trebuchet MS', sans-serif; font-size: 12px;" id="yui_3_16_0_ym18_1_1458794227444_82448" class="">The use case is kamailio is an outbound proxy for multiple instances of Asterisk. </div><div style="font-family: 'Trebuchet MS', sans-serif; font-size: 12px;" id="yui_3_16_0_ym18_1_1458794227444_82450" class="">Thus all responses need to go back to the same instance of Asterisk that generated them.</div><div style="font-family: 'Trebuchet MS', sans-serif; font-size: 12px;" id="yui_3_16_0_ym18_1_1458794227444_82452" class=""><br id="yui_3_16_0_ym18_1_1458794227444_82454" class=""></div><div style="font-family: 'Trebuchet MS', sans-serif; font-size: 12px;" id="yui_3_16_0_ym18_1_1458794227444_82456" class="">After the call is established.</div><div style="font-family: 'Trebuchet MS', sans-serif; font-size: 12px;" id="yui_3_16_0_ym18_1_1458794227444_82458" class="">How can I ensure that the Re-Invites, BYEs, etc are sent to the same instance of Asterisk that generated the outbound Invite ?</div><div style="font-family: 'Trebuchet MS', sans-serif; font-size: 12px;" id="yui_3_16_0_ym18_1_1458794227444_82460" class=""><br id="yui_3_16_0_ym18_1_1458794227444_82462" class=""></div><div style="font-family: 'Trebuchet MS', sans-serif; font-size: 12px;" id="yui_3_16_0_ym18_1_1458794227444_82464" class="">I know on the inbound side I can hash over the call-id to ensure that all requests within a dialogue are routed to same Asterisk instance.</div><div style="font-family: 'Trebuchet MS', sans-serif; font-size: 12px;" id="yui_3_16_0_ym18_1_1458794227444_82466" class=""><br></div><div style="font-family: 'Trebuchet MS', sans-serif; font-size: 12px;" id="yui_3_16_0_ym18_1_1458794227444_82474" class="">Thanks,</div><div style="font-family: 'Trebuchet MS', sans-serif; font-size: 12px;" dir="ltr" id="yui_3_16_0_ym18_1_1458794227444_82476" class="">--Jignesh</div><div class="qtdSeparateBR" id="yui_3_16_0_ym18_1_1458794227444_82353"><br><br></div></div></body></html>