Anca,<br><br>Thank you very much for the Contact suggestion, for me it's the best scenario, I'll implement it and send the feedback to you as I test the solution.<br><br>Best regards,<br><br clear="all">Antonio Anderson Souza<br>
Voice Technology<br><a href="http://www.antonioams.com">http://www.antonioams.com</a><br>
<br><br><div class="gmail_quote">On Tue, Apr 20, 2010 at 6:21 AM, Anca Vamanu <span dir="ltr"><<a href="mailto:anca@opensips.org">anca@opensips.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Antonio,<br>
<br>
You can catch the B2B generated INVITEs in local route. Probably you<br>
don't have any other generated Invites, so there is no need to filter<br>
them. But if you do, a good solution is to use at the Contact header. It<br>
must contain what you set in the "b2b_entities" module parameter<br>
"server_address".<br>
<br>
Regards,<br>
<br>
--<br>
Anca Vamanu<br>
<a href="http://www.voice-system.ro" target="_blank">www.voice-system.ro</a><br>
<br>
<br>
<br>
Antonio Anderson Souza wrote:<br>
> Dear All,<br>
><br>
> I'm developing a solution based on Opensips B2B modules, and my<br>
> scenario is a blind transfer, I'd like to know what's the best way to<br>
> identify that a new INVITE request was generated by a B2B scenario? I<br>
> tried to set an avp variable but it's a new transaction so i think<br>
> that it's another context.<br>
><br>
> Thinking about this issue I guessed 2 possible solution, I'd like to<br>
> listen from you guys if are there other possible solutions, and which<br>
> is the best one?<br>
><br>
> 1- Create a custom header in the B2B scenario, I don't know if it's<br>
> possible?<br>
><br>
> 2 - As the source IP of the new INVITE is the Opensips IP, it's<br>
> possible to check if the INVITE is from a local IP.<br>
><br>
> I'd prefer the option 1, but I didn't find in the documentation how to<br>
> add a custom header in the B2B scenario.<br>
><br>
> Does anybody can help me?<br>
><br>
> Best regards,<br>
><br>
><br>
> Antonio Anderson Souza<br>
> Voice Technology<br>
> <a href="http://www.antonioams.com" target="_blank">http://www.antonioams.com</a><br>
> ------------------------------------------------------------------------<br>
><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>
><br>
<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>
</blockquote></div><br>