Koozali.org: home of the SME Server

Revisiting Caller Name info

Offline soprom

  • *
  • 589
  • +0/-0
    • www.logiciel-libre.org
Revisiting Caller Name info
« on: August 18, 2008, 09:31:43 PM »
Hi,

I've been using SARK for about 4 months now with great satisfaction.
Thanks for this excellent software!

Actually, I'd like to know if something changed concerning the Caller Name presented by the provider with inbound calls.

Can I activate or use this feature with SARK?

Thanks,

Sophie
Sophie from Montréal

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Revisiting Caller Name info
« Reply #1 on: August 19, 2008, 09:32:47 PM »
Hello Sophie,

We currently have no caller-name processing in SARK.  This is largely due to the fact that it is not supported by BT.  However, you can retrieve it (if present) in a custom-app by referencing CALLERID(name).

Hope this helps

Kind Regards

Offline soprom

  • *
  • 589
  • +0/-0
    • www.logiciel-libre.org
Re: Revisiting Caller Name info
« Reply #2 on: August 19, 2008, 10:01:26 PM »
I found this piece of code on the forum or the web:
Code: [Select]
; inbound entry point for extension 5000
; will get callerid and then keepon with standard include => internal

; will be empty. - FACILITY IE has not been received yet.
exten => _X.,1,NoOp,${CALLERIDNAME}

; wait for the CO to find the name in the database
exten => _X.,2,Wait(1)

; now it shows the name
exten => _X.,3,NoOp,${CALLERIDNAME}

Where does CALLERID(name) come to play?
(I'm not familiar with custom apps)

Thanks for any help...
Sophie from Montréal

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Revisiting Caller Name info
« Reply #3 on: August 20, 2008, 01:53:26 AM »
Hi Sophie

CALLERIDNAME was deprecated sometime around 1.2.  In 1.4 you use CALLERID(name|number|all) depending upon which you want to manipulate.

So a fragment of your code would look like this...

Code: [Select]
...
exten => _X.,1,NoOp,${CALLERID(name)}
...

Kind Regards

S