Hi Experts
i try configure DID of DIDWW, the problem is when a2b recived call and foward to cardnumber, i test in asterisk creating sip account, context and dial plan and work fine. send info of my configuration. i belive the problem is authentication but I do not know how to fix it
configuration Sip.conf of DIDWW
[46.19.209.14]
host=46.19.209.14
dtmfmode=rfc2833
dtmf=rfc2833
type=peer
context=a2billing-did
insecure=invite
nat=yes
disallow=all
;allow=ulaw
allow=gsm
qualify=yes
Configuration extensions.conf
[a2billing-did]
exten => _X.,1,AGI(a2billing.php,2,did)
exten => _x,1,Hangup()
Create INBOUND DID
DID CUSTOMER BILLING START DATE DIDGROUP COUNTRY ACT MU RES MR SR ACTION
18299548026 TEST ACCOUNT Fix 2012-12-13 14:34:37 DIDWW Dominican Repub Active 00:00 Yes 1
Create destination
DESTINATION CREATION DATE DID ACCOUNT NUMBER ACTIVE VOIP PRIOR MINUTES USED ACTION
SIP/6367970869 2012-12-13 14:36 18299548026 6367970869 Active Active 1 00:00 Validated
create new agiconf2
use_DNID=yes
use_dnid =yes
number_try=1
setcallerid=yes
cid_sanitize = NO
cid_enable= no
sip_iax_friends=yes
this is the message of CLI Aterisk when dailing DID number 18299548026 from celular phone
Spawn extension (a2billing-did, 18299548026, 1) exited non-zero on 'SIP/46.19.209.14-00003108'
== Using SIP RTP CoS mark 5
-- Executing [18299548026@a2billing-did:1] AGI("SIP/46.19.209.14-0000310a", "a2billing.php,2,did") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php
a2billing.php,2,did: file:a2billing.php - line:117 - uniqueid: - IDCONFIG : 2
a2billing.php,2,did: file:a2billing.php - line:118 - uniqueid: - MODE : did
a2billing.php,2,did: file:Class.A2Billing.php - line:712 - uniqueid:1355591878.12556 - get_agi_request_parameter = 8096052800 ; SIP/46.19.209.14-0000310a ; 1355591878.12556 ; ; 18299548026
a2billing.php,2,did: file:a2billing.php - line:625 - uniqueid:1355591878.12556 - [NO ANSWER CALL]
a2billing.php,2,did: file:a2billing.php - line:635 - uniqueid:1355591878.12556 - [DID CALL - [CallerID=8096052800]:[DID=18299548026]
a2billing.php,2,did: file:Class.A2Billing.php - line:1252 - uniqueid:1355591878.12556 - [A2Billing] DID call friend: FOLLOWME=1 (cardnumber:6367970869|destination:SIP/6367970869|tariff:2)
a2billing.php,2,did:
-- AGI Script Executing Application: (DIAL) Options: (SIP/6367970869,60,HRgirL(3600000:61000:30000))
> Limit Data for this call:
> timelimit = 3600000 ms (3600.000 s)
> play_warning = 61000 ms (61.000 s)
> play_to_caller = yes
> play_to_callee = no
> warning_freq = 30000 ms (30.000 s)
> start_sound =
> warning_sound = timeleft
> end_sound =
== Using SIP RTP CoS mark 5
-- Called SIP/6367970869
[Dec 15 13:17:59] NOTICE[28322][C-000019fc]: chan_sip.c:24739 handle_request_invite: Sending fake auth rejection for device <sip:
[email protected]>;tag=as4b32b6ef
-- Got SIP response 482 "Loop Detected" back from 127.0.0.1:5060
-- SIP/6367970869-0000310b is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
a2billing.php,2,did: file:Class.A2Billing.php - line:1293 - uniqueid:1355591878.12556 - DIAL SIP/6367970869,60,HRgirL(3600000:61000:30000)
a2billing.php,2,did: file:Class.A2Billing.php - line:1305 - uniqueid:1355591878.12556 - [SIP/6367970869 Friend][followme=1]:[ANSWEREDTIME=-DIALSTATUS=CONGESTION]
-- <SIP/46.19.209.14-0000310a>AGI Script a2billing.php completed, returning 4
== Spawn extension (a2billing-did, 18299548026, 1) exited non-zero on 'SIP/46.19.209.14-0000310a'
-- <SIP/5081880471-00003105>AGI Script a2billing.php completed, returning 4