Can't find audio device on Raspberry Pi

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 11 Jan 2014 16:28:56 -0000, "Swinney C." wrote:
>
> 	./pjsua-armv6l-unknown-linux-gnu --capture-dev=02
>                     --playback-dev=00 --auto-answer=200
> 
> I now need to look at the Python code in order that I can create an
> application that starts automatically on boot with the correct account
> info and uses the devices as outlined above - but I have finally made a
> start!


If starting pjsua as given above is all you need then you probably don't
need python.  According to how linux runlevels work on your platform,
update some boot-time user-configurable shell script (like "rc.local" or
something), e.g. in /etc/init.d/ or somewhere else, then put

/usr/local/bin/pjsua-armv6l-unknown-linux-gnu --config-file=/etc/rc.pjsua

into it, finally put

--capture-dev=02 --playback-dev=00 --auto-answer=200
--registrar=sip:example.org --realm=example.org
--id=sip:user at example.org --contact=sip:user at example.org
--username=loginname --password=secret


into /etc/rc.pjsua, make it 'chmod 400', owned by root, and that should
be it, not?

(Assuming you have SIP-address "sip:user at example.org" and an account
with credentials "loginname" and "secret" on that server.)

    Eeri Kask




[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux