Hi all, I'm working on a simple application which currently does inviting/acknowledging without user input and I'd like to know what what the recommended way of allowing interaction is. I've been using sofsip_cli as my reference but it isn't completely clear to me how this should work. I'm looking into listening on a socket and sending messages to trigger callbacks.
In sofsip_cli.c a callback is registered but with port 0? I haven't found where/how this is later used.: su_wait_create(&cli->cli_input, 0, SU_WAIT_IN); if (su_root_register(cli->cli_root, &cli->cli_input, sofsip_handle_input, NULL, 0) == SOCKET_ERROR) { su_perror("su_root_register"); return -1; } test_su.c is more explicit about the socket. http://sofia-sip.org/repos/sofia-sip/_darcs/current/libsofia-sip-ua/su/test_su.c Is this the right method to look into? Is there another approach I should be taking instead? And are there any other examples I might find useful? Thanks for your help. Oscar ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel