<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Thanks...<br><br>I will make a update from svn.<br><br><br><br>--- Em <b>ter, 27/10/09, Anca Vamanu <i><anca@opensips.org></i></b> escreveu:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>De: Anca Vamanu <anca@opensips.org><br>Assunto: Re: [OpenSIPS-Users] B2BUA tests<br>Para: "OpenSIPS users mailling list" <users@lists.opensips.org><br>Data: Terça-feira, 27 de Outubro de 2009, 7:08<br><br><div class="plainMail">Hi Daniel,<br><br>Indeed it was not clear from your first e-mail. I have looked now and <br>there was a bug when the parameter was a pseudovariable. I have fixed it <br>both in 1.6 branch and in trunk. Please update from svn.<br><br>Thanks and regards,<br>Anca<br><br><br>Daniel Cardoso Alves wrote:<br>> Hi Anca,<br>><br>><br>> Maybe not have been
clear.....<br>><br>> The B2BUA worked, but static....<br>><br>><br>> IMPORTANT: I made only change to accept 1 param in script(xml).<br>><br>> In my tests I cant use a variable as a param, for example:<br>> rewritehost("200.200.200.200");<br>> $avp(s:778)=$ru;<br>> avp_print();<br>> b2b_init_request("prepaid","$avp(s:778)");<br>><br>><br>> I made a call and I get this error<br>><br>> Oct 26 14:20:09 [32249] INFO:avpops:ops_print_avp: p=0xb5c90570, <br>> flags=0x0003<br>> Oct 26 14:20:09 [32249] <br>> INFO:avpops:ops_print_avp: name=<778><br>> Oct 26 14:20:09 [32249] <br>> INFO:avpops:ops_print_avp: <br>> val_str=<sip:03433330000@200.200.200.200:6060 / 36><br>> Oct 26 14:20:09 [32249] ERROR:core:parse_uri: uri too short:
<> (0)<br>> Oct 26 14:20:09 [32249] ERROR:tm:uri2proxy: bad_uri:<br>> Oct 26 14:20:09 [32249] ERROR:tm:uri2su: failed create a dst proxy<br>> Oct 26 14:20:09 [32249] ERROR:tm:t_uac: no socket found<br>> Oct 26 14:20:09 [32249] ERROR:b2b_entities:client_new: while sending <br>> request with t_request<br>> Oct 26 14:20:09 [32249] ERROR:b2b_logic:b2b_process_scenario_init: <br>> failed to create new b2b client instance<br>><br>><br>> If I use <br>> b2b_init_request("prepaid","sip:03433330000@200.200.200.200:6060") it <br>> works fine....<br>><br>><br>> Is possible to pass a AVP (or others) as a param for b2b_init_request?<br>><br>><br>> Thanks...<br>><br>><br>><br>> --- Em *seg, 26/10/09, Anca Vamanu /<<a ymailto="mailto:anca@opensips.org" href="/mc/compose?to=anca@opensips.org">anca@opensips.org</a>>/* escreveu:<br>><br>><br>> De: Anca Vamanu
<<a ymailto="mailto:anca@opensips.org" href="/mc/compose?to=anca@opensips.org">anca@opensips.org</a>><br>> Assunto: Re: [OpenSIPS-Users] B2BUA tests<br>> Para: "OpenSIPS users mailling list" <<a ymailto="mailto:users@lists.opensips.org" href="/mc/compose?to=users@lists.opensips.org">users@lists.opensips.org</a>><br>> Data: Segunda-feira, 26 de Outubro de 2009, 15:09<br>><br>> Hi Daniel,<br>><br>> You tested B2BUA with the scenarios from the documentation and<br>> they did<br>> not work?<br>> If this is so, you can post here a trace.<br>><br>> B2BUA in OpenSIPS does work.<br>><br>> Regards,<br>>
Anca<br>><br>><br>><br>><br>> Daniel Cardoso Alves wrote:<br>> > Hi...<br>> ><br>> > I was making some tests with b2bua modules, but I thought the<br>> > documentation very<br>> > confuse.<br>> ><br>> > I know that the B2Bua module is alpha.<br>> ><br>> > I make few tests, but it like work rigth. I use the examples in<br>> > <a href="http://www.opensips.org/Resources/B2buaTutorial#toc1" target="_blank">http://www.opensips.org/Resources/B2buaTutorial#toc1</a>, and I tried<br>> > modify some thinks and doesnt work.<br>> ><br>>
> In the function b2b_init_request I can pass a AVP (or other<br>> thing not<br>> > static) as a param?<br>> ><br>> > Is possible make a Functional B2BUA with OpenSIPs?<br>> ><br>> ><br>> > Thanks...<br>> ><br>> ><br>> ><br>> ------------------------------------------------------------------------<br>> > Veja quais são os assuntos do momento no Yahoo! + Buscados: Top 10<br>> ><br>> <<a href="http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/"
target="_blank">http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/</a>><br>><br>> > - Celebridades<br>> ><br>> <<a href="http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/celebridades/" target="_blank">http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/celebridades/</a>><br>><br>> > - Música<br>> ><br>> <<a href="http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/m%C3%BAsica/" target="_blank">http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/m%C3%BAsica/</a>><br>><br>> > - Esportes<br>> ><br>> <<a
href="http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/esportes/" target="_blank">http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/esportes/</a>><br>><br>> ><br>> ><br>> ------------------------------------------------------------------------<br>> ><br>> > _______________________________________________<br>> > Users mailing list<br>> > <a ymailto="mailto:Users@lists.opensips.org" href="/mc/compose?to=Users@lists.opensips.org">Users@lists.opensips.org</a> </mc/compose?to=<a ymailto="mailto:Users@lists.opensips.org" href="/mc/compose?to=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>> _______________________________________________<br>> Users mailing list<br>> <a ymailto="mailto:Users@lists.opensips.org" href="/mc/compose?to=Users@lists.opensips.org">Users@lists.opensips.org</a> </mc/compose?to=<a ymailto="mailto:Users@lists.opensips.org" href="/mc/compose?to=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>> Veja quais são os assuntos do momento no
Yahoo! + Buscados: Top 10 <br>> <<a href="http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/" target="_blank">http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/</a>> <br>> - Celebridades <br>> <<a href="http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/celebridades/" target="_blank">http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/celebridades/</a>> <br>> - Música <br>> <<a href="http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/m%C3%BAsica/" target="_blank">http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/m%C3%BAsica/</a>> <br>> - Esportes <br>> <<a href="http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/esportes/" target="_blank">http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/esportes/</a>>
<br>><br>> ------------------------------------------------------------------------<br>><br>> _______________________________________________<br>> Users mailing list<br>> <a ymailto="mailto:Users@lists.opensips.org" href="/mc/compose?to=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>_______________________________________________<br>Users mailing list<br><a ymailto="mailto:Users@lists.opensips.org" href="/mc/compose?to=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></blockquote></td></tr></table><br>
<hr size=1>Veja quais são os assuntos do momento no Yahoo! + Buscados: <a href="http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/">Top 10</a> - <a href="http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/celebridades/">Celebridades</a> - <a href="http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/m%C3%BAsica/">Música</a> - <a href="http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/esportes/">Esportes</a>