[Asterisk-Users] AudioCodes MP-104, register

Dawid Mielnik D.Mielnik at elka.pw.edu.pl
Thu Feb 12 15:12:30 MST 2004


Hi all,

I am testing Audiocodes MP 104 fxs gateway with Asterisk but I already have
problems with registering. I was wondering whether anyone has used
AudioCodes fxs gateways with Asterisk and could help me out here.

SIP debug log:

 to 80.54.223.79:1025
Transmitting (NAT):
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 192.168.0.249;branch=z9hG4bKacMDmwMyQ;received=80.54.223.79
From: <sip:3267919 at audiocodes.com>;tag=1c20095
To: <sip:3267919 at audiocodes.com>;tag=as2491631b
Call-ID: 135683153531535zDYA at 192.168.0.249
CSeq: 27511 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <sip:3267919 at xxx.xxx.xxx.xxx>
Proxy-Authenticate: Digest realm="asterisk", nonce="56a089dd"
Content-Length: 0
asterisk*CLI>

 to 80.54.223.79:1025
asterisk*CLI>

Sip read:
REGISTER sip:xxx.xxx.xxx.xxx SIP/2.0
Via: SIP/2.0/UDP 192.168.0.249;branch=z9hG4bKacwSyaJmZ
From: <sip:3267919 at audiocodes.com>;tag=1c20095
To: <sip:3267919 at audiocodes.com>
Call-ID: 135683153531535zDYA at 192.168.0.249
CSeq: 27512 REGISTER
Contact: <sip:3267919 at 192.168.0.249;user=phone>;expires=3600
Proxy-Authorization:Digest
username="mp_104_test",realm="asterisk",nonce="56a089dd",uri="sip:xxx.xxx.xx
x.xxx",Algorithm="MD5",response="a0a130b0820da3b7d67f88e858851814"
Supported: em,timer,100rel
Expires: 3600
User-Agent: Audiocodes-Sip-Gateway/MP-104 FXS/v.4.20.299.410
Content-Length: 0


12 headers, 0 lines
Using latest request as basis request
Sending to 192.168.0.249 : 5060 (NAT)
Transmitting (NAT):
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.0.249;branch=z9hG4bKacwSyaJmZ;received=80.54.223.79
From: <sip:3267919 at audiocodes.com>;tag=1c20095
To: <sip:3267919 at audiocodes.com>;tag=as2491631b
Call-ID: 135683153531535zDYA at 192.168.0.249
CSeq: 27512 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <sip:3267919 at xxx.xxx.xxx.xxx>
Content-Length: 0


 to 80.54.223.79:1025
Transmitting (NAT):
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.0.249;branch=z9hG4bKacwSyaJmZ;received=80.54.223.79
From: <sip:3267919 at audiocodes.com>;tag=1c20095
To: <sip:3267919 at audiocodes.com>;tag=as2491631b
Call-ID: 135683153531535zDYA at 192.168.0.249
CSeq: 27512 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <sip:3267919 at xxx.xxx.xxx.xxx>
Content-Length: 0


 to 80.54.223.79:1025
Feb 12 20:09:31 NOTICE[1133718080]: chan_sip.c:5405 handle_request:
Registration from '<sip:3267919 at audiocodes.com>' failed for '80.54.223.79'

in sip.conf

[mp_104_test]
type=friend
username=mp_104_test
secret=mp_104_test
auth=md5
disallow=all
allow=g729
allow=alaw
host=dynamic
nat=yes
qualify=200
dtmftone=rfc2833
context=default

On the AudioCodes gateway I use authentication per endpoint.

Thanks,

Dave




More information about the asterisk-users mailing list