i add the below to sip.cfg files manual before i switched to using the endpoint manager. the phone would work for about 45 mins then stop working. i could never get the the blf status and the intercom to work together, no matter what i did(manually editing sip.cfg). when manually enable the presence feature in the sip.cfg file the intercom would stop working. the alertinfo was in my sip.cfg when i tried manually. i just left it off in my post.
after switching to the endpoint manager.
if i ssh into the server and add the below code the intercom will work.( blf works to).
nano is the linux file editor. file to edit /etc/asterisk/extensions_custom.conf
nano /etc/asterisk/extensions_custom.conf
exten => 1502,1,SIPAddHeader(Alert-Info: Ring Answer)
exten => 1502,2,Set(Call-Info: ;answer-after=0)
exten => 1502,3,Set(__SIP_URI_OPTIONS=intercom=true)
exten => 1502,4,ChanIsAvail(SIP/502&SIP/1502,js)
exten => 1502,5,Macro(user-callerid,)
exten => 1502,6,Dial(Local/502@from-internal,A(beep),)
the above code is for extension 502.
i can add a 1+extension and the intercom work. you dont have to use the *80+ext. this is annoying becuase you have to add the above code for every extension. (i got this to work using the endpoint manager) i have not tried to get it to work manually editing the sip.cfg but i think it would work. my problem now is that i cant get the page all phones to work. if i call from from 501 to the other extenions it picks up on 501 but just rings the other extensions.
i have read that i might have to install dahdi. read the bottom of this post.
http://www.freepbx.org/support/documentation/module-documentation/paging-and-intercom
i dont know how to install and recompile this file. i am not that good at linux. can someone post how to do this.
thanks in advance