SIP on Sailfish/Aurora with s1p

I’ld rather use tcpdump -ni wlan0 -s0 -w file.pcap because that will capture the whole packets.

2 Likes

All the SIP traffic seems correct.
I could imagine there may be issues with audio or something, and they’re terminating the call because of that. But I’ve never seen a call terminated so quickly because of audio issues so there may be another layer to that.
I will investigate later, because I’m out of credit and their card processing seems to be painfully slow.

Thanks! For your information, I have also contacted Localphone’s support and asked them about troubleshooting.

I might have found the issue. Their SBC might not like certain ACK packages. There might be a remedy for that, we should see.

3 Likes

The early hangup came from the side of the SBC and might be fixed in the 0.9.10 build but there seems to still be no audio. Could you test this please?

3 Likes

Fantastic! I just updated s1p to 0.9.10 (through Storeman, which I had used for the installation). Now I can make outgoing calls without any problem! Thank you very much, unmaintained!

6 Likes

What I totally forgot to mention is that one could also simply start s1p from the command line providing a ton of debug output:
s1p --qml harbour-s1p

2 Likes

Yes, SFOS no longer allows 3rd party apps to access the contacts database, copying it over to a different directory may help:

I wonder if this has ever been resolved?

Is this still the case?


s1p might be getting more use when the 3G shutdown happens for me in a few weeks time, and it might be nice to improve some things like address book, history persistence. (or I will have to drop SF once there is no device that can make phone calls anymore)

Cfr. qml/harbour-whisperfish-main.qml · main · Whisperfish / Whisperfish - Signal on Sailfish OS · GitLab Contacts.PeopleModel and look for resolvePeopleModel. At this point, I’m not sure whether import org.nemomobile.contacts 1.0 as Contacts is supported or not.

2 Likes

I think one of the issues here is that you need specific SailJail permissions for this to work, and so far it has not been possible to make s1p run within the SailJail chroot environment.

1 Like

Edited because I realised I was misunderstanding…

Is there some way to save numbers into s1p?

It would be nice to be able to make s1p calls from “People”
It would be nice to make calls default to using s1p, since I have no volte or 3G and can’t make cellular calls at all now from x10III.


So I deleted the contact.db* files from
~/.local/share/harbour-s1p/

and recopied:
devel-su cp -r ~/.local/share/system/privileged/Contacts/qtcontacts-sqlite/contacts.db ~/.local/share/harbour-s1p/

This gives me some old contacts database, and not the current one.

(X10III SF5.1.10)
Edited because I realised I was misunderstanding…

History page is always empty when I start.
It only ever contains the calls made during this session

I make 1 phone call

cat call_history.json
[
  [
    1780732623.0,
    1.0,
    true,
    3.0,
    "0282555555",     <<<<my number/id
    "076262907",         <<<<last call I made
    "",
    ""
  ]
]

I restart s1p and don’t make a call.
call_history.json is the same.

So I delete call_history.json
Then I start s1p. I don’t make a call.
When I close s1p it recreates call_history.json
It is empty.

Now I restart s1p and call two numbers.
I close s1p

[
  [
    1780732386.0,
    1.0,
    true,
    3.0,
    "0282555555",
    "024623407", 
    "",
    ""
  ],
  [
    1780732363.0,
    1.0,
    true,
    3.0,
    "0282555555",
    "093727247",
    "",
    ""
  ]

Note the unmatched “[” i.e. missing “]” at the end

call_history only ever contains calls made during the last session (if any calls were made)
Why is it not displaying anything in the history page after it is started?