Seems i have set up the card properly. Not sure if its something in my config or what. Basically i have a Dialplan where a user would call in and it basically records dtmf to a sql database. It works fine without defineing a user to that ext etc. So i have used the extension 500. my sip phones call it fine. Here’s my issue my Card connects through a local extension at work anyhow. I want the user to call into our main line, dial an extension that would lead to my Asterisk server that would then run that dialplan “500”.
here is my current dialplan. Yes im sorry for the lack of knowledge of asterisk and i have been searching for the answers and have come short. Thanks for any help that you can provide.
include=default
include=parkedcalls
include=conferences
include=ringgroups
include=voicemenus
include=queues
include=voicemailgroups
include=directory
include=pagegroups
include=page_an_extension
exten=500,1,Answer(500)
exten=500,n,MYSQL(Connect connid localhost admin metro02 testdatabase)
exten=500,n,Wait(3)
exten=500,n,Authenticate(63876)
exten=500,n,Playback(EmployeeID)
exten=500,n,Wait(1)
exten=500,n,Read(EmployeeID,beep,8,si,2,20)
exten=500,n,Wait(2)
exten=500,n,Playback(WorkOrder)
exten=500,n,Wait(1)
exten=500,n,Read(workorder,beep,8,si,2,20)
exten=500,n,Wait(2)
exten=500,n,Playback(Inspection#)
exten=500,n,Wait(1)
exten=500,n,Read(inspection,beep,8,si,2,20)
exten=500,n,Wait(2)
exten=500,n,Playback(Status)
exten=500,n,Wait(1)
exten=500,n,Read(status,beep,8,si,2,20)
exten=500,n,Wait(1)
exten=500,n,MYSQL(Query resultid ${connid} INSERT INTO statreport (woid,inspnum,empnum,status) VALUES (${workorder},${inspection},${EmployeeID},'${status}'))
exten=500,n,Playback(ThankYou)
exten=500,n,Wait(3)
exten=500,n,MYSQL(Disconnect ${connid})
exten=500,n,Hangup()
It may be something simple im missing but any help is appreciated. im running asterisk 1.6 w/ gui.