Hi, Basically, this occurs if the default sip transport (as define in IP2IP preference panel or 5060 by default) cannot be opened. If you have another SIP devise running (Asterisk, freeswitch, another softphone), most likely the SIP port (5060) is going to be used already.
This issue is now fixed using a fallback mechanism. It is available on the nightly built repository, add the following lines in your sources deb http://ppa.launchpad.net/savoirfairelinux/sflphone-nightly/ubuntu karmic main deb-src http://ppa.launchpad.net/savoirfairelinux/sflphone-nightly/ubuntu karmic main For more details see https://launchpad.net/~savoirfairelinux/+archive/sflphone-nightly Thanks for your report, Alexandre ----- Mail Original ----- De: "tehownt tehownt" <[email protected]> À: [email protected] Envoyé: Lundi 21 Décembre 2009 08h26:09 GMT -05:00 USA/Canada - États de l'Est Objet: [SFLphone] Seg Fault in 0.9.7 stable. Hello, I've used an older version of SFLPhone w/o any problems before (can't recall which one though). I'm running into problems with the new version and basically am unable to launch it as soon as it's able to reach to the SIP server/open the UDP port. Whenever it can't connect the GUI shows up, but if the connection can be established it just crashes without attempting to connect. Here's the output of the sfl-client-gnome: [stdout] ERROR org.sflphone.gtk - Failed to call register() on instanceProxy: Message did not receive a reply (timeout by message bus) [stdout] ERROR org.sflphone.gtk - Error while calling get_account_list: Message did not receive a reply (timeout by message bus) [stdout] ERROR org.sflphone.gtk - Error while calling get_ip2_ip_details: Message did not receive a reply (timeout by message bus) [stdout] ERROR org.sflphone.gtk - Failed to call get_codec_list() on ConfigurationManager: Message did not receive a reply (timeout by message bus) [stdout] ERROR org.sflphone.gtk - Failed to call get_active_codec_list() on ConfigurationManager: Message did not receive a reply (timeout by message bus) [stdout] ERROR org.sflphone.gtk - Failed to call get_codec_details() on ConfigurationManager: Message did not receive a reply (timeout by message bus) Segmentation fault And here's the output of the /usr/lib/sflphone/sflphoned [sfl-debug] ManagerImpl::InitConfigFile [sfl-debug] XDG_CONFIG_HOME: (null) /home/#####/.config/sflphone/sflphonedrc [sfl-debug] ManagerImpl::loadAccountMap [sfl-debug] Account::setRegistrationState [sfl-debug] Create new SIPVoIPLink instance [sfl-debug] Default account port 5060 [sfl-debug] pjsip_init 08:03:56.180 os_core_unix.c pjlib 1.4 for POSIX initialized 08:03:56.180 sip_endpoint.c Creating endpoint instance... 08:03:56.180 pjlib select() I/O Queue created (0x146cc40) 08:03:56.180 sip_endpoint.c Module "mod-msg-print" registered 08:03:56.180 sip_transport. Transport manager created. [sfl-debug] UserAgent: Checking network, setting local IP address to: 192.168.1.130 [sfl-debug] Returns the direct IP account [sfl-debug] Account is null in pjsip init [sfl-debug] UserAgent: Checking network, setting local IP address to: 192.168.1.130 [sfl-debug] SIPVoIPLink::createUDPServer [sfl-debug] Returns the direct IP account [sfl-debug] Account with id "" is null in createUDPServer. [sfl-debug] number of transport: 0 08:03:56.181 sip_transport. Outstanding transmit buffers: 0 08:03:56.181 sip_transport. Dumping listeners: [sfl-debug] UserAgent: (120098) Unable to start UDP transport on 192.168.1.130:5060 [sfl-debug] UserAgent: Could not initialize SIP listener on port 5060 [sfl-debug] UserAgent: Trying to initialize SIP listener on port 9631 [sfl-debug] UserAgent: Checking network, setting local IP address to: 192.168.1.130 [sfl-debug] SIPVoIPLink::createUDPServer [sfl-debug] Returns the direct IP account [sfl-debug] Account with id "" is null in createUDPServer. [sfl-debug] number of transport: 0 08:03:56.181 sip_transport. Outstanding transmit buffers: 0 08:03:56.181 sip_transport. Dumping listeners: [sfl-debug] UserAgent: (120098) Unable to start UDP transport on 192.168.1.130:5060 [sfl-debug] UserAgent: Fail to initialize SIP listener on port 9631 [sfl-debug] Succeed to create direct ip calls "account" [sfl-debug] Register account IP2IP [sfl-debug] Account::setRegistrationState [sfl-debug] Loading account Account:1259027129 [sfl-debug] nbAccount loaded 1 [sfl-init] Initiate Volume [sfl-init] AudioLayer Creation PID TTY TIME CMD 3908 ? 00:00:01 pulseaudio [sfl-debug] PulseLayer::Pulse audio constructor: Create context [sfl-debug] Audio layer type: 1 [sfl-init] Active Codecs List [sfl-debug] Scanning /home/#####/.sflphone/ to find audio codecs.... [sfl-debug] Scanning /usr/lib/sflphone/codecs/ to find audio codecs.... warning: The VAD has been replaced by a hack pending a complete rewrite warning: The VAD has been replaced by a hack pending a complete rewrite warning: The VAD has been replaced by a hack pending a complete rewrite [sfl-debug] GSM [sfl-debug] speex [sfl-debug] PCMA [sfl-debug] G722 [sfl-debug] speex [sfl-debug] speex [sfl-debug] PCMU [sfl-init] Load Telephone Tone [sfl-init] Loading DTMF key [sfl-init] Initiate VoIP Links Registration [sfl-debug] ManagerImpl::setConfig Account:1259027129 Account.localAddress 0.0.0.0 [sfl-debug] Register account Account:1259027129 [sfl-debug] UserAgent: Checking network, setting local IP address to: 192.168.1.130 [sfl-debug] SIPVoIPLink::createUDPServer [sfl-debug] number of transport: 0 08:03:56.308 sip_transport. Outstanding transmit buffers: 0 08:03:56.308 sip_transport. Dumping listeners: [sfl-debug] UserAgent: (120098) Unable to start UDP transport on 192.168.1.130:5060 [sfl-debug] Use the local UDP transport [sfl-debug] Account::setRegistrationState [sfl-debug] SIPVoIPLink::findLocalAddressFromUri [sfl-debug] transport is NULL in findLocalAddressFromUri . Try the local UDP transport[sfl-debug] Failed to find local address from transport [sfl-debug] transport is NULL in findLocalPortFromUri - Try the local UDP transport [sfl-debug] Transport ID: (null) [sfl-debug] Failed to find local address from transport [sfl-debug] Local port discovered from attached transport: 0 [sfl-debug] Display Name: ##### [sfl-debug] sendRegister: fromUri: <sip:##[email protected]> serverUri: <sip:192.168.1.1> contactUri: ###### <sip:###...@######:0> [sfl-debug] setting 1 credentials in sendRegister 08:03:56.308 endpoint Request msg REGISTER/cseq=53835 (tdta0x164e420) created. sflphoned: ../src/pjsip/sip_util_statefull.c:96: pjsip_endpt_send_request: Assertion `mod_stateful_util.id != -1' failed. Aborted I'm not even seeing the registry attempt on the SIP server yet I can reach it w/o problems (since it's also the DHCP server), the local address 192.168.1.130 is valid and is also the same in ~/.config/sflphone/sflphonedrc and there's an interface with that address present. wlan0 Link encap:Ethernet HWaddr ##:##:##:##:##:## inet addr:192.168.1.130 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::213:e8ff:fe22:ab81/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 I'm running out of ideas, what would be the next steps to try and have it working again ? Thanks, --tehownt. _______________________________________________ SFLphone mailing list [email protected] http://lists.savoirfairelinux.net/mailman/listinfo/sflphone _______________________________________________ SFLphone mailing list [email protected] http://lists.savoirfairelinux.net/mailman/listinfo/sflphone
