Hello, That looks great ! I'll look into that, thanks a lot ! Hoggins! Le 10/02/2015 00:47, SL a ?crit : > Hi Hoggins, > to accomplish that easy task, I suggest you to modify "simple_pjsua" > code, that is more readable and easier than pjsua code. > > Please have a look to SLM-PjBERRY module: > http://www.en.lugato.it/slm_pjberry_en.html > > It turns a Raspberry in a complete audio/video SIP-VOIP station and it > comes to you with a uSD that carries Linux-Rasbpian distribution and > pjsip/pjmedia already installed with video support enabled, together > with an easy to build modified version of opensource "simple_pjsua", > named "simple_slpjsua" in a separate folder. Please consider that > installing pjsip/pjmedia with video support on Rasbpian is not an easy > task. > > Among many other I/O, it has a rugged 500mA 12V output that you can > turn on or off by simply calling a library function, as shown by > "simple_slpjsua" code sample. > > if you are going to use SLM-PjBERRY module, I will tell you how to > modify "simple_slpjsua" code to solve your problem ;) > > Best regards > Silvio > >> ------------------------------ >> >> Message: 3 >> Date: Fri, 06 Feb 2015 11:27:41 +0100 >> From: "Hoggins!" <fuckspam@xxxxxxxxxxx> >> To: pjsip list <pjsip at lists.pjsip.org> >> Subject: PJSIP and GPIO >> Message-ID: <54D4971D.9070606 at wheres5.com> >> Content-Type: text/plain; charset="utf-8" >> >> Hi folks, >> >> I'm looking for a cheap / easy solution for a Raspberry Pi running pjSIP >> to light up a LED when the registered SIP account rings. Just that. >> I'll handle the GPIO part, no worries. >> >> I was just wondering if, simply by using pjsua, I could get an event, >> anyhow, indicating that my line is ringing. >> >> Or should I code a SIP client from scratch using pjSIP libs ? >> >> Thanks for your inputs. >> >> Hoggins! > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 181 bytes Desc: OpenPGP digital signature URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20150210/b0775905/attachment.asc>