Debug inbound without console

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Debug inbound without console

Postby smontoya » Wed Apr 10, 2019 5:07 pm

So I'm trying to diagnose a sudden SIP 404 issue and we don't have access to asterisk's console.

Our carrier says they are sending the call without any issue and apparently the server is responding 404, however the DID was working just fine. The DID with an issue is an int'l number, but any US based number will work just fine.

I have access to a copy of asterisk's database via replication.

Is there a way to log the incoming calls to an external address (different host) or view asterisk's logs from ViciDial GUI? To be able to review the number pattern and adjust dialplans accordingly.

Some possible ideas that I have are:
* Point the incoming carrier to a different custom context to only do a curl or AGI or some application cmd to an external host with the incoming DID dialed.
* Point the incoming carrier to a different custom context and have it do a AGI(call_log) to save it to the database.
* Any other method available within [trunkinbound] context to allow/view logs of incoming calls that didnt match a DID ?

The DID default is active so as far as I read agi-DID_route.agi at the very least is should be logging the call in vicidial_did_log or call_log or something, shouldn't it?

Thanks.

EDIT:
VERSION: 2.14-679a
BUILD: 180618-2300
Asterisk 1.8

Version: 2.14b0.5
SVN Version: 3006
DB Schema Version: 1549
DB Schema Update Date: 2018-07-10 21:11:03
Vicibox 8.0 from .iso | Vicidial 2.14-812a | SVN 3442 | DB SCHEMA 1633 | Asterisk 13.38.2-vici | Dell PowerEdge R410 | 2xE5-2420 v2 @ 2.20GHz, 12 cores,32 GB Ram |
smontoya
 
Posts: 24
Joined: Thu Nov 14, 2013 8:43 pm

Re: Debug inbound without console

Postby williamconley » Wed Apr 10, 2019 5:25 pm

Gather Asterisk Output -This setting allows you to activate a process that can run every 5 minutes on an active asterisk server and log the SIP/IAX peers and registry output along with the last 1000 lines of Asterisk CLI output. This output is then available to be displayed in the Asterisk Output Report on the Admin Utilities page. Default is N for inactive.

Available for each server in admin->servers.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Debug inbound without console

Postby smontoya » Wed Apr 10, 2019 5:59 pm

Thank you! that's what I was looking for.
Vicibox 8.0 from .iso | Vicidial 2.14-812a | SVN 3442 | DB SCHEMA 1633 | Asterisk 13.38.2-vici | Dell PowerEdge R410 | 2xE5-2420 v2 @ 2.20GHz, 12 cores,32 GB Ram |
smontoya
 
Posts: 24
Joined: Thu Nov 14, 2013 8:43 pm


Return to Support

Who is online

Users browsing this forum: No registered users and 95 guests