Access device name in Dialplan

Hi,

If in my sip.conf i have the following device

[sip0001] ← how to access this as variable in dialplan
type=peer
host=18.134.18.56
port=5060
context=acme

Is the [sip0001] available as variable in dialplan

Thanks

peername - R/O Get the name of the peer.

in Home - Asterisk Documentation

However, you should note that chan_sip is deprecated and scheduled for removal in Autumn next year.

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