[asterisk-users] Asterisk + hinting presence + macro

Rob Schall rschall at callone.net
Thu Jun 28 12:06:14 CDT 2007


I currently have about 50 polycom 501 phones on my asterisk setup. The 
dialplan is set to work with mysql (realtime), and all of the extensions 
for the phones route through the same macro (stdexten). This all works 
fine until I tried to set up notify status.

On voip-info, they say do something like...

4444,hint,SIP/4444
4444,1,Dial(SIP/4444)
blah blah blah

This functionality works fine. But what if you have a macro
s,hint,SIP/${ARG1}
s,1,Dial(SIP/${ARG1}

this adds a "s" hint which obviously doesn't work, instead of a hint for 
4444 as it should.

Any ideas?



More information about the asterisk-users mailing list