On Wed, May 12, 2010 at 12:56 PM, Anca Vamanu <[email protected]> wrote: > Olivier Détour wrote: >> 2010/5/10 Olivier Détour <[email protected]>: >> >>> Hi, >>> >>> I would like to create an UAC with client_new over a TLS connection. >>> My peer is registered and the TLS tunnel is set up. >>> But when I create my UAC, and send my first request to my peer, the >>> sending failed. I saw I have to give a sock_info* >>> in client_info_t*. But how do I find the right socket_info to send my >>> request on the right tunnel ? >>> >>> Thanks for your replies, >>> Regards, >>> >>> >> >> After more investigation, how could I get tcp_connect id to msg_send >> from my module ? >> Does it possible or not ? >> >> Regards, >> >> > Hi Olivier, > > Putting the same RURI as the contact in the Register sent by client does > not work? > From what I know, opensips will search through its tcp connections for > a match of the contact and use that tunnel. > > Regards, >
I found a dirty solution: get tcp port from REGISTER and inject it in TO uri in client_new. It's working, Thanks you, Regards, -- Olivier Détour _______________________________________________ Devel mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
