Apologies if this is a resend, but I've sent this 12 hours ago and still
can't see it on the list.

Hi,
 
I've just started to setup my phones with Buddy watch.  Basically, it all
works fine when using the simple example on the wiki:
 
exten => 123,hint, SIP/some_sip_reg
exten => 123,1,SIP/some_sip_reg
 
BUT, what I need to do is dynamically decide where the hint checks for buddy
status, because I am using patterns in this context.
 
In other words, I need to find out the values of ${some_sip_reg} before the
using the hint priority. Ideally, something sort of like this:
 
exten => _XXX,hint,Set(hint_reg=${EXTEN}-reg}
exten => _XXX,hint,SIP/${hint_reg}
exten => _XXX,SIP/${EXTEN}-reg}
 
Or, even easier (if it can even be done) is write a function:
exten => _XXX,hint,SIP/ReturnCorrectRegistration()
 
 
What's the best way to approach my problem?
 
Mike
 
 
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

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

Reply via email to