[OpenSIPS-Users] Limitations of b2b_entities?
mayamatakeshi
mayamatakeshi at gmail.com
Mon Jul 19 06:07:12 CEST 2010
Hello,
I'm playing with the module b2b_entities. I was thinking in writing some
perl/lua code to control UA entities provided by this module.
However, I am seeing some shortcomings/bugs in it:
1) If I pass
"\"user1\"<sip:user1 at test1.com <sip%3Auser1 at test1.com>>" as from_uri to
function client_new, it will be rendered as this in the request:
From: <"user1"<sip:user1 at test1.com <sip%3Auser1 at test1.com>
>>;tag=a34656f511fe5edd5d76196c64f246a7-aba5
(obs: to_uri is free from this problem:
to_uri = "\"user2\"<sip:user2 at 192.168.2.126 <sip%3Auser2 at 192.168.2.126>>"
-> To: "user2"<sip:user2 at 192.168.2.126 <sip%3Auser2 at 192.168.2.126>>)
2) function client_new doesn't permit to specify the Request-URI. There are
situations where Request-URI will have to be set differently from To-Uri (I
know at least the case where some PSTN-GWs recognises RURI-Username !=
To-URI-Username as redirection indication).
I just thought to highlight those points, so that they could be improved in
the future.
regards,
takeshi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20100719/53e1d859/attachment.htm
More information about the Users
mailing list