Thanks a million for the examples. I'm going to try it out in my test environment over the next couple weeks and see what happens!

On 6/12/2012 7:29 PM, Steve Edwards wrote:
On Tue, 12 Jun 2012, Nunya Biznatch wrote:

I will look into the local channel variable in the sip.conf. That sounds promising. If I populate that data, how does it make it to the display of a phone on campus? I guess that's a piece I haven't either read or been able to wrap my head around yet.

sip.conf:

[my-extension]
        setvar                          = LOCATION=Main Lobby

extensions.conf

exten = *,n, set(CALLERID(name)=Tora! Tora! Tora!)
        exten = *,n,                    set(CALLERID(num)=${LOCATION})
        exten = *,n,                    dial(sip/security)
        exten = *,n,                    hangup()

This shows 'Tora! Tora! Tora!' as line 1 and 'Main Lobby' on my cisco 7960.


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
              http://www.asterisk.org/hello

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

Reply via email to