Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.




27 posts

Geek


#61182 11-May-2010 14:26
Send private message

I have an asterisk server all setup and running already, what I'm looking to do is call a bunch of numbers and record which calls were to disconnected lines. I've got ${HANGUPCAUSE} writing into the CDR, but it is recording as 0/'NO ANSWER'. Obviously, I need to be able to tell the difference between an unanswered call and a disconnected line.
At the moment, my very simple callplan is ::

exten => _0N.,1,Dial(DAHDI/g0/${EXTEN},20,Tr)
exten => _0N.,n,Set(CDR(userfield)=${HANGUPCAUSE}.${DIALSTATUS})

The plan is to extend this later on to record the disconnects against a customer database using an AGI script.

Have I missed some configuration option? Any suggestions/alternatives would be much appreciated.

I'm using a TDM410P with 4 FXO modules to bridge the SIP phones we have with analog lines provided by Telstraclear.

Cheers.

Create new topic


27 posts

Geek


  #328935 11-May-2010 14:46
Send private message

Ok, after some meddling I'm now getting 'ANSWERED', I had the timeout way too short. So back to the original problem, can anyone suggest a way of getting asterisk to detect and log disconnected calls?

391 posts

Ultimate Geek

Trusted

  #329012 11-May-2010 17:11
Send private message

There's no out of band signalling with analog lines so you can't get the detailed information that you're after without resorting to hacks such as tone detection.




 
 
 
 


28951 posts

Uber Geek

Moderator
Trusted
Biddle Corp
Lifetime subscriber

  #329022 11-May-2010 17:40
Send private message

I don't believe it can be done either. DAHDI does't know the reason for the incomplete call, just whether it connects or doesn't connect.

You would need to find a VoIP provider who could provide you with the SIP signalling for this or use ISDN which may give you this signalling, I've never actually tried to see what status you get from a disconnected number.

Obviously I'd have to question what motives you have for such a dialler - there are legitimate ways to get lists of numbers.


391 posts

Ultimate Geek

Trusted

  #329033 11-May-2010 17:55
Send private message

ISDN would work fine, and a SIP provider may pass you those details.

I've just tested a non-existent number through 2Talk and got a CALL_REJECTED which is different from NO_ANSWER (FreeSWICH).

I too though am slightly dubious of the motives. 






27 posts

Geek


  #329047 11-May-2010 18:19
Send private message

We already have a large database of customers, I've been asked to flatten this into a list of active customers. We've tried manually calling all these people, but its proving costly due to volume of disconnects.
This has been suggested as a more cost-effective method of narrowing down the list, I don't agree with it but I don't make the decisions. I shall look into an ISDN line next then.

Thanks for the assistance.

391 posts

Ultimate Geek

Trusted

  #329049 11-May-2010 18:23
Send private message

Fair enough.

A SIP trunk is going to be much more cost effective to setup and likely to run.






27 posts

Geek


  #329308 12-May-2010 12:27
Send private message

On the subject of SIP trunks, I'm assuming this kind of calling would be in breech of Terms and Services?
I did take a quick look at 2talk, and the unlimited business plan would be suitable, but I get the feeling tying up the lines constantly would be beyond 'fair use'.

Cheers.

 
 
 
 


28951 posts

Uber Geek

Moderator
Trusted
Biddle Corp
Lifetime subscriber

  #329328 12-May-2010 12:58
Send private message

And it's also not "unlimited".



27 posts

Geek


  #329330 12-May-2010 13:02
Send private message

Yeah, I had gathered that from their terms and conditions.

Create new topic



Twitter and LinkedIn »



Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

OPPO Find X2 Lite brings flagship features to mid-range 5G smartphone
Posted 29-May-2020 12:52


Sony introduces the digital camera ZV-1 for content creators
Posted 27-May-2020 12:47


Samsung Announces 2020 QLED TV Range
Posted 20-May-2020 16:29


D-Link A/NZ launches AI-Powered body temperature measuring system
Posted 20-May-2020 16:22


NortonLifeLock Online Banking Protection now available for New Zealand banks
Posted 20-May-2020 16:14


SD Express delivers new gigabyte speeds for SD memory cards
Posted 20-May-2020 15:00


D-Link A/NZ launches Nuclias cloud managed network solution hosted in Australia
Posted 11-May-2020 17:53


Logitech introduces new video streaming solution for home studios
Posted 11-May-2020 17:48


Next generation Volvo cars to be powered by Luminar LiDAR technology
Posted 7-May-2020 13:56


D-Link A/NZ launches Wi-Fi Certified EasyMesh system
Posted 7-May-2020 13:51


Spark teams up with Microsoft to bring Xbox All Access to New Zealand
Posted 7-May-2020 13:01


Microsoft plans to establish its first datacenter region in New Zealand
Posted 6-May-2020 11:35


Genesis School-gen has joined forces with Mind Lab Kids
Posted 1-May-2020 12:53


Malwarebytes expands into privacy with fast, frictionless VPN
Posted 30-Apr-2020 16:06


Kordia to donate TV airtime on Channel 200 to community groups
Posted 30-Apr-2020 16:00



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.