Koozali.org: home of the SME Server

Obsolete Releases => SME VoIP (Asterisk, SAIL etc) => Topic started by: Teviot on February 03, 2010, 03:41:52 PM

Title: Inbound call with no CLID attached
Post by: Teviot on February 03, 2010, 03:41:52 PM
Does anyone have any ideas how an inbound caller would be asked to enter a phone number if the caller ID was not passed when the call was initiated?

Before I started with SARK-SAIL a friend and I were using TRIXBOX which has an option to ask the caller to enter a phone number before the call would be connected.
Title: Re: Inbound call with no CLID attached
Post by: SARK devs on February 03, 2010, 04:03:47 PM
You can do it by routing your inbound calls through a custom app which checks for the presence of CLID and asks for it if it isn't present. 

However, I must admit that I'm having difficulty with this idea...  If someone is deliberately witholding CLID, then asking them to manually input it is unlikely, in may humble view, to yield anything useful, although I suppose it may deter a few.   

Kind Regards

S
Title: Re: Inbound call with no CLID attached
Post by: Teviot on February 03, 2010, 04:12:50 PM
Is there a custom app available or would I need to write one?  If I need to write one where would I find information and documentation to teach myself to create these custom apps?
Title: Re: Inbound call with no CLID attached
Post by: SARK devs on February 03, 2010, 04:33:24 PM
The apps use standard asterisk extensions code.  There are quite a few books available on the subject but I think the O'Reilly one is best.  You can get it from Amazon.

Kind Regards

S
Title: Re: Inbound call with no CLID attached
Post by: Teviot on February 04, 2010, 12:57:20 AM
The apps use standard asterisk extensions code.  There are quite a few books available on the subject but I think the O'Reilly one is best.  You can get it from Amazon.

Kind Regards

S

The O'Reilly book, Do you have a name for the book
Title: Re: Inbound call with no CLID attached
Post by: SARK devs on February 04, 2010, 08:28:51 AM
http://www.amazon.co.uk/Asterisk-Telephony-Jim-Van-Meggelen/dp/0596510489/ref=sr_1_1?ie=UTF8&s=books&qid=1265268492&sr=1-1
Title: Re: Inbound call with no CLID attached
Post by: Teviot on February 07, 2010, 05:38:54 AM
Thank you
Title: Re: Inbound call with no CLID attached
Post by: Teviot on March 02, 2010, 05:56:00 AM
Hi

I Managed to find a download for a PDF file for the above mentioned book at  http://www.asteriskdocs.org/ (http://www.asteriskdocs.org/)

I downloaded it and had a quick look thought it and even did a search for custom apps but was unable to find anything that would help me.  Is there something that I am missing or am I loosing the plot
Title: Re: Inbound call with no CLID attached
Post by: SARK devs on March 02, 2010, 11:44:33 PM
Custom app is a SARK/SAIL term.  It just means a container where you can write Asterisk extensions.conf code.  There should be at least on example already on your systems (called utilities).  The Asterisk book shows you how to code extensions.conf code.  You create your code in a custom app and then pass control to it using inbound call-routing in trunks or by dialling an extension number you've created in your app.

Kind Regards

S
Title: Re: Inbound call with no CLID attached
Post by: Teviot on April 06, 2010, 02:32:28 AM
SARK devs

I found this http://www.sfr-fresh.com/unix/misc/asterisk-1.4.30.tar.gz:a/asterisk-1.4.30/doc/privacy.txt (http://www.sfr-fresh.com/unix/misc/asterisk-1.4.30.tar.gz:a/asterisk-1.4.30/doc/privacy.txt) but am a little confused in how to incorporate this into SARK

Terms like "Zapateller" what is this and do I have it installed?

Would you or one of the forum members be able to give me a hand with this?

Also, is there anything I need to check for to add this feature to SARK PBX