Koozali.org: home of the SME Server

redirect unknown caller

Offline gery

  • *
  • 15
  • +0/-0
redirect unknown caller
« on: March 11, 2008, 11:28:31 PM »
Hi Selintra,

is there a possibility to redirect an unknown caller to an extension/voicemail?

Thanks
G.


Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: redirect unknown caller
« Reply #1 on: March 12, 2008, 12:19:11 AM »
You would need to define "known" and "unknown".   Since all we have is CLID (and maybe not even that with analogue lines), then you would need to provide a pool of known caller-ids.  Assuming you have that, then it is trivial to create a custom app to do a look-up and make a routing decision.   If you give us more context on the question then maybe we can give you a better answer than we just have.

Kind Regards

S

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
Re: redirect unknown caller
« Reply #2 on: March 12, 2008, 04:23:48 AM »

Offline fpausp

  • *
  • 728
  • +0/-0
Re: redirect unknown caller
« Reply #3 on: March 12, 2008, 10:00:59 AM »
Hi,

Is this http://wiki.contribs.org/Sail_and_LDAP only a lookup of incoming CID or can i use this also as a phonebook for my phones (linksys spa942) ?


kind regards
fpausp
Viribus unitis

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: redirect unknown caller
« Reply #4 on: March 12, 2008, 10:29:33 AM »
It is purely a lookup (and none-the-worse for that).

Snom units can read LDAP directories but I don't believe that SPA's can.

Have you looked at Xtelsio as a TAPI/Outlook integrator?  It is very good.

Best

S

Offline fpausp

  • *
  • 728
  • +0/-0
Re: redirect unknown caller
« Reply #5 on: March 12, 2008, 01:16:44 PM »
I will take a look at Xtelsio, what i found is http://grimsy.blogspot.com/2007/06/spa942-personal-directory-with-ldap.html what do you think about this, is that usable for non-linksys phones also ?

The overall problem is i have the customers phonenumbers in a mysql-database.

regards
« Last Edit: March 12, 2008, 01:24:00 PM by fpausp »
Viribus unitis

Offline gery

  • *
  • 15
  • +0/-0
Re: redirect unknown caller
« Reply #6 on: March 12, 2008, 01:26:38 PM »
Sorry for my unprecise describtion.

My consideration was that if someone calls me with no CLID and asterisk sends "unknown" to my telphone display (no CLID) i would redirect him directly to voicemail: "Your call will only be received if you don't block your phone number." Is this possible?

Thanks
G.

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: redirect unknown caller
« Reply #7 on: March 12, 2008, 01:58:04 PM »
reply to fpausp =====>

Quote
what do you think about this, is that usable for non-linksys phones also ?

WE already do domething similar for Snom and Aastra phones - look at seldir.conf in headers.  This automatically populates the snoms and aastras.  WE could extend this to spas without too much trouble.


reply to gery ======>

Quote
someone calls me with no CLID...

If that's all you wish to do then you can create a very simple custom app (don't trust my syntax - I'm winging this, but you get the idea).....

Code: [Select]
exten=>s,1,GoToIf ($["${CALLERIDNUM}" = ""]?3)
exten=>s,2,GoTo(wherever_you_were_going_in_the_first_place,1)
exten->s,3,GoTo(somewhere_to_handle_no_callerid,1)


Kind Regards

S


Offline fpausp

  • *
  • 728
  • +0/-0
Re: redirect unknown caller
« Reply #8 on: March 12, 2008, 06:55:57 PM »
Hi Selintra,

That would be great if we can do that for the linksys-phones !!!  :P


Best
fpausp
Viribus unitis

Offline fpausp

  • *
  • 728
  • +0/-0
Re: redirect unknown caller
« Reply #9 on: March 15, 2008, 09:18:28 AM »
Hello Selintra,


Quote
WE could extend this to spas without too much trouble.

Is there anything i can do in the meantime ?


Best

fpausp
Viribus unitis

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: redirect unknown caller
« Reply #10 on: March 15, 2008, 03:21:10 PM »
To save us having to look it up you can show us what the SPA XML looks like for a directory entry.

Best

S

Offline fpausp

  • *
  • 728
  • +0/-0
Re: redirect unknown caller
« Reply #11 on: March 15, 2008, 07:02:44 PM »
Viribus unitis

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: redirect unknown caller
« Reply #12 on: March 15, 2008, 10:18:23 PM »
Don't worry, we have a provisioning guide here somewhere.  I'll look it out next week.

Best

S

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: redirect unknown caller
« Reply #13 on: March 16, 2008, 08:50:03 PM »
Well, I dug out the Linksys provisioning guide yesterday and I think you may be out of luck.    For reasons best known to themselves, Linksys publish no XML or native code for defining the directory entries on the tftp server.   Looks like you're stuck with the few php (and one .net) examples which push the data out to the phone.

Kind Regards

S