On 01/07/12 13:42, Eric Wieling wrote:
The codecs and contexts defined in [general] apply to unauthenticated calls.  
If the incoming call matched the entry in sip.conf or iax.conf then the codecs 
in that entry would be used.

I just change in iax.conf in [general] section: from:
allow=all

to:
allow=ulaw
allow=alaw

Codec and with Asterisk 1.4.39 is working but CallerID is working as well.

Can someone explain to me how changing in allow=ulaw/alaw in iax.conf effect 
the display of incoming CallerID from PSTN line.
My AudioCode gateway communicate with asterisk server using SIP, so why changed to iax.conf affect sip communication? So how did it happen? It is good, it is working but can someone with more knowledge explain us WHY? As I'm sure I'll not be the only one with this problem of CallerID.

--
Joseph


-----Original Message-----
From: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Joseph
Sent: Saturday, January 07, 2012 1:36 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] [SOLVED] Asterisk 10.0 & 1.4 - iax codec are not 
compatible

On 01/07/12 13:27, Eric Wieling wrote:
This means you are allowing guest calls.  A VERY bad thing.

Doesn't it pertain to codes only?

in my [guest] section I have:
;[guest]
;type=user
;context=default
;callerid="Guest IAX User"

so it is disabled, isn't it?

--
Joseph


-----Original Message-----
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Joseph
Sent: Saturday, January 07, 2012 1:27 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] [SOLVED] Asterisk 10.0 & 1.4 - iax codec
are not compatible

On 01/07/12 17:13, Tony Mountifield wrote:
In article <20120107163819.gc3...@syscon7.inet>,
Joseph <syscon...@gmail.com> wrote:

I'm not sure this is the case:

Asterisk-1.4.39
[home_server]
type=friend
host=dynamic
secret=123456
context=extensions
disallow=all
allow=ulaw
allow=alaw
requirecalltoken=no

Asterisk-1.8.7
[clinic_server]
type=friend
host=dynamic
context=internal
disallow=all
allow=ulaw
allow=alaw
requirecalltoken=no

Error message on asterisk-1.8.7
chan_iax2.c:10666 socket_process: Call rejected by 192.168.141.1:
Unable to negotiate codec

Error message on asterisk-1.4.39
chan_iax2.c:9541 socket_process: Rejected connect attempt from
192.168.141.8, requested/capability 0x2/0x703 incompatible with our capability 
0xc.


Check also the allow= and disallow= directives in the [general]
section of your iax.conf. It may be that the call is not matching the
friend section you think it is.

Tony

Thanks Tony, that was it and it solved BOTH problem codec and callerID
Changing in Asterisk 1.8.7 [general] section allow=all

Thank again Tony!

My [general] section I had by default:
;allow=all                       ; same as bandwidth=high
;disallow=g723.1                ; Hm...  Proprietary, don't use it...
disallow=lpc10                  ; Icky sound quality...  Mr. Roboto.
;allow=gsm                      ; Always allow GSM, it's cool :)

--
Joseph

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
              http://www.asterisk.org/hello

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

Reply via email to