Anca, I've tested the solution and it's OK.
Thank you very much! Antonio Anderson Souza Voice Technology http://www.antonioams.com On Tue, Apr 20, 2010 at 11:45 AM, Antonio Anderson Souza < [email protected]> wrote: > Anca, > > 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. > > > Best regards, > > Antonio Anderson Souza > Voice Technology > http://www.antonioams.com > > > On Tue, Apr 20, 2010 at 6:21 AM, Anca Vamanu <[email protected]> wrote: > >> Hi Antonio, >> >> You can catch the B2B generated INVITEs in local route. Probably you >> don't have any other generated Invites, so there is no need to filter >> them. But if you do, a good solution is to use at the Contact header. It >> must contain what you set in the "b2b_entities" module parameter >> "server_address". >> >> Regards, >> >> -- >> Anca Vamanu >> www.voice-system.ro >> >> >> >> Antonio Anderson Souza wrote: >> > Dear All, >> > >> > I'm developing a solution based on Opensips B2B modules, and my >> > scenario is a blind transfer, I'd like to know what's the best way to >> > identify that a new INVITE request was generated by a B2B scenario? I >> > tried to set an avp variable but it's a new transaction so i think >> > that it's another context. >> > >> > Thinking about this issue I guessed 2 possible solution, I'd like to >> > listen from you guys if are there other possible solutions, and which >> > is the best one? >> > >> > 1- Create a custom header in the B2B scenario, I don't know if it's >> > possible? >> > >> > 2 - As the source IP of the new INVITE is the Opensips IP, it's >> > possible to check if the INVITE is from a local IP. >> > >> > I'd prefer the option 1, but I didn't find in the documentation how to >> > add a custom header in the B2B scenario. >> > >> > Does anybody can help me? >> > >> > Best regards, >> > >> > >> > Antonio Anderson Souza >> > Voice Technology >> > http://www.antonioams.com >> > ------------------------------------------------------------------------ >> > >> > _______________________________________________ >> > Users mailing list >> > [email protected] >> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> > >> >> _______________________________________________ >> Users mailing list >> [email protected] >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> > >
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
