But that's not really a limitation of the dialog module, right? There actually IS only one dialog. Which is the root of this whole problem since engage_media_proxy acts on the dialog..?<div><br><br><div class="gmail_quote">
On Fri, May 29, 2009 at 7:59 AM, Iņaki Baz Castillo <span dir="ltr"><<a href="mailto:ibc@aliax.net">ibc@aliax.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
2009/5/29 Dan Pascu <<a href="mailto:dan@ag-projects.com">dan@ag-projects.com</a>>:<br>
<div class="im"><br>
>> b) A is calling B, both with public IP. B issues a conditional<br>
>> call forward (30x) to C, with C being behind NAT. As far as<br>
>> I understood the module there is no way to "engage" Mediaproxy<br>
>> in this scenario.<br>
><br>
> It depends on what you do. If you process the redirect in the proxy's failure<br>
> routes, then indeed you have a problem. If you just relay the 30x to the phone<br>
> and let it do the redirection, that it will generate a new INVITE which you<br>
> handle the normal way as it generates a new dialog. In fact this would be<br>
> recommended, as the caller should be the one deciding if he accepts the<br>
> redirect, not the proxy.<br>
<br>
</div>Unfortunatelly most of the phones (at least what I know) don't ask<br>
permission to the "human" user to accept or reject a 3XX. Twinkle does<br>
it :)<br>
<div class="im"><br>
<br>
<br>
<br>
>> - is it planned to change engage_media_proxy to make it "branch-<br>
>> aware"?<br>
><br>
> It cannot be called in a branch route as engage_media_proxy must be called<br>
> before the transaction/dialog is created. As far as I understand the branch<br>
> routes are called by t_relay after creating the transaction/dialog.<br>
<br>
</div>I think that the origin of this limitation is the fact that the<br>
"dialog" module doesn't allow more than one dialog per request. When<br>
parallel forking takes places (various early-dialogs) "dialog" module<br>
shows just one.<br>
With this limitation it's not possible that other module/features<br>
relying on "dialog" module can work independently for each branch.<br>
<br>
<br>
Best regards.<br>
<font color="#888888"><br>
<br>
--<br>
Iņaki Baz Castillo<br>
<<a href="mailto:ibc@aliax.net">ibc@aliax.net</a>><br>
</font><div><div></div><div class="h5"><br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br></div>