Re: [Sofia-sip-devel] Outbound and sofia-sip library

2007-10-16 Thread Ge@@ru
I have founded solution. For send message (as http://tools.ietf.org/id/draft-ietf-sip-outbound) through an existing connection it is only needed save tport transport of new connection through function nta_incoming_transport (nta_agent, irq, nta_incoming_getrequest(irq) (on leg_default_callback)

Re: [Sofia-sip-devel] Outbound and sofia-sip library

2007-10-10 Thread Pekka Pessi
2007/10/10, Pekka Pessi [EMAIL PROTECTED]: (Or you can just not to zero susa.su_port before bind in tport_base_connect() in tport.c, and see what happens).. Looks like this works on my linux box. Whee. -- Pekka.Pessi mail at nokia.com

Re: [Sofia-sip-devel] Outbound and sofia-sip library

2007-10-10 Thread Pekka Pessi
2007/10/8, Ge@@ru [EMAIL PROTECTED]: i have some questions about use of outbound mode. Usually when an user agent send a register message open an ephemeral port and send message to port 5060. With sofia-sip library it is possible use port 5060 (as source port) to send message? As I mentioned

Re: [Sofia-sip-devel] Outbound and sofia-sip library

2007-10-10 Thread Ge@@ru
Thanks for your help. Well, as you said and as i see, in linux it isn't possible use a port (or same socket) for connect that it is on listening status. :'( So, now, my problem is another (sorry if i'm been clear on previous email/message, my english isn't so perfect!), not if i can force a

[Sofia-sip-devel] Outbound and sofia-sip library

2007-10-08 Thread Ge@@ru
Hi at all, i have some questions about use of outbound mode. Usually when an user agent send a register message open an ephemeral port and send message to port 5060. With sofia-sip library it is possible use port 5060 (as source port) to send message? Still, to enable outbound traffic i must use