Account number is not valid


#1

I have configured Asterisk server with Xten-eyebeam on the client. I can see user registered on asterisk log file, but when I dial to any PSTN number eyebeam says, The account number is not valid and then the call gets hung up. i am going through a provider in Australia.
Can anyone help in this matter ?
Thanx.


#2

Sep 6 01:08:30 VERBOSE[1041]: – Registered SIP ‘202’ at 192.168.1.150 port 9638 expires 3600
Sep 6 01:08:34 DEBUG[1041]: Auto destroying call '4f7e7070bf017d22’
Sep 6 01:08:45 DEBUG[1041]: Auto destroying call '470d382662534912’
Sep 6 01:09:01 DEBUG[1041]: Manager received command 'Command’
Sep 6 01:09:01 DEBUG[1041]: Manager received command 'Command’
Sep 6 01:09:06 DEBUG[1041]: Setting NAT on RTP to 0
Sep 6 01:09:06 DEBUG[1041]: Stopping retransmission on ‘67397672801ad404’ of Response 1: Found
Sep 6 01:09:06 DEBUG[1041]: Setting NAT on RTP to 0
Sep 6 01:09:06 DEBUG[1041]: Check for res for 202
Sep 6 01:09:06 DEBUG[1041]: Call from user ‘202’ is 1 out of 0
Sep 6 01:09:06 DEBUG[1041]: build_route: Contact hop:
Sep 6 01:09:06 VERBOSE[1041]: – Executing Macro(“SIP/202-06ea”, “dialout-trunk|2|0398829613|”) in new stack
Sep 6 01:09:06 DEBUG[1041]: Expression is '1’
Sep 6 01:09:06 VERBOSE[1041]: – Executing GotoIf(“SIP/202-06ea”, “1?3:2)”) in new stack
Sep 6 01:09:06 VERBOSE[1041]: – Goto (macro-dialout-trunk,s,3)
Sep 6 01:09:06 VERBOSE[1041]: – Executing Macro(“SIP/202-06ea”, “record-enable|202|OUT”) in new stack
Sep 6 01:09:06 VERBOSE[1041]: – Executing GotoIf(“SIP/202-06ea”, “0 > 0?2:4”) in new stack
Sep 6 01:09:06 VERBOSE[1041]: – Goto (macro-record-enable,s,4)
Sep 6 01:09:06 DEBUG[1041]: Expression is '1’
Sep 6 01:09:06 VERBOSE[1041]: – Executing GotoIf(“SIP/202-06ea”, “1?5:8”) in new stack
Sep 6 01:09:06 VERBOSE[1041]: – Goto (macro-record-enable,s,5)
Sep 6 01:09:06 VERBOSE[1041]: – Executing DBget(“SIP/202-06ea”, “RecEnable=RECORD-OUT/202”) in new stack
Sep 6 01:09:06 VERBOSE[1041]: – DBget: varname=RecEnable, family=RECORD-OUT, key=202
Sep 6 01:09:06 DEBUG[1041]: Unable to find key ‘202’ in family 'RECORD-OUT’
Sep 6 01:09:06 VERBOSE[1041]: – DBget: Value not found in database.
Sep 6 01:09:06 VERBOSE[1041]: – Executing SetVar(“SIP/202-06ea”, “CALLFILENAME=OUT202-20050906-010906-1125983346.60”) in new stack
Sep 6 01:09:06 VERBOSE[1041]: – Executing Goto(“SIP/202-06ea”, “s|14”) in new stack
Sep 6 01:09:06 VERBOSE[1041]: – Goto (macro-record-enable,s,14)
Sep 6 01:09:06 DEBUG[1041]: Expression is '0’
Sep 6 01:09:06 VERBOSE[1041]: – Executing GotoIf(“SIP/202-06ea”, “0?15:99”) in new stack
Sep 6 01:09:06 VERBOSE[1041]: – Goto (macro-record-enable,s,99)
Sep 6 01:09:06 VERBOSE[1041]: – Executing NoOp(“SIP/202-06ea”, “NO RECORDING NEEDED”) in new stack
Sep 6 01:09:06 DEBUG[1041]: Expression is '1’
Sep 6 01:09:06 VERBOSE[1041]: – Executing GotoIf(“SIP/202-06ea”, “1?7”) in new stack
Sep 6 01:09:06 VERBOSE[1041]: – Goto (macro-dialout-trunk,s,7)
Sep 6 01:09:06 DEBUG[1041]: Expression is ‘1’
Sep 6 01:09:06 VERBOSE[1041]: – Executing GotoIf(“SIP/202-06ea”, “1?9”) in new stack
Sep 6 01:09:06 VERBOSE[1041]: – Goto (macro-dialout-trunk,s,9)
Sep 6 01:09:06 VERBOSE[1041]: – Executing SetGroup(“SIP/202-06ea”, “OUT_2”) in new stack
Sep 6 01:09:06 VERBOSE[1041]: – Executing CheckGroup(“SIP/202-06ea”, “”) in new stack
Sep 6 01:09:06 WARNING[1041]: CheckGroup requires an argument(max)
Sep 6 01:09:06 VERBOSE[1041]: – Executing SetVar(“SIP/202-06ea”, “DIAL_NUMBER=0398829613”) in new stack
Sep 6 01:09:06 VERBOSE[1041]: – Executing SetVar(“SIP/202-06ea”, “DIAL_TRUNK=2”) in new stack
Sep 6 01:09:06 VERBOSE[1041]: – Executing AGI(“SIP/202-06ea”, “fixlocalprefix”) in new stack
Sep 6 01:09:06 VERBOSE[1041]: – Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
Sep 6 01:09:06 VERBOSE[1041]: fixlocalprefix: Could not parse /etc/asterisk/localprefixes.conf
Sep 6 01:09:06 VERBOSE[1041]: – AGI Script fixlocalprefix completed, returning 0
Sep 6 01:09:06 VERBOSE[1041]: – Executing SetVar(“SIP/202-06ea”, “OUTNUM=0398829613”) in new stack
Sep 6 01:09:06 VERBOSE[1041]: – Executing Cut(“SIP/202-06ea”, “custom=OUT_2|:|1”) in new stack
Sep 6 01:09:06 DEBUG[1041]: Expression is ‘0’
Sep 6 01:09:06 VERBOSE[1041]: – Executing GotoIf(“SIP/202-06ea”, “0?19”) in new stack
Sep 6 01:09:06 DEBUG[1041]: Not taking any branch
Sep 6 01:09:06 VERBOSE[1041]: – Executing Dial(“SIP/202-06ea”, “SIP/iaxpenny/0398829613”) in new stack
Sep 6 01:09:06 DEBUG[1041]: Setting NAT on RTP to 0
Sep 6 01:09:06 DEBUG[1041]: Outgoing Call for 0398829613
Sep 6 01:09:06 DEBUG[1041]: 0398829613 is not a local user
Sep 6 01:09:06 VERBOSE[1041]: – Called iaxpenny/0398829613
Sep 6 01:09:06 DEBUG[1041]: Acked pending invite 102
Sep 6 01:09:06 DEBUG[1041]: Stopping retransmission on ‘21d10ada5f86d4d15cad98520e4a5829@192.168.1.201’ of Request 102: Found
Sep 6 01:09:06 DEBUG[1041]: (Provisional) Stopping retransmission (but retaining packet) on ‘21d10ada5f86d4d15cad98520e4a5829@192.168.1.201’ Request 103: Found
Sep 6 01:09:06 DEBUG[1041]: Acked pending invite 103
Sep 6 01:09:06 DEBUG[1041]: Stopping retransmission on ‘21d10ada5f86d4d15cad98520e4a5829@192.168.1.201’ of Request 103: Found
Sep 6 01:09:06 DEBUG[1041]: build_route: Record-Route hop:
Sep 6 01:09:06 DEBUG[1041]: build_route: Contact hop:
Sep 6 01:09:06 VERBOSE[1041]: – SIP/iaxpenny-bfb6 answered SIP/202-06ea
Sep 6 01:09:06 VERBOSE[1041]: – Attempting native bridge of SIP/202-06ea and SIP/iaxpenny-bfb6
Sep 6 01:09:06 DEBUG[1041]: Stopping retransmission on ‘67397672801ad404’ of Response 2: Found
Sep 6 01:09:06 DEBUG[1041]: Ooh, format changed from unknown to ulaw
Sep 6 01:09:06 DEBUG[1041]: Ooh, format changed from unknown to ulaw
Sep 6 01:09:15 DEBUG[1041]: Didn’t get a frame from channel: SIP/iaxpenny-bfb6
Sep 6 01:09:15 DEBUG[1041]: Bridge stops bridging channels SIP/202-06ea and SIP/iaxpenny-bfb6
Sep 6 01:09:15 DEBUG[1041]: update_user_counter(0398829613) - decrement outUse counter
Sep 6 01:09:15 DEBUG[1041]: 0398829613 is not a local user
Sep 6 01:09:15 DEBUG[1041]: Exiting with DIALSTATUS=ANSWER.
Sep 6 01:09:15 VERBOSE[1041]: == Spawn extension (macro-dialout-trunk, s, 17) exited non-zero on ‘SIP/202-06ea’ in macro ‘dialout-trunk’
Sep 6 01:09:15 VERBOSE[1041]: == Spawn extension (from-internal, 0398829613, 1) exited non-zero on ‘SIP/202-06ea’
Sep 6 01:09:15 VERBOSE[1041]: – Executing Macro(“SIP/202-06ea”, “hangupcall”) in new stack
Sep 6 01:09:15 VERBOSE[1041]: – Executing ResetCDR(“SIP/202-06ea”, “w”) in new stack
Sep 6 01:09:15 DEBUG[1041]: cdr_mysql: inserting a CDR record.
Sep 6 01:09:15 DEBUG[1041]: cdr_mysql: SQL command as follows: INSERT INTO cdr (calldate,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,accountcode) VALUES (‘2005-09-06 01:09:06’,’“Abhinav” <202>’,‘202’,‘0398829613’,‘from-internal’, ‘SIP/202-06ea’,‘SIP/iaxpenny-bfb6’,‘ResetCDR’,‘w’,9,9,‘ANSWERED’,3,’’)
Sep 6 01:09:15 VERBOSE[1041]: – Executing NoCDR(“SIP/202-06ea”, “”) in new stack
Sep 6 01:09:15 WARNING[1041]: CDR on channel ‘SIP/202-06ea’ not posted
Sep 6 01:09:15 WARNING[1041]: CDR on channel ‘SIP/202-06ea’ lacks end
Sep 6 01:09:15 VERBOSE[1041]: – Executing Wait(“SIP/202-06ea”, “5”) in new stack
Sep 6 01:09:20 VERBOSE[1041]: – Executing Hangup(“SIP/202-06ea”, “”) in new stack
Sep 6 01:09:20 VERBOSE[1041]: == Spawn extension (macro-hangupcall, s, 4) exited non-zero on ‘SIP/202-06ea’ in macro 'hangupcall’
Sep 6 01:09:20 VERBOSE[1041]: == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/202-06ea’
Sep 6 01:09:20 DEBUG[1041]: update_user_counter(202) - decrement inUse counter
Sep 6 01:09:20 DEBUG[1041]: Stopping retransmission on ‘67397672801ad404’ of Request 102: Found
Sep 6 01:09:23 VERBOSE[1041]: – Unregistered SIP '202’
Sep 6 01:09:23 VERBOSE[1041]: – Unregistered SIP ‘202’


#3

It’s not a good idea to post massive chunks of debugging output - nobody’s going to want to wade through that! It’s unnecessarily detailed. The output from the console with verbose set to 4 would be better to start with.