Hi Tristan,

Some more info regarding the sockets from netstat

Before suspend

sudo netstat -alnp | grep sfl
udp        0      0 192.168.1.1:5060        0.0.0.0:*
    22472/sflphoned
udp        0      0 192.168.1.1:60592       0.0.0.0:*
    22472/sflphoned
unix  2      [ ]         DGRAM                    1551793  22472/sflphoned

unix  3      [ ]         STREAM     CONNECTED     1545608
 22844/sflphone-clie
unix  3      [ ]         STREAM     CONNECTED     1545509
 22844/sflphone-clie
unix  3      [ ]         STREAM     CONNECTED     1542654
 22844/sflphone-clie
unix  3      [ ]         STREAM     CONNECTED     1543451
 22844/sflphone-clie
unix  3      [ ]         STREAM     CONNECTED     1543450
 22844/sflphone-clie
unix  3      [ ]         STREAM     CONNECTED     1544488
 22844/sflphone-clie
unix  3      [ ]         STREAM     CONNECTED     1493140  22472/sflphoned

unix  3      [ ]         STREAM     CONNECTED     1493134  22472/sflphoned

unix  3      [ ]         STREAM     CONNECTED     1491398  22472/sflphoned

After resume (all sflphoned sockets dont seem to be connected anymore).

sudo netstat -alnp | grep sfl
unix  3      [ ]         STREAM     CONNECTED     1545608
 22844/sflphone-clie
unix  3      [ ]         STREAM     CONNECTED     1545509
 22844/sflphone-clie
unix  3      [ ]         STREAM     CONNECTED     1542654
 22844/sflphone-clie
unix  3      [ ]         STREAM     CONNECTED     1543451
 22844/sflphone-clie
unix  3      [ ]         STREAM     CONNECTED     1543450
 22844/sflphone-clie
unix  3      [ ]         STREAM     CONNECTED     1544488
 22844/sflphone-clie

What I did was edit -> accounts -> edit account -> (make no changes) ->
apply
and I see "Registered. Server returned "OK" (200) at the bottom of the
accounts menu and I can make calls again.

or else I just killed the client and the daemon to get it working again.

Regards
Jonathan


On 12 December 2012 13:39, Jonathan Lynch <[email protected]> wrote:

> Hi Tristan,
>
> What I did was edit -> accounts -> edit account -> (make no changes) ->
> apply
> and I see "Registered. Server returned "OK" (200) at the bottom of the
> accounts menu and I can make calls again.
>
> or else I just killed the client and the daemon to get it working again.
>
> Thanks
> Jonathan
>
>
> On 12 December 2012 12:48, Tristan Matthews <
> [email protected]> wrote:
>
>> Hi Jonathan,
>>
>> ----- Original Message -----
>> > From: "Jonathan Lynch" <[email protected]>
>> > To: [email protected]
>> > Sent: Wednesday, December 12, 2012 9:51:52 AM
>> > Subject: [SFLphone] sflphone registration issues
>> >
>> >
>> >
>> >
>> > Hi,
>> >
>> >
>> > I connect to a work asterix SIP server and experience registration
>> > issues on resumption after suspending my laptop.
>> > I'm running Ubuntu 12.04 with version 1.2.0 of sflphone installed
>> >
>> >
>> > ii sflphone-client-gnome 1.2.0~ppa1~precise GNOME client for SFLphone
>> >
>> > ii sflphone-common 1.2.0~ppa1~precise SIP and IAX2 compatible
>> > softphone - Core
>> >
>> >
>> > The output from syslog is included below. From the source code I see
>> > that the error codes correspond to the following
>> >
>> >
>> >
>> >
>> > PJSIP_SC_BAD_REQUEST = 400
>> >
>> >
>> > PJSIP_SC_REQUEST_TIMEOUT = 408
>> >
>> >
>> > PJSIP_SC_SERVICE_UNAVAILABLE = 503
>> >
>> >
>> >
>> > Any Ideas how to resolve these issues?
>>
>> Thanks for all the detailed info, I've created a bug report here to track
>> the problem:
>> https://projects.savoirfairelinux.com/issues/18494
>>
>> This is definitely a bug, I'm guessing that SFLphone needs to reopen its
>> SIP socket in this case.
>> As a temporary workaround, if you unregister and register your account,
>> are you able to make calls
>> or does it stay in the same state?
>>
>> Best,
>> Tristan
>>
>> >
>> > Thanks
>> > Jonathan
>> >
>> >
>> > ------------
>> >
>> >
>> > Dec 11 13:29:35 sflphoned: managerimpl.cpp:351: Could not hang up
>> > call, call not valid
>> > Dec 11 13:29:45 sflphoned: sdp.cpp:89: Could not find rtpmap
>> > attribute
>> >
>> >
>> > Dec 11 16:55:37 sflphoned: networkmanager.cpp:49: Network state
>> > changed: unknown
>> > Dec 11 16:55:37 sflphoned: networkmanager.cpp:54: Properties changed:
>> > Dec 11 16:55:37 sflphoned: networkmanager.cpp:57: ActiveConnections
>> > Dec 11 16:55:37 sflphoned: networkmanager.cpp:57: State
>> > Dec 11 16:55:37 sflphoned: sipvoiplink.cpp:1914: Could not register
>> > account Account:1354718606 with error 503
>> > Dec 11 16:55:37 sflphoned: sipaccount.cpp:652: UserAgent:
>> > VoipLinkException occured: Unable to send account registration
>> > request
>> > Dec 11 16:55:40 sflphoned: sipvoiplink.cpp:1914: Could not register
>> > account Account:1354718606 with error 503
>> > Dec 11 16:55:40 sflphoned: sipvoiplink.cpp:1898: Could not register
>> > account Account:1354718606 with error 400
>> >
>> >
>> > Dec 12 00:40:43 sflphoned: networkmanager.cpp:49: Network state
>> > changed: unknown
>> > Dec 12 00:40:43 sflphoned: networkmanager.cpp:49: Network state
>> > changed: unknown
>> > Dec 12 00:40:43 sflphoned: networkmanager.cpp:54: Properties changed:
>> > Dec 12 00:40:43 sflphoned: networkmanager.cpp:57: ActiveConnections
>> > Dec 12 00:40:43 sflphoned: networkmanager.cpp:57: State
>> > Dec 12 00:40:43 sflphoned: sipvoiplink.cpp:1914: Could not register
>> > account Account:1354718606 with error 503
>> > Dec 12 00:40:43 sflphoned: sipaccount.cpp:652: UserAgent:
>> > VoipLinkException occured: Unable to send account registration
>> > request
>> > Dec 12 00:40:43 sflphoned: networkmanager.cpp:54: Properties changed:
>> > Dec 12 00:40:43 sflphoned: networkmanager.cpp:57: ActiveConnections
>> > Dec 12 00:40:43 sflphoned: sipvoiplink.cpp:1914: Could not register
>> > account Account:1354718606 with error 503
>> > Dec 12 00:40:43 sflphoned: sipaccount.cpp:652: UserAgent:
>> > VoipLinkException occured: Unable to send account registration
>> > request
>> > Dec 12 00:40:44 sflphoned: networkmanager.cpp:49: Network state
>> > changed: unknown
>> > Dec 12 00:40:44 sflphoned: networkmanager.cpp:54: Properties changed:
>> > Dec 12 00:40:44 sflphoned: networkmanager.cpp:57: ActiveConnections
>> > Dec 12 00:40:44 sflphoned: networkmanager.cpp:57: State
>> > Dec 12 00:40:44 sflphoned: sipvoiplink.cpp:1914: Could not register
>> > account Account:1354718606 with error 503
>> > Dec 12 00:40:44 sflphoned: sipaccount.cpp:652: UserAgent:
>> > VoipLinkException occured: Unable to send account registration
>> > request
>> > Dec 12 00:40:44 sflphoned: networkmanager.cpp:54: Properties changed:
>> > Dec 12 00:40:44 sflphoned: networkmanager.cpp:57: ActiveConnections
>> > Dec 12 00:40:44 sflphoned: sipvoiplink.cpp:1914: Could not register
>> > account Account:1354718606 with error 503
>> > Dec 12 00:40:44 sflphoned: sipaccount.cpp:652: UserAgent:
>> > VoipLinkException occured: Unable to send account registration
>> > request
>> > Dec 12 00:40:46 sflphoned: networkmanager.cpp:49: Network state
>> > changed: unknown
>> > Dec 12 00:40:46 sflphoned: networkmanager.cpp:54: Properties changed:
>> > Dec 12 00:40:46 sflphoned: networkmanager.cpp:57: State
>> > Dec 12 00:41:21 sflphoned: sipvoiplink.cpp:1927: Could not register
>> > account Account:1354718606 with error 408
>> > Dec 12 00:41:22 sflphoned: networkmanager.cpp:49: Network state
>> > changed: unknown
>> > Dec 12 00:41:22 sflphoned: networkmanager.cpp:54: Properties changed:
>> > Dec 12 00:41:22 sflphoned: networkmanager.cpp:57: ActiveConnections
>> > Dec 12 00:41:22 sflphoned: networkmanager.cpp:57: State
>> > Dec 12 00:41:22 sflphoned: sipvoiplink.cpp:1914: Could not register
>> > account Account:1354718606 with error 503
>> > Dec 12 00:41:22 sflphoned: sipaccount.cpp:652: UserAgent:
>> > VoipLinkException occured: Unable to send account registration
>> > request
>> > Dec 12 00:41:22 sflphoned: networkmanager.cpp:49: Network state
>> > changed: unknown
>> > Dec 12 00:41:22 sflphoned: networkmanager.cpp:54: Properties changed:
>> > Dec 12 00:41:22 sflphoned: networkmanager.cpp:57: ActiveConnections
>> > Dec 12 00:41:22 sflphoned: networkmanager.cpp:57: State
>> > Dec 12 00:41:22 sflphoned: sipvoiplink.cpp:1914: Could not register
>> > account Account:1354718606 with error 503
>> > Dec 12 00:41:22 sflphoned: sipaccount.cpp:652: UserAgent:
>> > VoipLinkException occured: Unable to send account registration
>> > request
>> > Dec 12 00:41:22 sflphoned: networkmanager.cpp:54: Properties changed:
>> > Dec 12 00:41:22 sflphoned: networkmanager.cpp:57: ActiveConnections
>> > Dec 12 00:41:22 sflphoned: sipvoiplink.cpp:1914: Could not register
>> > account Account:1354718606 with error 503
>> > Dec 12 00:41:22 sflphoned: sipaccount.cpp:652: UserAgent:
>> > VoipLinkException occured: Unable to send account registration
>> > request
>> > Dec 12 00:41:23 sflphoned: sipvoiplink.cpp:1914: Could not register
>> > account Account:1354718606 with error 503
>> > Dec 12 00:41:23 sflphoned: sipvoiplink.cpp:1914: Could not register
>> > account Account:1354718606 with error 503
>> >
>> >
>> > _______________________________________________
>> > SFLphone mailing list
>> > [email protected]
>> > http://lists.savoirfairelinux.net/mailman/listinfo/sflphone
>> >
>>
>> --
>>
>> Tristan Matthews
>> Développeur de logiciels libres
>> [email protected]
>> Ligne directe: 514-276-5468 poste 190
>>
>> Fax : 514-276-5465
>> 7275 Saint Urbain
>> Bureau 200
>> Montréal, QC, H2R 2Y5
>>
>>
>
_______________________________________________
SFLphone mailing list
[email protected]
http://lists.savoirfairelinux.net/mailman/listinfo/sflphone

Reply via email to