# Codec problem?

**URL:** <https://community.asterisk.org/t/codec-problem/14531>\
**Category:** Asterisk Support\
**Created:** [May 19, 2007, 10:37pm UTC](https://community.asterisk.org/t/codec-problem/14531 "2007-05-19T22:37:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![stephane](https://avatars.discourse-cdn.com/v4/letter/s/dfb087/32.png) [@stephane](https://community.asterisk.org/u/stephane)\
**Post date:** [May 19, 2007, 10:37pm UTC](https://community.asterisk.org/t/codec-problem/14531/1 "2007-05-19T22:37:59Z")

</div>

Hi,

I have setup a DISA context, in order to reach some features of my PBX.  
Now, I tried with my mobile, to reach the server =\> OK  
(Dialing a landline number, which is a voip line (Sipgate))  
Dialed my extension and made a phone call via Internet. =\> communication established !

But The callee couldn’t hear me. I could hear him…

- Is that a Codec config problem ?

If so, On each declaration of my SIP phones, I have  
Disallow=all  
allow=alaw  
allow=ulaw  
allow=gsm

But in this case ? the mobile is not registered anywhere ? so how can I use GSM codec ?

thanks for your help  
Any suggestions would be appreciated

stephane

---

<div class="post-metadata">

**Author:** ![valley](https://avatars.discourse-cdn.com/v4/letter/v/67e7ee/32.png) [@valley](https://community.asterisk.org/u/valley)\
**Post date:** [May 20, 2007, 5:49am UTC](https://community.asterisk.org/t/codec-problem/14531/2 "2007-05-20T05:49:22Z")

</div>

Mobile is not in the picture here because Asterisk only interfaces with your provider. (Mobile only interfaces with your provider and not with Asterisk.)

Have you excluded NAT/firewall as cause? This is the most common.

---

<div class="post-metadata">

**Author:** ![stephane](https://avatars.discourse-cdn.com/v4/letter/s/dfb087/32.png) [@stephane](https://community.asterisk.org/u/stephane)\
**Post date:** [June 7, 2007, 8:26am UTC](https://community.asterisk.org/t/codec-problem/14531/3 "2007-06-07T08:26:57Z")

</div>

Hi,

sorry for my late answer…  
Yes, I don’t think that this is a NAT problem…

When I am calling home, I am using a Voip Provider (which gave me a Landline phone number) and I try to make a phone call with another provider.

I suspect that there are not compatible in term of Codecs ☹

Thanks for your answer
