Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sipphone liblinphone einbinden #18

Closed
motom001 opened this issue Jan 10, 2015 · 31 comments
Closed

sipphone liblinphone einbinden #18

motom001 opened this issue Jan 10, 2015 · 31 comments

Comments

@motom001
Copy link
Owner

Anfrage per Mail:
Bitte auch anderes sipphone anbieten (z.B. liblinphone)

@motom001 motom001 self-assigned this Jan 10, 2015
@motom001 motom001 added this to the v2.0 RC2 milestone Jan 10, 2015
@motom001
Copy link
Owner Author

Ich habe Probleme mit liblinphone. Die 32-Bit Snapshots sind 64-Bit Snapshots und lassen sich auf dem Pi nicht starten. Das kompilieren vom liblinphone habe ich bisher nicht hinbekommen.
Eventuell kann noch jemand unterstützen?
Installationsanleitung für den Python Wrapper von liblinphone unter Linux:
https://www.linphone.org/snapshots/linphone-python/
Ich kann auch jemanden vermitteln, der sich damit schon beschäftigt, aber 4 Augen sehen immer mehr als zwei...

@hermanthegerman2
Copy link
Contributor

Können wir folgende Quelle auch nehmen?
git clone git://git.linphone.org/linphone.git --recursive

@motom001
Copy link
Owner Author

Leider nein, da dort der Python Wrapper fehlt. Der hier geht:
git clone git://git.linphone.org/linphone-cmake-builder.git

@hermanthegerman2
Copy link
Contributor

nach einem:
make build-python -- -DCMAKE_BUILD_TYPE=Release
bekomme ich folgenden Fehler:
make
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pi/linphone-cmake-builder/WORK/cmake-python/Autotools
-- Using configuration file '/home/pi/linphone-cmake-builder/configs/config-python.cmake'
-- Including builder antlr3c
-- Including builder polarssl
-- Including builder bellesip
-- Including builder ortp
-- Including builder gsm
-- Including builder opus
-- Including builder speex
-- Including builder ffmpeg
-- Including builder vpx
-- Including builder v4l
-- Including builder srtp
-- Including builder xml2
-- Including builder bzrtp
-- Including builder ms2
-- Including builder sqlite3
-- Including builder linphone
CMake Error at /usr/share/cmake-2.8/Modules/ExternalProject.cmake:644 (message):
External project "TARGET_linphone_builder" has no stamp_dir
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/ExternalProject.cmake:856 (ExternalProject_Get_Property)
/usr/share/cmake-2.8/Modules/ExternalProject.cmake:1331 (_ep_get_step_stampfile)
/usr/share/cmake-2.8/Modules/ExternalProject.cmake:1545 (_ep_add_configure_command)
configs/config-python.cmake:159 (ExternalProject_Add)
CMakeLists.txt:58 (include)

-- Configuring incomplete, errors occurred!
Makefile:80: recipe for target 'build-python' failed
make: *** [build-python] Error 1

warum ?

@pmunz
Copy link
Collaborator

pmunz commented Jan 11, 2015

linphone_builder" has no stamp_dir
Das der Grund ?

@pmunz
Copy link
Collaborator

pmunz commented Jan 11, 2015

Vor dem make Befehl ins config oder make file sehen und dir die Variable stamp_dir suchen , gegebenfalls abändern / Rechte vergeben

@hermanthegerman2
Copy link
Contributor

was heisst das konkret bzw. was muss ich beim make zusätzlich angeben?

@motom001
Copy link
Owner Author

Ich glaube pmunz ist auch noch nicht weiter.
Ich habe aufgegeben und bin froh, dass sich jetzt Profis damit beschäftigen...

@hermanthegerman2
Copy link
Contributor

komisch mit einem banalen make entgegen der Empfehlung aus der README.python.md läufts bis jetzt noch ganz gut ..... bis dann ......

@hermanthegerman2
Copy link
Contributor

abgebrochen! ich komme da auch nicht weiter !

@pmunz
Copy link
Collaborator

pmunz commented Jan 11, 2015

gut ding braucht weile ;) wenn es so einfach wäre dann könnte man eh alles an einem tag entwikeln grins was hast du für paket downgeloadet und welche dependencies hat du installiert ?
*** libtool libglib2.0-dev libgtk2.0-dev libspeex-dev libantlr3c-dev antlr3 libspeexdsp-dev libswscale-dev libXv-dev mesa-common-dev libglew-dev libortp-dev ***

@hermanthegerman2
Copy link
Contributor

dieses Repository / git clone git://git.linphone.org/linphone-cmake-builder.git
sudo apt-get install build-essential

wie weit bist Du gekommen?

@pmunz
Copy link
Collaborator

pmunz commented Jan 11, 2015

ich hab es aus einer anderen quelle, ich werd deine gleich mal testen....

@hermanthegerman2
Copy link
Contributor

Viel Erfolg!

@pmunz
Copy link
Collaborator

pmunz commented Jan 12, 2015

linphone zu kompilieren brachte leider noch keinen erfolg :-(
es wäre im moment nur die installation durch
terminal-based version of the software linphone
sudo apt-get install linphone-nogtk
möglich aber eben nur über das os system
nach der installation mit : linphonecsh -h

ich werde es jetzt mal mit anderen version versuchen um es zu kompilieren, vielleicht versionsbedingt....

@motom001 motom001 added the DE label Jan 12, 2015
@motom001
Copy link
Owner Author

Ich wollte mal nach dem Stand fragen - hat es schon jemand hinbekommen?

@hermanthegerman2
Copy link
Contributor

Hier die Antwort von Simon MORLAT simon.morlat@belledonne-communications.com
Hi Hermann,

The current python wrapper isn't supported for ARM devices, only x86.
The build procedure we've developed for the python module doesn't support cross-compilation.

This is something we are able to do, though.

Let me know if you need us to establish a quotation to add cross-compilation and ARM support to the python wrapper.

Best regards,

Simon

Ich denke wir stellen die Anforderung noch zurück oder konzentrieren uns auf andere Alternativen als pjsua und linphone.

Vorschläge? Ideen?

@pmunz
Copy link
Collaborator

pmunz commented Jan 19, 2015

Ich habe bereits eine ARM Version gebaut , habe die von IOS iphone
Abgewandelt
Vielleicht kann ich sie heute noch freigeben

Lg


Reply to this email directly or view it on GitHub.

@hermanthegerman2
Copy link
Contributor

Coole Sache! ... es geht voran ...

@pmunz
Copy link
Collaborator

pmunz commented Jan 20, 2015

hallo,
nach einer woche harter arbeit und vielen versuchen ist es jetzt so das wir das kompilieren geschafft haben. Sich linphone importieren lässt , aber leider wieder ein fehler aufgetreten ist , ich glaube selbst wenn wir das hin bringen haben wir stabilitäts verluste und problme.
Wir sollten im moment alternativen suchen. ich werde auf jeden fall weiter arbeiten und es versuchen das 32bit problem zu beheben.
die Fehlermeldung ...

pi@pws-intercom ~ $ python testcall.py
Traceback (most recent call last):
File "testcall.py", line 1, in
import linphone
File "/usr/local/lib/python2.7/dist-packages/linphone/init.py", line 1, in
from linphone import *
ImportError: /usr/local/lib/python2.7/dist-packages/linphone/linphone.so: wrong ELF class: ELFCLASS6

@motom001
Copy link
Owner Author

Okay, ich hab hermanthegerman2 gebeten das Angebot vom Hersteller anzufordern. Auf Grundlage von dem Angebot kann dann entschieden werden wie es weiter geht.

@hermanthegerman2
Copy link
Contributor

folgende Fragen stellt uns der Hersteller:

  • what is the exact rasberry model you target to use --> raspberry pi model b, b+, ? (banana pi, pro?)
  • what is the linux distribution you choosed to run on the rasberry ? --> rasbian (debian wheezy)
  • do you need video support ? if yes, which codecs ? --> ??? H.263, H.264, MPEG-4
  • do you need software echo cancellation ? --> yes !

die Antworten hinter --> sind mein Vorschlag und jederzeit änderbar bzw. ergänzbar !

@pmunz
Copy link
Collaborator

pmunz commented Jan 23, 2015

Hallo

Ich würde deinen Angaben voll zustimmen, aber je mehr
Modelle wir angeben desto mehr muss er Kompilieren, bzw coden für jedes Model eine eigene Version.
ich bin gerne bereit dafür etwas auszugeben aber ich glaube wir sollten uns auf ein Model beziehen .
Falls das ganze etwas Kostet wäre ich für Model B+

philipp

Am 23.01.2015 um 14:53 schrieb hermanthegerman2 notifications@github.com:

folgende Fragen stellt uns der Hersteller:

what is the exact rasberry model you target to use --> raspberry pi model b, b+, ? (banana pi, pro?)
what is the linux distribution you choosed to run on the rasberry ? --> rasbian (debian wheezy)
do you need video support ? if yes, which codecs ? --> ??? H.263, H.264, MPEG-4
do you need software echo cancellation ? --> yes !
die Antworten hinter --> sind mein Vorschlag und jederzeit änderbar bzw. ergänzbar !


Reply to this email directly or view it on GitHub.

@motom001
Copy link
Owner Author

Die Frage für mich ist, was will der Hersteller mit diesen Fragen erreichen?

Wir benötigen den Python Wrapper für ARM 32-Bit - spielt die Hardware da eine so wichtige Rolle? Ist ARM 32- Bit nicht ARM 32-Bit?
Was für ein Unterschied macht die Distrubition?
Für das Angebot interessiert mich eine grobe Hausnummer der Gesamtsumme. Welcher Codec enthalten sein soll? Das richtet sich nach dem Preis...

Wenn das Gesamt-Angebot irgendwo bei 25 MT liegt, dann kann das eh keine Bezahlen.

Es geht dabei auch nicht um ein Angebot, dass auf den Cent genau sein muss, von mir aus soll er reinschreiben "Abrechnung nach tatsächlichem Aufwand", dann ist er auf der sicheren Seite.

Vielleicht ist Angebot auch die falsche Formulieren - vielleicht wäre Abschätzung besser...

@motom001
Copy link
Owner Author

um auch was produktives rein zu schreiben:

  1. B+
  2. Rasbian
  3. H.264/MPEG4/MJPEG
  4. ja, das ist meiner Meinung nach einer der Hauptaufgaben von einem sipphone

@pmunz
Copy link
Collaborator

pmunz commented Jan 23, 2015

Hallo Thomas.
ARM32 Bit ist schon Richtig nur die geräte haben verschidene Prozessoren .
zumindest dev. bei bananna und raspberry

@pmunz
Copy link
Collaborator

pmunz commented Jan 23, 2015

Bananapi
ARM-Cortex-A7-CPU mit zwei Kernen / ARM-Cortex-A7-CPU mit vier Kernen
Raspberry
ARM1176JZF-S (700 MHz, ARMv6-Architektur, ARM11-Familie)
wobei beim raspberry der Boot vorgang in der Grafik GPU gemacht wird.

@hermanthegerman2
Copy link
Contributor

OK, ich beantworte die Fragen mit:

  1. B+
  2. Rasbian
  3. H.264/MPEG4/MJPEG
  4. ja

@motom001 motom001 modified the milestones: v2.0 RC2, v3.0 Feb 2, 2015
@motom001
Copy link
Owner Author

Da zieht es mir die Schuhe aus:
http://www.linphone.org/news/32/26/Linphone-Python-for-Raspberry-Pi-3-8.html

Ich weiß was ich morgen abend mache...
Danke @ linphone team!!! :-D

@motom001
Copy link
Owner Author

motom001 commented May 9, 2015

commit b8403a9

@motom001
Copy link
Owner Author

motom001 commented May 9, 2015

läuft bei mir als Teststellung - jetzt kommt es auf den Test bei Euch an

@motom001 motom001 closed this as completed May 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants