We had implemented an automatic call generating system using Asterisk. We did this by copying the .call file in /var/spool/asterisk/outgoing. Now we have a requirement of getting a return value for rejected calls (by callee) and the calls to non-existing numbers. Is there any way to get that value so that I can update my DB with the corresponding entry. Do suggest some tips. Any help is appreciated. Thanks in advance.
Can anyone suggest some tips??? Im badly in need of a tip/suggestion. Please help. Thanks in advance.
It depends on your provider. With SIP, you usually don’t get as much out-of-band info when terminating to the PSTN. With PRI, you get a lot more out-of-band info when terminating to the PSTN.
Try turning up debugging on the * box and then manually make a few calls to known disconnected numbers to see what the provider is returning to you.