<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Anca,<br><br><br>Sorry.... After your changes It works...<br><br>I forgot to compile b2b_logic...<br><br><br><br>Thanks for your help...<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, 14:49<br><br><div class="plainMail">Anca Vamanu wrote:<br>> Hi Daniel,<br>><br>> I don't know why would this happen. I test it myself and it worked. I <br>> have added some debug messages. Please update and before running raise <br>> the degub leve to 6 ( debug=6 from the configuration file). If you see
<br>> the error again send me the part of the log with the error with <br>> 'DBG:core:parse_msg: method: <INVITE>'.<br>> <br>sorry, here I wanted to say, starting with the line :<br><br>'DBG:core:parse_msg: method: <INVITE>'.<br><br><br><br>> Regards,<br>> Anca<br>><br>><br>><br>> Daniel Cardoso Alves wrote:<br>> <br>>> I made the update from svn and I had the same error...<br>>><br>>> Oct 27 12:39:03 [28567] <br>>> INFO:avpops:ops_print_avp: name=<778><br>>> Oct 27 12:39:03 [28567] <br>>> INFO:avpops:ops_print_avp: <br>>> val_str=<sip:03432210000@200.200.200.200:6060 / 36><br>>> Oct 27 12:39:03 [28567] ERROR:core:parse_uri: uri too short:
<> (0)<br>>> Oct 27 12:39:03 [28567] ERROR:tm:uri2proxy: bad_uri:<br>>> Oct 27 12:39:03 [28567] ERROR:tm:uri2su: failed create a dst proxy<br>>> Oct 27 12:39:03 [28567] ERROR:tm:t_uac: no socket found<br>>> Oct 27 12:39:03 [28567] ERROR:b2b_entities:client_new: while sending <br>>> request with t_request<br>>> Oct 27 12:39:03 [28567] ERROR:b2b_logic:b2b_process_scenario_init: <br>>> failed to create new b2b client instance<br>>><br>>><br>>> I tried with this lines:<br>>><br>>> b2b_init_request("prepaid","$ru");<br>>><br>>> and<br>>><br>>> $avp(s:778)=$ru;<br>>> b2b_init_request("prepaid","$avp(s:778)");<br>>><br>>><br>>><br>>><br>>> --- Em *ter, 27/10/09, Daniel Cardoso Alves <br>>> /<<a ymailto="mailto:dcardosoa@yahoo.com.br" href="/mc/compose?to=dcardosoa@yahoo.com.br">dcardosoa@yahoo.com.br</a>>/*
escreveu:<br>>><br>>><br>>> De: Daniel Cardoso Alves <<a ymailto="mailto:dcardosoa@yahoo.com.br" href="/mc/compose?to=dcardosoa@yahoo.com.br">dcardosoa@yahoo.com.br</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: Terça-feira, 27 de Outubro de 2009, 10:53<br>>><br>>> Thanks...<br>>><br>>> I will make a update from svn.<br>>><br>>><br>>><br>>> --- Em *ter, 27/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: Terça-feira, 27 de Outubro de 2009, 7:08<br>>><br>>> Hi Daniel,<br>>><br>>> Indeed it was not clear from your first e-mail. I have looked<br>>> now and<br>>> there was a bug when the parameter was a
pseudovariable. I<br>>> 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:<br>>>
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:<br>>> <> (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<br>>> 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<br>>> sending<br>>> > request with t_request<br>>> > Oct 26 14:20:09 [32249]<br>>> ERROR:b2b_logic:b2b_process_scenario_init:<br>>> > failed to create new b2b client instance<br>>> ><br>>>
><br>>> > If I use<br>>> ><br>>> b2b_init_request("prepaid","sip:03433330000@200.200.200.200:6060")<br>>> it<br>>> > works fine....<br>>> ><br>>> ><br>>> > Is possible to pass a AVP (or others) as a param for<br>>> 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>>/*<br>>> 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"<br>>> <<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<br>>> 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<br>>> 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<br>>> examples in<br>>> > > <a href="http://www.opensips.org/Resources/B2buaTutorial#toc1"
target="_blank">http://www.opensips.org/Resources/B2buaTutorial#toc1</a>,<br>>> and I tried<br>>> > > modify some thinks and doesnt work.<br>>> > ><br>>> > > In the function b2b_init_request I can pass a AVP (or<br>>> 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>>> ------------------------------------------------------------------------<br>>> > > Veja quais são os assuntos do momento no Yahoo! +<br>>> Buscados: Top 10<br>>> >
><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>>> > <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>>> > <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>>> > <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>>> > > _______________________________________________<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>>> </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><br>>> </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>>> > Veja quais são os assuntos do momento
no Yahoo! + Buscados:<br>>> 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><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>>><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>>> -----Anexo incorporado-----<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>> _______________________________________________<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>_______________________________________________<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>