Does pjsip-0.9.0 supports OSS? (Nanang Izzuddin

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

 



On Mon, Jul 7, 2008 at 5:47 PM, ? ? <ftianf at hotmail.com> wrote:

>  Hi, Nanang:
> Thanks for your prompt reply. I'm sure that my platform support capture.
>

How can you be sure?  The simplest test of course is to "cat /dev/dsp >
file" and see if the capture is successful.

Yes pjsip supports OSS.

Cheers
 Benny



I've two problems now when trying to connect an Ubuntu PC to a arm-linux
> embedded device (OSS).
> 1. Ubuntu, the sndtest can't be finished, here is the log:
>
> tian at tian:~/TrainingPrj/PJSIP/pjproject-0.9.0_x86/pjsip-apps/bin/samples$
> ./sndtest-i686-pc-linux-gnu
>  00:35:03.088 os_core_unix.c pjlib 0.9.0-release for POSIX initialized
>  00:35:03.189      pasound.c PortAudio sound library initialized, status=0
>  00:35:03.189      pasound.c PortAudio host api count=1
>  00:35:03.189      pasound.c Sound device count=1
>  00:35:03.189          pjlib select() I/O Queue created (0x80812d4)
>  00:35:03.189      sndtest.c Found 1 devices:
>  00:35:03.189      sndtest.c  0: /dev/dsp (capture=16, playback=16)
>  00:35:03.243      sndtest.c Testing playback device /dev/dsp
>  00:35:03.243      sndtest.c Testing capture device /dev/dsp
> Then it just blocked until you terminate it.
>
> 2. arm-linux: it seems that I can't open the capture device, here is the
> log when I was running the sndtest
> [root at FriendlyARM plg]# ./sndtest
>  00:14:59.717 os_core_unix.c pjlib 0.9.0-release for POSIX initialized
>  00:14:59.735      pasound.c PortAudio sound library initialized, status=0
>  00:14:59.736      pasound.c PortAudio host api count=1
>  00:14:59.738      pasound.c Sound device count=1
>  00:14:59.740          pjlib select() I/O Queue created (0x482d4)
>  00:14:59.743      sndtest.c Found 1 devices:
>  00:14:59.744      sndtest.c  0: /dev/dsp (capture=2, playback=2)
> Unable to open device for capture: Device unavailable (err=269984)
>
> Thanks.
>
>
>
> > From: pjsip-request@xxxxxxxxxxxxxxx
> > Subject: pjsip Digest, Vol 11, Issue 13
> > To: pjsip at lists.pjsip.org
> > Date: Mon, 7 Jul 2008 05:49:21 -0400
> >
> > Send pjsip mailing list submissions to
> > pjsip at lists.pjsip.org
> >
> > To subscribe or unsubscribe via the World Wide Web, visit
> > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
> > or, via email, send a message with subject or body 'help' to
> > pjsip-request at lists.pjsip.org
> >
> > You can reach the person managing the list at
> > pjsip-owner at lists.pjsip.org
> >
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of pjsip digest..."
> >
> >
> > Today's Topics:
> >
> > 1. Re: pjsip and iphone 2.0 (Ravi Mulam)
> > 2. Re: Symbian_ua and Symbian_ua_gui sound device problem...
> > (Nanang Izzuddin)
> > 3. Re: Symbian_ua and Symbian_ua_gui sound device problem... (atik)
> > 4. Re: Symbian_ua and Symbian_ua_gui sound device problem...
> > (Fabio Pietrosanti (naif))
> > 5. Does pjsip-0.9.0 supports OSS? (? ?)
> > 6. Re: Does pjsip-0.9.0 supports OSS? (Nanang Izzuddin)
> > 7. Re: stateful_proxy-i686-pc-linux-gnu: segmentation fault
> > (Benny Prijono)
> > 8. Re: PJSIP and Allow header semantics (Benny Prijono)
> >
> >
> > ----------------------------------------------------------------------
> >
> > Message: 1
> > Date: Sun, 6 Jul 2008 09:35:16 -0700
> > From: "Ravi Mulam" <rmulam@xxxxxxxxx>
> > Subject: Re: pjsip and iphone 2.0
> > To: "pjsip list" <pjsip at lists.pjsip.org>
> > Message-ID:
> > <97eb622f0807060935h56fbacb2i4dc9136361ef95d1 at mail.gmail.com>
> > Content-Type: text/plain; charset="iso-8859-1"
> >
> > Hi Samuel,
> > Saw this post just now. We lost contact after our initial discussion. My
> > offer before stands true even now. Let me know if you are interested.
> > Basically i want pjsip on iPhone 2.0 Official SDK and looks like you have
> > it.
> >
> > ravi
> >
> >
> > On Mon, Jun 16, 2008 at 12:11 AM, Samuel Vinson <samuelv at laposte.net>
> wrote:
> >
> > > Hi all,
> > >
> > > I finished to port pjsip on iphone 2.0.
> > > It works fine on simulator.
> > > I have not been able to test on a truly device, because I don't have
> the
> > > last firmware. I hope there won't have problem with the devices.
> > >
> > > Samuel
> > >
> > > _______________________________________________
> > > 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 --------------
> > An HTML attachment was scrubbed...
> > URL:
> http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080706/a55c7bf0/attachment-0001.html
> >
> > ------------------------------
> >
> > Message: 2
> > Date: Mon, 7 Jul 2008 09:37:07 +0700
> > From: "Nanang Izzuddin" <nanang@xxxxxxxxx>
> > Subject: Re: Symbian_ua and Symbian_ua_gui sound device
> > problem...
> > To: "pjsip list" <pjsip at lists.pjsip.org>
> > Message-ID:
> > <c7f43120807061937j52de0a96o73a838792e5b5882 at mail.gmail.com>
> > Content-Type: text/plain; charset="iso-8859-1"
> >
> > Hi Samiul Aftad,
> >
> > It is possible with Audio Proxy Server or VoIP Audio Service (see
> > http://wiki.forum.nokia.com/index.php/SDK_API_Plugin). Fortunately there
> is
> > a plan to integrate APS (deprecated but still works on all current S60
> 3rd
> > ed devices) into PJSIP in about a week or two.
> >
> > Regards,
> > nanang
> >
> >
> > 2008/7/6 Samiul Aftad Chowdhury <symbian.voip at gmail.com>:
> >
> > > Hi,
> > >
> > > I am trying to use "symbian_ua" and also "symbian_ua_gui" in Nokia E65
> also
> > > N95 .
> > > I am using pjsip-0.9.0.
> > > Compiled using Carbide c++ 1.3
> > > SDK S60_3rd_MR
> > > Compiler GCCE
> > > Build option tried with both udeb and urel
> > >
> > > Only problem I am facing is regarding the sound play device,
> > > every thing else is working as expected both in emulator and also in
> the
> > > phone.
> > > When ever the call is connected it goes in hands free / speaker phone
> > > mode.
> > > How can I route the sound play device to earphone mode instead of
> speaker
> > > phone mode?
> > > I hope i made myself clear (if not please let me know)...
> > > please suggest how can I resolve this issue.,,,
> > >
> > >
> > > Regards,
> > > Samiul Aftad
> > >
> > >
> > > _______________________________________________
> > > 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 --------------
> > An HTML attachment was scrubbed...
> > URL:
> http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080707/c9dfd375/attachment-0001.html
> >
> > ------------------------------
> >
> > Message: 3
> > Date: Mon, 7 Jul 2008 11:45:16 +0800
> > From: atik <atik.khan@xxxxxxxxx>
> > Subject: Re: Symbian_ua and Symbian_ua_gui sound device
> > problem...
> > To: "pjsip list" <pjsip at lists.pjsip.org>
> > Message-ID:
> > <6d7372340807062045y5eff4b4dq95b1532841366f09 at mail.gmail.com>
> > Content-Type: text/plain; charset=ISO-8859-1
> >
> > Hi, Nanang
> >
> > Is it possible audio playing on earphone with Windows Mobile 5/6 SDK?
> >
> >
> > atik
> >
> > On Mon, Jul 7, 2008 at 10:37 AM, Nanang Izzuddin <nanang at pjsip.org>
> wrote:
> > > Hi Samiul Aftad,
> > >
> > > It is possible with Audio Proxy Server or VoIP Audio Service (see
> > > http://wiki.forum.nokia.com/index.php/SDK_API_Plugin). Fortunately
> there is
> > > a plan to integrate APS (deprecated but still works on all current S60
> 3rd
> > > ed devices) into PJSIP in about a week or two.
> > >
> > > Regards,
> > > nanang
> >
> >
> >
> > ------------------------------
> >
> > Message: 4
> > Date: Mon, 07 Jul 2008 10:17:35 +0200
> > From: "Fabio Pietrosanti (naif)" <lists@xxxxxxxxxxxxxxx>
> > Subject: Re: Symbian_ua and Symbian_ua_gui sound device
> > problem...
> > To: pjsip list <pjsip at lists.pjsip.org>
> > Message-ID: <4871D11F.3020009 at infosecurity.ch>
> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> >
> > atik wrote:
> > > Hi, Nanang
> > >
> > > Is it possible audio playing on earphone with Windows Mobile 5/6 SDK?
> > >
> >
> > As far as i know it's required a bit of reversing and tweaking dependent
> > on the platform where you run the software.
> >
> >
> >
> > ------------------------------
> >
> > Message: 5
> > Date: Mon, 7 Jul 2008 16:28:35 +0800
> > From: ? ? <ftianf@xxxxxxxxxxx>
> > Subject: Does pjsip-0.9.0 supports OSS?
> > To: <pjsip at lists.pjsip.org>
> > Message-ID: <BAY110-W28D92F4F835A154FCB8447DD940 at phx.gbl>
> > Content-Type: text/plain; charset="gb2312"
> >
> >
> > Hi, All
> > I downloaded PJSIP 0.9.0 and cross compiled it for arm-linux environment.
>
> > My platform doesn't support ALSA. The OSS driver is available.
> > I can run pjsip, but when I tried to make a call, it can not open the
> audio capture device.
> > Thanks.
> >
> >
> >
> > _________________________________________________________________
> > News, entertainment and everything you care about at Live.com. Get it
> now!
> > http://www.live.com/getstarted.aspx
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> > URL:
> http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080707/deecb8ce/attachment-0001.html
> >
> > ------------------------------
> >
> > Message: 6
> > Date: Mon, 7 Jul 2008 16:00:52 +0700
> > From: "Nanang Izzuddin" <nanang@xxxxxxxxx>
> > Subject: Re: Does pjsip-0.9.0 supports OSS?
> > To: "pjsip list" <pjsip at lists.pjsip.org>
> > Message-ID:
> > <c7f43120807070200t1742be4dg6a122bb26c8ae41a at mail.gmail.com>
> > Content-Type: text/plain; charset="gb2312"
> >
> > Hi,
> >
> > Yes, OSS is supported indeed. Please make sure that the capture device is
> > working (using any other apps/tools available in the platform). And
> please
> > check which clock rates are supported by the sound device.
> >
> > If the problem persists, please send along some more info here, e.g: log
> > file, so somebody may see a clue.
> >
> > Regards,
> > nanang
> >
> >
> > 2008/7/7 ? ? <ftianf at hotmail.com>:
> >
> > > Hi, All
> > > I downloaded PJSIP 0.9.0 and cross compiled it for arm-linux
> environment.
> > > My platform doesn't support ALSA. The OSS driver is available.
> > > I can run pjsip, but when I tried to make a call, it can not open the
> audio
> > > capture device.
> > > Thanks.
> > >
> > >
> > >
> > > ------------------------------
> > > Get news, entertainment and everything you care about at Live.com.
> Check
> > > it out! <http://www.live.com/getstarted.aspx>
> > >
> > > _______________________________________________
> > > 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 --------------
> > An HTML attachment was scrubbed...
> > URL:
> http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080707/d9334fe8/attachment-0001.html
> >
> > ------------------------------
> >
> > Message: 7
> > Date: Mon, 7 Jul 2008 10:36:00 +0100
> > From: "Benny Prijono" <bennylp@xxxxxxxxx>
> > Subject: Re: stateful_proxy-i686-pc-linux-gnu: segmentation
> > fault
> > To: "pjsip list" <pjsip at lists.pjsip.org>
> > Message-ID:
> > <1879720d0807070236taa50215ye9b699e074ce35b2 at mail.gmail.com>
> > Content-Type: text/plain; charset="iso-8859-1"
> >
> > On Fri, Jul 4, 2008 at 2:19 PM, Filippo Zangheri <
> filippo.zangheri at yahoo.it>
> > wrote:
> >
> > > >> 22:42:19.958 sip_endpoint.c Module "mod-msg-logger" registered
> > > >> Segmentation fault
> > > >
> > > > The same apply to stateless_proxy-i686-pc-linux-gnu. In effect, all
> > > > applications relying on proxy.h:proxy_init() suffer from the same
> > > problem.
> > > ^^^^^^^^^^^^
> > > Typo, I meant init_proxy().
> > >
> > >
> > >
> > Sorry for the late reply. I was upgrading my Linux box last week and
> along
> > the way managed to corrupt my Grub installation. It was not easy to solve
> > when your computer doesn't have CD or floppy drive and can't boot from
> USB
> > or the internal CF reader. :D
> >
> > I tried the proxy samples and it seems to be working okay on Ubuntu
> > 8.04/linux 2.6.24-19, so there must be some particular setup in your box
> > that pjlib doesn't like.
> >
> > I'm attaching a simple application to enumerate network interfaces, could
> > you try that out? If it's still segfaulting, could you probably build
> pjsip
> > with debug info (./aconfigure CFLAGS='--g') and debug the application and
> > find out exactly where it segfaults?
> >
> > Cheers
> > Benny
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> > URL:
> http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080707/03f50a09/attachment-0001.html
> > -------------- next part --------------
> > A non-text attachment was scrubbed...
> > Name: enumif.c
> > Type: text/x-csrc
> > Size: 548 bytes
> > Desc: not available
> > Url :
> http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080707/03f50a09/attachment-0001.bin
> > -------------- next part --------------
> > A non-text attachment was scrubbed...
> > Name: Makefile
> > Type: application/octet-stream
> > Size: 334 bytes
> > Desc: not available
> > Url :
> http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080707/03f50a09/attachment-0001.obj
> >
> > ------------------------------
> >
> > Message: 8
> > Date: Mon, 7 Jul 2008 10:49:18 +0100
> > From: "Benny Prijono" <bennylp@xxxxxxxxx>
> > Subject: Re: PJSIP and Allow header semantics
> > To: "pjsip list" <pjsip at lists.pjsip.org>
> > Message-ID:
> > <1879720d0807070249l6f76eads8d6e0258ca59f5c0 at mail.gmail.com>
> > Content-Type: text/plain; charset="iso-8859-1"
> >
> > On Fri, Jul 4, 2008 at 5:35 PM, Ruud Klaver <ruud at ag-projects.com>
> wrote:
> >
> > > Hi all,
> > >
> > > I've noticed that certain modules will register methods with the pjsip
> > > endpoint that subsequently end up in the Allow header which can be
> > > queried from it, for example to be used in response to a OPTIONS
> > > request. The evsub module will register SUBSCRIBE and NOTIFY, while
> > > the publishc module will register PUBLISH.
> > >
> > > I was just wondering if this is in fact correct behaviour. I'm not at
> > > all certain about the semantics of the Allow header, but it tend to
> >
> > think that this header includes any methods that the endpoint will
> > > successfully process if sent to it. Now the evsub module in this case
> > > allows for UAS sessions to be created, but I think the publishc module
> > > is only a client and does not allow for processing of incoming PUBLISH
> > > requests.
> > >
> >
> > I think in general the semantic of Allow header is at best unclear.
> Section
> > 20.5 only says "The Allow header field lists the set of methods supported
> by
> > the UA generating the message". Having said that I tend to agree with
> your
> > interpretation (in other words probably it's not appropriate to put
> PUBLISH
> > in Allow header).
> >
> >
> >
> > >
> > > Can anyone on this list confirm or deny that the Allow header works in
> > > this way and expand on what the correct behaviour is in this case.
> > > Just to be clear I want to implement a UA that does not handle
> > > SUBSCRIBE requests, but can send SUBSCRIBE requests to an agent.
> > >
> >
> > Reading RFC 3261 again, I found that there is a different semantic for
> Allow
> > header when it's sent with INVITE or responses to INVITE. In this case,
> the
> > Allow header specifies the methods that can be sent *within* the dialog.
> >
> > I would assume that this applies to dialog created by SUBSCRIBE too,
> > although RFC 3265 is silent about this.
> >
> > Not sure how this would answer your query (probably it's best to ask this
> to
> > sip-implementors list), but I'll be removing PUBLISH from my Allow
> header.
> > :)
> >
> > Cheers
> > Benny
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> > URL:
> http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080707/fd86c6a7/attachment.html
> >
> > ------------------------------
> >
> > _______________________________________________
> > pjsip mailing list
> > pjsip at lists.pjsip.org
> > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
> >
> >
> > End of pjsip Digest, Vol 11, Issue 13
> > *************************************
>
> ------------------------------
> Invite your mail contacts to join your friends list with Windows Live
> Spaces. It's easy! Try it!<http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us>
>
> _______________________________________________
> 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 --------------
An HTML attachment was scrubbed...
URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080708/b986fe65/attachment-0001.html 


[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