Hello,<br>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.<br>However, I am seeing some shortcomings/bugs in it:<br><br>1) If I pass <br>
"\"user1\"<<a href="mailto:sip%3Auser1@test1.com">sip:user1@test1.com</a>>" as from_uri to function client_new, it will be rendered as this in the request:<br> From: <"user1"<<a href="mailto:sip%3Auser1@test1.com">sip:user1@test1.com</a>>>;tag=a34656f511fe5edd5d76196c64f246a7-aba5<br>
<br>(obs: to_uri is free from this problem:<br> to_uri = "\"user2\"<<a href="mailto:sip%3Auser2@192.168.2.126">sip:user2@192.168.2.126</a>>" -> To: "user2"<<a href="mailto:sip%3Auser2@192.168.2.126">sip:user2@192.168.2.126</a>>)<br>
<br>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).<br>
<br>I just thought to highlight those points, so that they could be improved in the future.<br><br>regards,<br>takeshi<br><br><br>