[prev in list] [next in list] [prev in thread] [next in thread] 

List:       asterisk-dev
Subject:    Re: [asterisk-dev] Asterisk + WebRTC: No audio on any direction
From:       Alfonso Sandoval <asandovalros () gmail ! com>
Date:       2015-09-07 21:48:05
Message-ID: CAMhkM_kiOiJRx9m9g5YWgJ3kmC_vpw7pAsO_Z=X4wiakvXr-cA () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Thank you for the response. This is the first time that I require help on
these topics and I thought this list was the correct one. I've already sent
my subscription request to the asterisk-user mailing list, with the hope
that I find the answer to my problem soon.


Regards

On Mon, Sep 7, 2015 at 1:15 PM, Matthew Jordan <mjordan@digium.com> wrote:

> On Fri, Sep 4, 2015 at 7:51 PM,  <asandovalros@gmail.com> wrote:
> > Hello everyone. I'd appreciate a lot your help with this issue. I'm
> running
> > a very basic script of JS for subscribing my jsSIP User Agent to my local
> > Asterisk server and making a voice call. I don't get any warnings or
> errors
> > from the Asterisk CLI, but when I make a call to a legacy SIP phone or
> SIP
> > trunk well configured, there is no audio on any side although there is
> > ringing, calls can be answered and they never drop.
> >
> > The IP address of the SIP messages is correct both in the header of the
> > message and in the RTP description, and it succeeds with sending ICE
> > candidates. My Asterisk 12 was compiled with SRTP and pjproject. I don't
> get
> > any error or warning messages on Asterisk, and I suppose that the SIP
> > messages are ok.
> >
> > I read at the Asterisk WebRTC Wiki
> > (https://wiki.asterisk.org/wiki/display/AST/Asterisk+WebRTC+Support)
> this:
> > "Starting with Asterisk 12 you need to have pjproject libraries
> installed,
> > otherwise you most likely won't have audio in your WebRTC calls and no
> > warning whatsoever!"
> > I properly installed it and selected it for the Asterisk compilation,
> but I
> > wonder wether I did it wrong, and how can I check it ...
> >
> > These are my files:
> >
> > http.conf
> > [general]
> > enabled=yes;
> > bindaddr=0.0.0.0;
> > bindport=8088;
> > prefix=asterisk;
> > tlsenable=yes;
> > tlsbindaddr=0.0.0.0:8089;
> > tlscertfile=/etc/asterisk/keys/asterisk.pem;
> > tlsprivatekey=/etc/asterisk/keys/asterisk.pem;
> >
> > rtp.conf
> > [general]
> > rtpstart=10000;
> > rtpend=20000;
> > icesupport=true;
> > stunaddr=stun.l.google.com:19302;
> >
> > sip.conf
> > [general]
> > context=toSipTrunk
> > allow=ulaw
> > allow=alaw
> > allow=gsm
> >
> > [1000] ;legacy softphone (zoiper)
> > secret=******
> > type=friend
> > host=dynamic
> > dtmfmode=rfc2833
> > disallow=all
> > allow=ulaw
> > allow=alaw
> > context=myContext
> >
> > [1001] ;jsSIP User Agent
> > type=friend
> > username=1001
> > host=dynamic
> > secret=******
> > encryption=yes
> > avpf=yes
> > icesupport=yes
> > directmedia=no
> > transport=udp,ws
> > force_avp=yes
> > dtlsenable=yes
> > dtlsverify=no
> > disallow=all
> > allow=ilbc
> > allow=g729
> > allow=gsm
> > allow=g723
> > allow=ulaw
> > dtlscertfile=/etc/asterisk/keys/asterisk.pem
> > dtlsprivatekey=/etc/asterisk/keys/asterisk.pem
> > dtlssetup=actpass
> > context=myContext
> >
> > ... Thanks in advance
>
> The asterisk-dev mailing list is for discussions regarding the actual
> source code of Asterisk. Please use the asterisk-users mailing list
> [1] for deployment, setup, troubleshooting, and other related
> questions.
>
> [1] http://lists.digium.com/mailman/listinfo/asterisk-users
>
> --
> Matthew Jordan
> Digium, Inc. | Director of Technology
> 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
> Check us out at: http://digium.com & http://asterisk.org
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev
>

[Attachment #5 (text/html)]

<div dir="ltr"><div>Thank you for the response. This is the first time that I require \
help on these topics and I thought this list was the correct one. I&#39;ve already \
sent my subscription request to the asterisk-user mailing list, with the hope that I \
find the answer to my problem soon. <br><br><br></div>Regards<br></div><div \
class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 7, 2015 at 1:15 PM, \
Matthew Jordan <span dir="ltr">&lt;<a href="mailto:mjordan@digium.com" \
target="_blank">mjordan@digium.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Fri, Sep 4, 2015 at \
7:51 PM,   &lt;<a href="mailto:asandovalros@gmail.com">asandovalros@gmail.com</a>&gt; \
wrote:<br> &gt; Hello everyone. I&#39;d appreciate a lot your help with this issue. \
I&#39;m running<br> &gt; a very basic script of JS for subscribing my jsSIP User \
Agent to my local<br> &gt; Asterisk server and making a voice call. I don&#39;t get \
any warnings or errors<br> &gt; from the Asterisk CLI, but when I make a call to a \
legacy SIP phone or SIP<br> &gt; trunk well configured, there is no audio on any side \
although there is<br> &gt; ringing, calls can be answered and they never drop.<br>
&gt;<br>
&gt; The IP address of the SIP messages is correct both in the header of the<br>
&gt; message and in the RTP description, and it succeeds with sending ICE<br>
&gt; candidates. My Asterisk 12 was compiled with SRTP and pjproject. I don&#39;t \
get<br> &gt; any error or warning messages on Asterisk, and I suppose that the \
SIP<br> &gt; messages are ok.<br>
&gt;<br>
&gt; I read at the Asterisk WebRTC Wiki<br>
&gt; (<a href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+WebRTC+Support" \
rel="noreferrer" target="_blank">https://wiki.asterisk.org/wiki/display/AST/Asterisk+WebRTC+Support</a>) \
this:<br> &gt; &quot;Starting with Asterisk 12 you need to have pjproject libraries \
installed,<br> &gt; otherwise you most likely won&#39;t have audio in your WebRTC \
calls and no<br> &gt; warning whatsoever!&quot;<br>
&gt; I properly installed it and selected it for the Asterisk compilation, but I<br>
&gt; wonder wether I did it wrong, and how can I check it ...<br>
&gt;<br>
&gt; These are my files:<br>
&gt;<br>
&gt; http.conf<br>
&gt; [general]<br>
&gt; enabled=yes;<br>
&gt; bindaddr=0.0.0.0;<br>
&gt; bindport=8088;<br>
&gt; prefix=asterisk;<br>
&gt; tlsenable=yes;<br>
&gt; tlsbindaddr=<a href="http://0.0.0.0:8089" rel="noreferrer" \
target="_blank">0.0.0.0:8089</a>;<br> &gt; \
tlscertfile=/etc/asterisk/keys/asterisk.pem;<br> &gt; \
tlsprivatekey=/etc/asterisk/keys/asterisk.pem;<br> &gt;<br>
&gt; rtp.conf<br>
&gt; [general]<br>
&gt; rtpstart=10000;<br>
&gt; rtpend=20000;<br>
&gt; icesupport=true;<br>
&gt; stunaddr=<a href="http://stun.l.google.com:19302" rel="noreferrer" \
target="_blank">stun.l.google.com:19302</a>;<br> &gt;<br>
&gt; sip.conf<br>
&gt; [general]<br>
&gt; context=toSipTrunk<br>
&gt; allow=ulaw<br>
&gt; allow=alaw<br>
&gt; allow=gsm<br>
&gt;<br>
&gt; [1000] ;legacy softphone (zoiper)<br>
&gt; secret=******<br>
&gt; type=friend<br>
&gt; host=dynamic<br>
&gt; dtmfmode=rfc2833<br>
&gt; disallow=all<br>
&gt; allow=ulaw<br>
&gt; allow=alaw<br>
&gt; context=myContext<br>
&gt;<br>
&gt; [1001] ;jsSIP User Agent<br>
&gt; type=friend<br>
&gt; username=1001<br>
&gt; host=dynamic<br>
&gt; secret=******<br>
&gt; encryption=yes<br>
&gt; avpf=yes<br>
&gt; icesupport=yes<br>
&gt; directmedia=no<br>
&gt; transport=udp,ws<br>
&gt; force_avp=yes<br>
&gt; dtlsenable=yes<br>
&gt; dtlsverify=no<br>
&gt; disallow=all<br>
&gt; allow=ilbc<br>
&gt; allow=g729<br>
&gt; allow=gsm<br>
&gt; allow=g723<br>
&gt; allow=ulaw<br>
&gt; dtlscertfile=/etc/asterisk/keys/asterisk.pem<br>
&gt; dtlsprivatekey=/etc/asterisk/keys/asterisk.pem<br>
&gt; dtlssetup=actpass<br>
&gt; context=myContext<br>
&gt;<br>
&gt; ... Thanks in advance<br>
<br>
</div></div>The asterisk-dev mailing list is for discussions regarding the actual<br>
source code of Asterisk. Please use the asterisk-users mailing list<br>
[1] for deployment, setup, troubleshooting, and other related<br>
questions.<br>
<br>
[1] <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" \
rel="noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
 <span class="HOEnZb"><font color="#888888"><br>
--<br>
Matthew Jordan<br>
Digium, Inc. | Director of Technology<br>
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA<br>
Check us out at: <a href="http://digium.com" rel="noreferrer" \
target="_blank">http://digium.com</a> &amp; <a href="http://asterisk.org" \
rel="noreferrer" target="_blank">http://asterisk.org</a><br> <br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" \
rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br> <br>
asterisk-dev mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
     <a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" rel="noreferrer" \
target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br> \
</font></span></blockquote></div><br></div>



-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic