Show caller ID when launching call via webcall.call and extensions_custom.conf

Hi,

I’m using extensions_custom.conf and webcall.call to launch a call with a pre-defined message to an extension…

The action should:

  • Call an pre-defined extension (eg. 222)
  • Show a specific caller id (eg. Security) on the screen of the recipient
  • Play a pre-defined speech file

In extensions_custom.conf i added the following:
[demo_call]
exten => s,1,Answer
same => n,Playback(soundfile)
same => n,Hangup()

In webcall.call I have:
Channel: PJSIP/222
Application: demo_call
Extension: s

When i launch the script, the phone of extension 222 rings, but the caller id of the caller is blank (Anonymous Caller).
Is there any way to make the call appear as if it comes from a certain extension? Or is it possible to show a certain caller ID on the screen of the phone?

Many thanks

Peke

Yes, you can add an arbitrary CallerID directly in the call file.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.