chan_sip.c: Registration from '<sip:[email protected]>' failed for 'yyy.yyy.yyy.yyy:35803' - Wrong password

Hello Dear Experts,

I Installed Asterisks, FreePbx and A2billing on ubuntu server, and managed to make call thru freepbx, but when I use my a2billing account id to call thru then I recieve the following error in sip debug. remember this is my first try, so dont give me technical answres, just in a simple way guide me that what to do,

ACK sip:[email protected] SIP/2.0 Via: SIP/2.0/UDP 192.168.0.20:5061;rport;branch=z9hG4bK497739159277_192.168.0.20 Max-Forwards: 70 To: ;tag=as5a2d9540 From: ;tag=sip1366032629587 Call-ID: 497739159277_192.168.0.20 CSeq: 1 ACK Contact: Expires: 3600 User-Agent: Nimbuzz Single Content-Length: 0

<------------->
[2013-05-07 10:01:05] VERBOSE[13629] chan_sip.c: — (11 headers 0 lines) —
[2013-05-07 10:01:05] VERBOSE[13629] chan_sip.c:
<— SIP read from UDP:yyy.yyy.yyy.yyy:35803 —>
REGISTER sip:xxx.xxx.xxx.xxx SIP/2.0
Via: SIP/2.0/UDP 192.168.0.20:5061;rport;branch=z9hG4bK5343412764
Max-Forwards: 70
To: sip:[email protected]
From: sip:[email protected];tag=sip1366032629587
Call-ID: 497739159277_192.168.0.20
CSeq: 2 REGISTER
Contact: sip:[email protected]:5061
Expires: 3600
User-Agent: Nimbuzz Single
Content-Length: 0
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, NOTIFY, MESSAGE
Authorization: Digest username=“1111111111”, realm=“asterisk”, nonce=“30efea44”, uri=“sip:xxx.xxx.xxx.xxx”, algorithm=MD5, nc=00000001, response=“7e879bd68f07e32e2b9a03f93bd0e3f7”

<------------->
[2013-05-07 10:01:05] VERBOSE[13629] chan_sip.c: — (13 headers 0 lines) —
[2013-05-07 10:01:05] VERBOSE[13629] chan_sip.c: Sending to yyy.yyy.yyy.yyy:35803 (NAT)
[2013-05-07 10:01:05] VERBOSE[13629] chan_sip.c:
<— Transmitting (NAT) to yyy.yyy.yyy.yyy:35803 —>
SIP/2.0 403 Forbidden
Via: SIP/2.0/UDP 192.168.0.20:5061;branch=z9hG4bK5343412764;received=yyy.yyy.yyy.yyy;rport=35803
From: sip:[email protected];tag=sip1366032629587
To: sip:[email protected];tag=as5a2d9540
Call-ID: 497739159277_192.168.0.20
CSeq: 2 REGISTER
Server: FPBX2.11.0rc1(11.3.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0

<------------>
[2013-05-07 10:01:05] NOTICE[13629] chan_sip.c: Registration from ‘sip:[email protected]’ failed for ‘yyy.yyy.yyy.yyy:35803’ - Wrong password

a lot of thanks in advance.

Your A2Billing accountcode is set on an extension, it is not an extension itself. Use the same extension you used to make a successful call and set the accountcode on it.

You’re likely to get better help in the A2Billing forums, after reading the relevant setup documents.