Unable to hear voice in local speaker using Pjsua app on iPhone iOS4

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

 



Thanks a lot Benny, I switched from 3G to a Wi-Fi router using the stun
server and now its working really nice.
So, in order to the final user to use 3G (Im in a foreign country) which
uses Symmetric NAT, the other party should be connected to network that uses
Symmetric NAT also? There is no workaround for this? I would like to let the
user to use 3G.

Best regards,

Pablo N.

Date: Sat, 2 Oct 2010 10:31:33 +0700
> From: Benny Prijono <bennylp@xxxxxxxxx>
> To: pjsip list <pjsip at lists.pjsip.org>
> Subject: Re: Unable to hear voice in local speaker using Pjsua
>        app on iPhone iOS4
> Message-ID:
>        <AANLkTi=VtJBG0UbZ6Bb-yk4yUSuW2AZZ1LfJNiELwwo1 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On Fri, Oct 1, 2010 at 1:03 AM, Pablo Nunez <nunezlopez at gmail.com> wrote:
> > Benny Prijono <bennylp <at> teluu.com> writes:
> >
> >>
> >> Hi,
> >>
> >> Thanks for the detailed report. I'm guessing that you have problem
> >> with NAT, hence STUN should be enabled. The instruction to enable NAT
> >> in [1] was outdated (sorry for that, but I just fixed it), the option
> >> should be "--stun-srv" instead of "--use-stun1". For example, add this
> >> in your cmdline:
> >>
> >> ? --stun-srv stun.pjsip.org
> >>
> > Anyway I manage to set up the STUN server by adding this line of code on
> the
> > XCode in the app_init method:
> > app_config.media_cfg.no_vad = PJ_TRUE;
> > app_config.cfg.stun_host = pj_str ("stun.pjsip.org");
> >
> > Now, when I run the app it detects the STUN server and if I put 'n' in
> command
> > line it says "NAT detected as Symmetric"
> >
> > The bad news for me are that Im still unable to hear any sound on my
> local
> > iPhone speaker.
> >
>
> You're behind symmetric NAT, and that's quite difficult to work with,
> as it depends on whether the other party is also behind another
> symmetric or port restricted NAT. If this is the case, then there's no
> other solution except to use relaying service.
>
>  -Benny
>
>
>
> ------------------------------
>
> _______________________________________________
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
>
> End of pjsip Digest, Vol 38, Issue 6
> ************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20101004/6b410899/attachment.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