[OpenSIPS-Users] B2BUA tests

Daniel Cardoso Alves dcardosoa at yahoo.com.br
Mon Oct 26 18:45:21 CET 2009


Hi Anca,


Maybe not have been clear.....

The B2BUA worked, but static....


IMPORTANT: I made only change to accept 1 param in script(xml).

In my tests I cant use a variable as a param, for example:
rewritehost("200.200.200.200");
$avp(s:778)=$ru;
avp_print();
b2b_init_request("prepaid","$avp(s:778)");


I made a call and I get this error

Oct 26 14:20:09 [32249] INFO:avpops:ops_print_avp: p=0xb5c90570, flags=0x0003
Oct 26 14:20:09 [32249] INFO:avpops:ops_print_avp:                      name=<778>
Oct 26 14:20:09 [32249] INFO:avpops:ops_print_avp:                      val_str=<sip:03433330000 at 200.200.200.200:6060 / 36>
Oct 26 14:20:09 [32249] ERROR:core:parse_uri: uri too short: <> (0)
Oct 26 14:20:09 [32249] ERROR:tm:uri2proxy: bad_uri:
Oct 26 14:20:09 [32249] ERROR:tm:uri2su: failed create a dst proxy
Oct 26 14:20:09 [32249] ERROR:tm:t_uac: no socket found
Oct 26 14:20:09 [32249] ERROR:b2b_entities:client_new: while sending request with t_request
Oct 26 14:20:09 [32249] ERROR:b2b_logic:b2b_process_scenario_init: failed to create new b2b client instance


If I use b2b_init_request("prepaid","sip:03433330000 at 200.200.200.200:6060") it works fine....


Is possible to pass a AVP (or others) as a param for b2b_init_request?


Thanks...



--- Em seg, 26/10/09, Anca Vamanu <anca at opensips.org> escreveu:

De: Anca Vamanu <anca at opensips.org>
Assunto: Re: [OpenSIPS-Users] B2BUA tests
Para: "OpenSIPS users mailling list" <users at lists.opensips.org>
Data: Segunda-feira, 26 de Outubro de 2009, 15:09

Hi Daniel,

You tested B2BUA with the scenarios from the documentation and they did 
not work?
If this is so, you can post here a trace.

B2BUA in OpenSIPS does work.

Regards,
Anca




Daniel Cardoso Alves wrote:
> Hi...
>
> I was making some tests with b2bua modules, but I thought the 
> documentation very
> confuse.
>
> I know that the B2Bua module is alpha.
>
> I make few tests, but it like work rigth. I use the examples in 
> http://www.opensips.org/Resources/B2buaTutorial#toc1, and I tried 
> modify some thinks and doesnt work.
>
> In the function b2b_init_request I can pass a AVP (or other thing not 
> static) as a param?
>
> Is possible make a Functional B2BUA with OpenSIPs?
>
>
> Thanks...
>
>
> ------------------------------------------------------------------------
> Veja quais são os assuntos do momento no Yahoo! + Buscados: Top 10 
> <http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/> 
> - Celebridades 
> <http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/celebridades/> 
> - Música 
> <http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/m%C3%BAsica/> 
> - Esportes 
> <http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/esportes/> 
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>   


_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



      ____________________________________________________________________________________
Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20091026/68e12b5a/attachment.htm 


More information about the Users mailing list