magnusbilling7 icon indicating copy to clipboard operation
magnusbilling7 copied to clipboard

incoming not working Anveo Direct

Open dannyltd opened this issue 3 years ago • 2 comments
trafficstars

Hi,

I have been trying to setup Anveo Direct trunk on my Server but incoming is not working, I run AGI debug to troubleshoot and this is what I get: Executing [15055853610@billing:1] AGI("SIP/anveo1-0000000b", ""/var/www/html/mbilling/resources/asterisk/mbilling.php"") in new stack -- Launched AGI Script /var/www/html/mbilling/resources/asterisk/mbilling.php <SIP/anveo1-0000000b>AGI Tx >> agi_request: /var/www/html/mbilling/resources/asterisk/mbilling.php <SIP/anveo1-0000000b>AGI Tx >> agi_channel: SIP/anveo1-0000000b <SIP/anveo1-0000000b>AGI Tx >> agi_language: en <SIP/anveo1-0000000b>AGI Tx >> agi_type: SIP <SIP/anveo1-0000000b>AGI Tx >> agi_uniqueid: 1644454911.11 <SIP/anveo1-0000000b>AGI Tx >> agi_version: 13.35.0 <SIP/anveo1-0000000b>AGI Tx >> agi_callerid: 17609701010 <SIP/anveo1-0000000b>AGI Tx >> agi_calleridname: unknown <SIP/anveo1-0000000b>AGI Tx >> agi_callingpres: 0 <SIP/anveo1-0000000b>AGI Tx >> agi_callingani2: 0 <SIP/anveo1-0000000b>AGI Tx >> agi_callington: 0 <SIP/anveo1-0000000b>AGI Tx >> agi_callingtns: 0 <SIP/anveo1-0000000b>AGI Tx >> agi_dnid: 15055853610 <SIP/anveo1-0000000b>AGI Tx >> agi_rdnis: unknown <SIP/anveo1-0000000b>AGI Tx >> agi_context: billing <SIP/anveo1-0000000b>AGI Tx >> agi_extension: 15055853610 <SIP/anveo1-0000000b>AGI Tx >> agi_priority: 1 <SIP/anveo1-0000000b>AGI Tx >> agi_enhanced: 0.0 <SIP/anveo1-0000000b>AGI Tx >> agi_accountcode: <SIP/anveo1-0000000b>AGI Tx >> agi_threadid: 139621667735296 <SIP/anveo1-0000000b>AGI Tx >> <SIP/anveo1-0000000b>AGI Rx << VERBOSE "Start MBilling AGI" 6 <SIP/anveo1-0000000b>AGI Tx >> 200 result=1 <SIP/anveo1-0000000b>AGI Rx << VERBOSE "SELECT id, config_key , config_value , config_group_title FROM pkg_configuration" 25 <SIP/anveo1-0000000b>AGI Tx >> 200 result=1 <SIP/anveo1-0000000b>AGI Rx << VERBOSE "Start MBilling AGI" 6 <SIP/anveo1-0000000b>AGI Tx >> 200 result=1 <SIP/anveo1-0000000b>AGI Rx << GET VARIABLE IDCALLBACK <SIP/anveo1-0000000b>AGI Tx >> 200 result=0 <SIP/anveo1-0000000b>AGI Rx << GET VARIABLE CIDCALLBACK <SIP/anveo1-0000000b>AGI Tx >> 200 result=0 <SIP/anveo1-0000000b>AGI Rx << GET VARIABLE MEMBERNAME <SIP/anveo1-0000000b>AGI Tx >> 200 result=0 <SIP/anveo1-0000000b>AGI Rx << GET VARIABLE QUEUEPOSITION <SIP/anveo1-0000000b>AGI Tx >> 200 result=0 <SIP/anveo1-0000000b>AGI Rx << GET VARIABLE PHONENUMBER_ID <SIP/anveo1-0000000b>AGI Tx >> 200 result=0 <SIP/anveo1-0000000b>AGI Rx << GET VARIABLE SPY <SIP/anveo1-0000000b>AGI Tx >> 200 result=0 <SIP/anveo1-0000000b>AGI Rx << VERBOSE "SELECT * FROM pkg_user WHERE username = '' AND active = 1 LIMIT 1" 25 <SIP/anveo1-0000000b>AGI Tx >> 200 result=1 <SIP/anveo1-0000000b>AGI Rx << VERBOSE "Check If Is Did 15055853610" 10 <SIP/anveo1-0000000b>AGI Tx >> 200 result=1 <SIP/anveo1-0000000b>AGI Rx << VERBOSE "SELECT * FROM pkg_did WHERE did = '15055853610' AND activated = 1 LIMIT 1" 25 <SIP/anveo1-0000000b>AGI Tx >> 200 result=1 <SIP/anveo1-0000000b>AGI Rx << GET VARIABLE SECCALL <SIP/anveo1-0000000b>AGI Tx >> 200 result=0 <SIP/anveo1-0000000b>AGI Rx << GET VARIABLE DIDACCOUNTCODE <SIP/anveo1-0000000b>AGI Tx >> 200 result=0 <SIP/anveo1-0000000b>AGI Rx << VERBOSE "SELECT * FROM pkg_sip WHERE name = '15055853610' OR (alias = '15055853610' AND accountcode = '') LIMIT 1" 25 <SIP/anveo1-0000000b>AGI Tx >> 200 result=1 <SIP/anveo1-0000000b>AGI Rx << VERBOSE "CALL TO PSTN" 15 <SIP/anveo1-0000000b>AGI Tx >> 200 result=1 <SIP/anveo1-0000000b>AGI Rx << VERBOSE "AuthenticateUser " 15 <SIP/anveo1-0000000b>AGI Tx >> 200 result=1 <SIP/anveo1-0000000b>AGI Rx << VERBOSE "SELECT * FROM pkg_sip WHERE techprefix = '150558' AND host != 'dynamic' LIMIT 1" 25 <SIP/anveo1-0000000b>AGI Tx >> 200 result=1 <SIP/anveo1-0000000b>AGI Rx << GET VARIABLE SIP_HEADER(X-AUTH-IP) <SIP/anveo1-0000000b>AGI Tx >> 200 result=0 <SIP/anveo1-0000000b>AGI Rx << VERBOSE "try callingcard" 6 <SIP/anveo1-0000000b>AGI Tx >> 200 result=1 <SIP/anveo1-0000000b>AGI Rx << VERBOSE "Hangup Call Username " 6 <SIP/anveo1-0000000b>AGI Tx >> 200 result=1 <SIP/anveo1-0000000b>AGI Rx << EXEC HANGUP 34 -- AGI Script Executing Application: (HANGUP) Options: (34) <SIP/anveo1-0000000b>AGI Tx >> 200 result=-1 -- <SIP/anveo1-0000000b>AGI Script /var/www/html/mbilling/resources/asterisk/mbilling.php completed, returning 4 == Spawn extension (billing, 15055853610, 1) exited non-zero on 'SIP/anveo1-0000000b' -- Executing [h@billing:1] Hangup("SIP/anveo1-0000000b", "") in new stack == Spawn extension (billing, h, 1) exited non-zero on 'SIP/anveo1-0000000b' panel*CLI>

I wonder if anyone has this issue before, I'm not very knowledgeable on Asterisk, and this Mbilling does not have a GUI interface for Asterisk setup like FreePBX does, so I'm very confused as of what should I do and where to change the settings to fix this, I know Anveo Direct uses SIP URI forwarding, anyone? thanks!

dannyltd avatar Feb 10 '22 01:02 dannyltd

That is the new release, 7.8.0.3, make a downgrade to 7.8.0.2 (Hope you make a backup of your system before update).

voiptelecom avatar Feb 14 '22 11:02 voiptelecom

<SIP/anveo1-0000000b>AGI Rx << VERBOSE "SELECT * FROM pkg_did WHERE did = '15055853610' AND activated = 1 LIMIT 1" 25

15055853610 is a DID number? If yes, add it on menu DID and add a destination

magnussolution avatar Feb 18 '22 20:02 magnussolution