Audiocodes

I am trying to connect an Audiocodes MP-118 to asterisk and cannot get the audiocodes to register.

Here’s the message from the asterisk console:


Sep 11 15:39:53 NOTICE[15167]: chan_sip.c:11066 handle_request_register: Registration from '<sip:phone_number@x.x.x.x>' failed for 'x.x.x.x' - Username/auth name mismatch

Here’s a snip of my sip.conf file:

[phone_number]
context=MAXUP
type=friend
callerid="Audiocodes" <phone_number>
username=phone_number
secret=phone_number
;password=6080
host=dynamic
mailbox=phone_number@maxup
canreinvite=no
qualify=yes

Following are the highlights of my Audiocodes configuration.

;**************
;** Ini File **
;**************

;Board: MP-118 FXS
;Serial Number: 547951
;Slot Number: 1
;Software Version: 4.80A.011.002
;Board IP Address: x.x.x.x
;Board Subnet Mask: 255.255.255.248
;Board Default Gateway: x.x.x.x
;Ram size: 32M   Flash size: 8M 
;Num DSPs: 2  Num DSP channels: 8
;Profile: NONE 
;------------------------------


[SYSTEM Params]

SyslogServerIP = 10.1.1.89
VXMLFIleName = ''

[BSP Params]

PCMLawSelect = 3
LocalOAMIPAddress = x.x.x.x
RoutingTableHopsCountColumn = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0

[ATM Params]


[Analog Params]

MinFlashHookTime = 100
FXSLoopCharacteristicsFilename = 'MP11x-02-1-FXS_16KHZ.dat'
CallProgressTonesFilename = 'usa_tones_12.dat'

[ControlProtocols Params]

MGCPDTMFDetectionPoint = 0

[MGCP Params]


[MEGACO Params]


[SS7 Params]


[Voice Engine Params]

VoiceVolume = 1
RFC2833PayloadType = 101

[WEB Params]

LogoWidth = '339'

[SIP Params]

MAXDIGITS = 20
ALWAYSUSEROUTETABLE = 0
REGISTRATIONTIME = 60
ISPROXYUSED = 0
ISREGISTERNEEDED = 1
AUTHENTICATIONMODE = 0
ENABLEPROXYKEEPALIVE = 0
ENABLEEARLYMEDIA = 1
ISUSERPHONE = 0
PROXYNAME = ''
REGISTRARIP = 'x.x.x.x'
SIPGATEWAYNAME = ''
USERNAME = ''
CNONCE = '0a123bcf'
PASSWORD = '787899'
ISFALLBACKUSED = 0
ALWAYSSENDTOPROXY = 0
ISPROXYHOTSWAP = 0
PROXYKEEPALIVETIME = 60
PROXYREDUNDANCYMODE = 0
PROXYHOTSWAPRTX = 3
SENDINVITETOPROXY = 0
REGISTRATIONRETRYTIME = 30
USEGATEWAYNAMEFOROPTIONS = 0
PREFERROUTETABLE = 0
ISFAXUSED = 1
SUBSCRIPTIONMODE = 0
ENABLEPROXYSRVQUERY = 0
GWREGISTRATIONNAME = ''
REGISTRARNAME = ''
REGISTRATIONTIMEDIVIDER = 50
ENABLESRVQUERY = 0
CODERNAME = g711Ulaw64k,20,0,0,0
CODERNAME = g729,20,0,18,0
CALLERDISPLAYINFO0 = phone_number,0
TRUNKGROUP = 1-1,phone_number,0
AUTHENTICATION_0 = phone_number,phone_number
TXDTMFOPTION = 4
ENABLECALLERID_0 = 1

[VXML Params]


[IPsec Params]


[Audio Staging Params]


[PSTN-SDH Params]

hi,

i am having the same issue and am a little bit confused as i have already set the username/secret in sip.conf as what i have specified in the mp124 (audiocodes) box. anyone willing to shed some light on this? many thanks…

I suppose you should have all the usernames on Audiocodes device mutch the [phone_number] in Asterisk config.