<div dir="ltr"><div><div><div><div><div><div><div><div>Yes I can see that even if call-id is same but to tag is different rtpengine allocating new port But my issue is end UA receives two different ports in two session progress message (One for each forked destination). My complete flow is...<br></div>UA Sends Invite to openser<br></div>Openser does rtpengine_offer and forwards to Media Server (IVR) (Port 1111 as example sent to Media Server)<br></div>Media Server sends Session Progress to openser and openser does rtpengine_answer <br></div>Openser sends Session Progress back to UA (Port 2222)<br></div>At openser media servers sends failure message (After IVR is played) and openser sends Invite again to Other destination a gateway (Port 1111sent again to gateway too!!)<br></div>When gateway sends session progress and openser does rtpengine_answer again it allocates a different port !! 3333 and finally UA receives another port in second session progess.<br><br></div>I understand that To tag is different in second session progress from gateway but something seems to be wrong.<br><br></div>Expected behavior is UA should always receive single port (In both session progress) and two Invites (Each to different destinations should have different port) isnt it?<br><div><br><br><br><div><br><br><div><br><br><br><div><div><div><div><div><br><br><br><br><br><br><br><br><br><br><br></div></div></div></div></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 21, 2015 at 7:31 PM, Richard Fuchs <span dir="ltr"><<a href="mailto:rfuchs@sipwise.com" target="_blank">rfuchs@sipwise.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 01/21/15 06:42, John Nash wrote:<br>
> Dear Guys,<br>
><br>
> I need to use rtpengine where I am forking invite between a media server<br>
> (For some announcement and dest gateway).<br>
><br>
> I looked at via-branch flag and looks like that should be used there but<br>
> I am not sure about complete flow.<br>
><br>
> Should I call rtpproxy_offer with via tag for each branch (Branch<br>
> route)?...what about when I receive two session progress?...and how can<br>
> I delete one specific branch session?<br>
<br>
</div></div>The via-branch is currently not used by rtpengine, instead the from- and<br>
to-tag is used to distinguish between multiple dialogues within the same<br>
call. This is normally enough to establish media even if multiple media<br>
responses are received. Session deletion also works as long as the<br>
to-tag is included.<br>
<br>
cheers<br>
_______________________________________________<br>
Spce-user mailing list<br>
<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a><br>
<a href="https://lists.sipwise.com/listinfo/spce-user" target="_blank">https://lists.sipwise.com/listinfo/spce-user</a><br>
</blockquote></div><br></div>