On 01/07/12 08:50, Tim Nelson wrote:
----- Original Message -----
I'm trying Asterisk 10.0 (as 8.x is not passing PSTN CallerID) and
Asterisk 10.0 is no better.

I'm still getting:
WARNING[12295]: chan_sip.c:14446 check_auth: username mismatch, have
<11>, digest has <pstn-1270>
NOTICE[12295]: chan_sip.c:22769 handle_request_invite: Failed to
authenticate device "KMIEC Z"
<sip:[email protected]>;tag=1c1222950155

Anybody know what is the magic solution to get a CallerID to work?

In addition iax -codec are not compatible with earlier asterisk (1.4);
I have selected ulaw / alaw but Asterisk 1.4 wants GSM:

chan_iax2.c:9541 socket_process: Rejected connect attempt from
192.168.141.8, requested/capability 0x2/0x703 incompatible with our
capability 0xc.


IAX is a signalling protocol, not a codec. And, interop between the various 
branches of Asterisk is not a problem. Looking at your logs, the problem 
appears to be you have a codec mismatch between peers, or your authentication 
details are wrong. Please also check that you have calltokens set the same on 
both sides (enabled on both or disabled on both).

--Tim

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.

How about incoming CallerID from PSTN, why isn't asterik 1.8 nor 10.0 working 
correctly?
I'm not getting any caller ID when I tried both versions 1.8 nor 10.0
All I'm getting is a WARNING:
WARNING[12295]: chan_sip.c:14446 check_auth: username mismatch, have <11>, digest has 
<pstn-1270>
NOTICE[12295]: chan_sip.c:22769 handle_request_invite: Failed to authenticate device 
"KMIEC Z" <sip:[email protected]>;tag=1c1222950155

Incoming CallerID from PSTN in Asterisk 1.4.39 is working perfectly.
--
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