Re: [asterisk-users] Set caller ID to anonymous

2009-01-15 Thread Dinesh Nair
On Wed, 14 Jan 2009 16:09:02 +0100, philipp-chemn...@gmx.de wrote:
 setting the caller ID works perfect. Detecting if a caller is or isn't 
 registered is the problem. I'm using sip.

wouldnt ChanIsAvail() or regexten/regcontext settings in sip.conf assist
in this ?

-- 
Regards,   /\_/\   All dogs go to heaven.
din...@alphaque.com(0 0)   http://www.openmalaysiablog.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] Set caller ID to anonymous

2009-01-14 Thread philipp-chemnitz
Hi guys,

I am trying to set the caller ID to 'Anonymous anonymous'  if the caller is 
not registered to the asterisk server. But I can't find a solution.

Any ideas?

Regards Philipp
-- 
Sensationsangebot verlängert: GMX FreeDSL - Telefonanschluss + DSL 
für nur 16,37 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K1308T4569a

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Set caller ID to anonymous

2009-01-14 Thread Benny Amorsen
philipp-chemn...@gmx.de writes:

 I am trying to set the caller ID to 'Anonymous anonymous' if the
 caller is not registered to the asterisk server. But I can't find a
 solution.

Which bit is causing you trouble? Detecting that the caller isn't
registered, or setting caller ID?

The latter is easy, just
 exten = _X!,n,Set(CALLERID(all)=Anonymous anonymous)


/Benny



___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Set caller ID to anonymous

2009-01-14 Thread Dinesh Nair
On Wed, 14 Jan 2009 09:24:05 +0100, philipp-chemn...@gmx.de wrote:

 Hi guys,
 
 I am trying to set the caller ID to 'Anonymous anonymous'  if the
 caller is not registered to the asterisk server. But I can't find a
 solution.

put registered users in one context which dials out, and unregistered
users in another which sets the callerid and then dials out.

-- 
Regards,   /\_/\   All dogs go to heaven.
din...@alphaque.com(0 0)   http://www.openmalaysiablog.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Set caller ID to anonymous

2009-01-14 Thread philipp-chemnitz
Hi,

Am Mittwoch 14 Januar 2009 schrieb Benny Amorsen:
 philipp-chemn...@gmx.de writes:
  I am trying to set the caller ID to 'Anonymous anonymous' if the
  caller is not registered to the asterisk server. But I can't find a
  solution.

 Which bit is causing you trouble? Detecting that the caller isn't
 registered, or setting caller ID?

 The latter is easy, just
  exten = _X!,n,Set(CALLERID(all)=Anonymous anonymous)

setting the caller ID works perfect. Detecting if a caller is or isn't 
registered is the problem. I'm using sip.

Regards Philipp

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users