- Joined
- Jan 10, 2011
- Messages
- 44
- Reaction score
- 0
Hello,
i know that this subject discused for many times, i have DID which i connected to my elastix and i want that when somebody call it then it will be connected to A2billing, where it should ask him for his pin, i followed a lot of tutorials in this fourm and in a2billing also, but now i got no answer from elastix or from a2billing and the call debug show me:
Aug 4 18:40:27 VERBOSE [4727] res_agi.c:
a2billing.php,1,did: [agi_type] => SIP
Aug 4 18:40:27 VERBOSE [4727] res_agi.c:
a2billing.php,1,did: [agi_uniqueid] => 1312476027.66
Aug 4 18:40:27 VERBOSE [4727] res_agi.c:
a2billing.php,1,did: [agi_version] => 1.6.2.13
Aug 4 18:40:27 VERBOSE [4727] res_agi.c:
a2billing.php,1,did: [agi_callerid] => 017670805820
Aug 4 18:40:27 VERBOSE [4727] res_agi.c:
a2billing.php,1,did: [agi_calleridname] => 017670805820
Aug 4 18:40:27 VERBOSE [4727] res_agi.c:
a2billing.php,1,did: [agi_callingpres] => 0
Aug 4 18:40:27 VERBOSE [4727] res_agi.c:
a2billing.php,1,did: [agi_callingani2] => 0
Aug 4 18:40:27 VERBOSE [4727] res_agi.c:
a2billing.php,1,did: [agi_callington] => 0
Aug 4 18:40:27 VERBOSE [4727] res_agi.c:
a2billing.php,1,did: [agi_callingtns] => 0
Aug 4 18:40:27 VERBOSE [4727] res_agi.c:
a2billing.php,1,did: [agi_dnid] => 1151753e2
Aug 4 18:40:27 VERBOSE [4727] res_agi.c:
a2billing.php,1,did: [agi_rdnis] => unknown
Aug 4 18:40:27 VERBOSE [4727] res_agi.c:
a2billing.php,1,did: [agi_context] => a2billing-did
Aug 4 18:40:27 VERBOSE [4727] res_agi.c:
a2billing.php,1,did: [agi_extension] => _X.
Aug 4 18:40:27 VERBOSE [4727] res_agi.c:
a2billing.php,1,did: [agi_priority] => 1
Aug 4 18:40:27 VERBOSE [4727] res_agi.c:
a2billing.php,1,did: [agi_enhanced] => 0.0
Aug 4 18:40:27 VERBOSE [4727] res_agi.c:
a2billing.php,1,did: [agi_accountcode] =>
Aug 4 18:40:27 VERBOSE [4727] res_agi.c:
a2billing.php,1,did: [agi_threadid] => -1222263920
Aug 4 18:40:27 VERBOSE [4727] res_agi.c:
a2billing.php,1,did: [agi_arg_1] => 1
Aug 4 18:40:27 VERBOSE [4727] res_agi.c:
a2billing.php,1,did: [agi_arg_2] => did
Aug 4 18:40:27 VERBOSE [4727] res_agi.c:
a2billing.php,1,did: )
Aug 4 18:40:27 VERBOSE [4727] res_agi.c:
a2billing.php,1,did:
Aug 4 18:40:27 VERBOSE [4727] res_agi.c:
a2billing.php,1,did: file:Class.A2Billing.php - line:601 - get_agi_request_parameter = 017670805820 ; SIP/sipgate_did-00000042 ; 1312476027.66 ; ; _X.
Aug 4 18:40:27 VERBOSE [4727] res_agi.c:
a2billing.php,1,did: file:a2billing.php - line:331 - [NO ANSWER CALL]
Aug 4 18:40:27 VERBOSE [4727] res_agi.c:
a2billing.php,1,did: file:a2billing.php - line:343 - [DID CALL - [CallerID=017670805820]:[DID=_X.]
Aug 4 18:40:27 VERBOSE [4727] res_agi.c:
a2billing.php,1,did: file:a2billing.php - line:351 - SELECT cc_did.id, cc_did_destination.id, billingtype, tariff, destination, voip_call, username FROM cc_did, cc_did_destination, cc_card WHERE id_cc_did=cc_did.id and cc_card.id=id_cc_card and cc_did_destination.activated=1 and cc_did.activated=1 and did='_X.' AND cc_did.startingdate<= CURRENT_TIMESTAMP AND (cc_did.expirationdate > CURRENT_TIMESTAMP OR cc_did.expirationdate IS NULL OR cc_did.expirationdate = '0000-00-00 00:00:00') ORDER BY priority ASC
Aug 4 18:40:27 VERBOSE [4727] res_agi.c:
a2billing.php,1,did: file:a2billing.php - line:353 - 0
Aug 4 18:40:27 VERBOSE [4727] res_agi.c:
-- <SIP/sipgate_did-00000042>AGI Script a2billing.php completed, returning -1
Aug 4 18:40:36 NOTICE [2795] chan_sip.c:
Registration from '<sip:[email protected]>' failed for '217.253.201.107' - No matching peer found
Aug 4 18:40:36 NOTICE [2795] chan_sip.c:
Registration from '<sip:[email protected]>' failed for '217.253.201.107' - No matching peer found
so can any body help'?! any tipp will be great.
i know that this subject discused for many times, i have DID which i connected to my elastix and i want that when somebody call it then it will be connected to A2billing, where it should ask him for his pin, i followed a lot of tutorials in this fourm and in a2billing also, but now i got no answer from elastix or from a2billing and the call debug show me:
Aug 4 18:40:27 VERBOSE [4727] res_agi.c:
a2billing.php,1,did: [agi_type] => SIP
Aug 4 18:40:27 VERBOSE [4727] res_agi.c:
a2billing.php,1,did: [agi_uniqueid] => 1312476027.66
Aug 4 18:40:27 VERBOSE [4727] res_agi.c:
a2billing.php,1,did: [agi_version] => 1.6.2.13
Aug 4 18:40:27 VERBOSE [4727] res_agi.c:
a2billing.php,1,did: [agi_callerid] => 017670805820
Aug 4 18:40:27 VERBOSE [4727] res_agi.c:
a2billing.php,1,did: [agi_calleridname] => 017670805820
Aug 4 18:40:27 VERBOSE [4727] res_agi.c:
a2billing.php,1,did: [agi_callingpres] => 0
Aug 4 18:40:27 VERBOSE [4727] res_agi.c:
a2billing.php,1,did: [agi_callingani2] => 0
Aug 4 18:40:27 VERBOSE [4727] res_agi.c:
a2billing.php,1,did: [agi_callington] => 0
Aug 4 18:40:27 VERBOSE [4727] res_agi.c:
a2billing.php,1,did: [agi_callingtns] => 0
Aug 4 18:40:27 VERBOSE [4727] res_agi.c:
a2billing.php,1,did: [agi_dnid] => 1151753e2
Aug 4 18:40:27 VERBOSE [4727] res_agi.c:
a2billing.php,1,did: [agi_rdnis] => unknown
Aug 4 18:40:27 VERBOSE [4727] res_agi.c:
a2billing.php,1,did: [agi_context] => a2billing-did
Aug 4 18:40:27 VERBOSE [4727] res_agi.c:
a2billing.php,1,did: [agi_extension] => _X.
Aug 4 18:40:27 VERBOSE [4727] res_agi.c:
a2billing.php,1,did: [agi_priority] => 1
Aug 4 18:40:27 VERBOSE [4727] res_agi.c:
a2billing.php,1,did: [agi_enhanced] => 0.0
Aug 4 18:40:27 VERBOSE [4727] res_agi.c:
a2billing.php,1,did: [agi_accountcode] =>
Aug 4 18:40:27 VERBOSE [4727] res_agi.c:
a2billing.php,1,did: [agi_threadid] => -1222263920
Aug 4 18:40:27 VERBOSE [4727] res_agi.c:
a2billing.php,1,did: [agi_arg_1] => 1
Aug 4 18:40:27 VERBOSE [4727] res_agi.c:
a2billing.php,1,did: [agi_arg_2] => did
Aug 4 18:40:27 VERBOSE [4727] res_agi.c:
a2billing.php,1,did: )
Aug 4 18:40:27 VERBOSE [4727] res_agi.c:
a2billing.php,1,did:
Aug 4 18:40:27 VERBOSE [4727] res_agi.c:
a2billing.php,1,did: file:Class.A2Billing.php - line:601 - get_agi_request_parameter = 017670805820 ; SIP/sipgate_did-00000042 ; 1312476027.66 ; ; _X.
Aug 4 18:40:27 VERBOSE [4727] res_agi.c:
a2billing.php,1,did: file:a2billing.php - line:331 - [NO ANSWER CALL]
Aug 4 18:40:27 VERBOSE [4727] res_agi.c:
a2billing.php,1,did: file:a2billing.php - line:343 - [DID CALL - [CallerID=017670805820]:[DID=_X.]
Aug 4 18:40:27 VERBOSE [4727] res_agi.c:
a2billing.php,1,did: file:a2billing.php - line:351 - SELECT cc_did.id, cc_did_destination.id, billingtype, tariff, destination, voip_call, username FROM cc_did, cc_did_destination, cc_card WHERE id_cc_did=cc_did.id and cc_card.id=id_cc_card and cc_did_destination.activated=1 and cc_did.activated=1 and did='_X.' AND cc_did.startingdate<= CURRENT_TIMESTAMP AND (cc_did.expirationdate > CURRENT_TIMESTAMP OR cc_did.expirationdate IS NULL OR cc_did.expirationdate = '0000-00-00 00:00:00') ORDER BY priority ASC
Aug 4 18:40:27 VERBOSE [4727] res_agi.c:
a2billing.php,1,did: file:a2billing.php - line:353 - 0
Aug 4 18:40:27 VERBOSE [4727] res_agi.c:
-- <SIP/sipgate_did-00000042>AGI Script a2billing.php completed, returning -1
Aug 4 18:40:36 NOTICE [2795] chan_sip.c:
Registration from '<sip:[email protected]>' failed for '217.253.201.107' - No matching peer found
Aug 4 18:40:36 NOTICE [2795] chan_sip.c:
Registration from '<sip:[email protected]>' failed for '217.253.201.107' - No matching peer found
so can any body help'?! any tipp will be great.