Koozali.org: home of the SME Server
Obsolete Releases => SME VoIP (Asterisk, SAIL etc) => Topic started by: soprom 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
-
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
-
I found this piece of code on the forum or the web:
; 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...
-
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...
...
exten => _X.,1,NoOp,${CALLERID(name)}
...
Kind Regards
S