<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi Anca,<br><br><br>Maybe not have been clear.....<br><br>The B2BUA worked, but static....<br><br><br><span style="font-weight: bold;">IMPORTANT</span>: 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, flags=0x0003<br>Oct 26 14:20:09 [32249] INFO:avpops:ops_print_avp: name=<778><br>Oct 26 14:20:09 [32249]
INFO:avpops:ops_print_avp: 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 request with t_request<br>Oct 26 14:20:09 [32249] ERROR:b2b_logic:b2b_process_scenario_init: failed to create new b2b client instance<br><br><br>If I use b2b_init_request("prepaid","sip:03433330000@200.200.200.200:6060") it 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 <b>seg, 26/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: Segunda-feira, 26 de Outubro de 2009, 15:09<br><br><div class="plainMail">Hi Daniel,<br><br>You tested B2BUA with the scenarios from the documentation and 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 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>> 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>