<div dir="ltr">Is the quality the same incoming from mobile as outgoing to mobile?</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jul 30, 2014 at 4:51 AM, A J Stiles <span dir="ltr"><<a href="mailto:asterisk_list@earthshod.co.uk" target="_blank">asterisk_list@earthshod.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm having a problem with a new SIP trunk.<br>
<br>
Calls within the UK to fixed lines are fine, but calls to mobiles have<br>
noticeably poorer audio quality.<br>
<br>
I thought it might have been a codec issue; we have used G.726 for internal<br>
and external calls  (over primary ISDN and GSM).  So I tried allowing "alaw",<br>
(G.711 A-law)  which is the native codec used within the PSTN in this country,<br>
but this made no improvement.<br>
<br>
We had<br>
  disallow=all<br>
  allow=g726<br>
<br>
in the [general] section of sip.conf.  In the section for one of the phones, I<br>
added<br>
  allow=alaw<br>
and then inserted<br>
  Set(SIP_CODEC=alaw)<br>
in the relevant part of extensions.conf.  For good measure, I also added<br>
  NoOp(Codec was ${SIP_CODEC})<br>
in the "h" extension.  The messages in the Asterisk CLI appeared to show that<br>
the audio codec was correctly being set to "alaw", and on hangup I got "Codec<br>
was alaw", but there was no improvement to the sound quality.<br>
<br>
Is there something I am doing wrong, or do I need to get in touch with our SIP<br>
trunk provider?<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
AJS<br>
<br>
Note:  Originating address only accepts e-mail from list!  If replying off-<br>
list, change address to asterisk1list at earthshod dot co dot uk .<br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
               <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</font></span></blockquote></div><br></div>