> 
> On Wed, 2009-02-11 at 09:01 -0600, Andrew Rechenberg Lists wrote:
> > >   tport_listen(0x1029630): tport_setname(pf=2, tls/(null)):
Address
> > > family not supported by protocol family
> Interesting.  Can you provide a log with TPORT_DEBUG set to 9?

Here are a working and non-working TPORT_LOG=9 (1.12.9 works,
1.12.10/darcs HEAD doesn't).  Not much more there than what I posted
initially (at least from my layperson's point of view :) ).

Non-working:
http://dpaste.com/hold/119739/

nua: nua_create: entering
su_socket_port_init(0x1027160, 0x1e2ec0) called
su_pthread_port_init(0x1027160, 0x1e2ec0) called
nua: nua_stack_init: entering
nua: nua_stack_set_params: entering
soa_create("default", 0x1023f20, 0x1027fd0) called
soa_set_params(static::0x10282b0, ...) called
soa_set_params(static::0x10282b0, ...) called
nta_agent_create: initialized hash tables
nta_agent_create: initialized transports
nta_agent_create: initialized random identifiers
nta_agent_create: initialized timer
nta_agent_create: initialized resolver
tport_create(): 0x1029270
nta: master transport created
tport_bind_server(0x1029270) to tls/192.168.43.1:5061/sips
tport_bind_server(0x1029270): calling tport_listen for tls
tport_alloc_primary(0x1029270): new primary tport 0x1029550
tport_tls_init_master(0x1029550): tls key =
/Users/djflux/Library/Application Support/iPhone
Simulator/User/Applications/48543AB8-2FCB-447A-BCEE-D4B9BD5B6895/.sip/au
th/agent.pem
tport_listen(0x1029270): tport_setname(pf=2 tls/(null)): Address family
not supported by protocol family
nta: bind(192.168.43.1:5061;transport=tls): Address family not supported
by protocol family
nua: initializing SIP stack failed
nua: nua_stack_deinit: entering
sres_sofia_update(0x1029010, -1, -1)
sres_sofia_update(0x0, -1, -1)
tport_destroy(0x1029270)
su_kqueue_port_deinit(0x1027160) called



Working:
http://dpaste.com/hold/119742/

nua: nua_create: entering
su_socket_port_init(0x1027150, 0x1e2e80) called
su_pthread_port_init(0x1027150, 0x1e2e80) called
nua: nua_stack_init: entering
nua: nua_stack_set_params: entering
soa_create("default", 0x100cf60, 0x1028330) called
soa_set_params(static::0x1028560, ...) called
soa_set_params(static::0x1028560, ...) called
nta_agent_create: initialized hash tables
nta_agent_create: initialized transports
nta_agent_create: initialized random identifiers
nta_agent_create: initialized timer
nta_agent_create: initialized resolver
tport_create(): 0x1029690
nta: master transport created
tport_bind_server(0x1029690) to tls/192.168.43.1:5061/sips
tport_bind_server(0x1029690): calling tport_listen for tls
tport_alloc_primary(0x1029690): new primary tport 0x1029970
tport_tls_init_master(0x1029970): tls key =
/Users/djflux/Library/Application Support/iPhone
Simulator/User/Applications/3C9FA442-6976-443A-B1CB-C3E3EA3BA31A/.sip/au
th/agent.pem
tport_listen(0x1029970): listening at tls/192.168.43.1:5061/sips
nta: bound to (192.168.43.1:5061;transport=tls)
nta: agent_init_via: SIP/2.0/tls 192.168.43.1 (sips)
nta: Via fields initialized
nta: Contact header created
nua_register: Adding contact URL '192.168.43.1' to list.
nua: nua_set_params: entering
nua(0x0): sent signal r_set_params
nua: nua_get_params: entering
nua(0x0): sent signal r_get_params
nua(0x0): recv signal r_set_params
nua: nua_stack_set_params: entering
soa_set_params(static::0x1028560, ...) called
nua(0x0): event r_set_params 200 OK
nua(0x0): recv signal r_get_params
nua: nua_stack_get_params: entering
soa_get_paramlist(static::0x1028560, ...) called
nua(0x0): event r_get_params 200 OK




> 
> > > Do I need to change something in my code to get TLS working with
> > 1.12.10
> If you didn't add/remove tags, then everything should (will?) behave
> exactly the same way.
> 
> >
> > Thought my nua_create code would be handy for reference:
> >
> > NUTAG_URL("sips:192.168.43.1:5061;transport=tls;epid=010101010101"),
> I think the transport=tls is redundant, unless it is another MS
thing...

For some reason Microsoft Office Communications Server expects that bit
to be there :(

Confidentiality Notice: This e-mail message including attachments, if any, is 
intended only for the person or entity to which it is addressed and may contain 
confidential and/or privileged material. Any unauthorized review, use, 
disclosure or distribution is prohibited. If you are not the intended 
recipient, please contact the sender by reply e-mail and destroy all copies of 
the original message. If you are the intended recipient, but do not wish to 
receive communications through this medium, please so advise the sender 
immediately.

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to