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:[email protected] <sip%[email protected]>>" as from_uri to
function client_new, it will be rendered as this in the request:
  From: <"user1"<sip:[email protected] <sip%[email protected]>
>>;tag=a34656f511fe5edd5d76196c64f246a7-aba5

(obs: to_uri is free from this problem:
  to_uri = "\"user2\"<sip:[email protected] <sip%[email protected]>>"
-> To: "user2"<sip:[email protected] <sip%[email protected]>>)

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
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to