I'm having hard times with paging intercom
Heres my dialplan
exten => 777,1,Goto(intercom,777,1)
[intercom]
exten => 777,1,SIPAddHeader(Call-Info: <sip:192.168.16.105>\;answer-after=0)
exten => 777,2,Page(Local/3...@page& Local/3...@page& Local/3...@page)
[page] ; Paging context
exten => _X.,1,Macro(page,SIP/${EXTEN})
[macro-page]
; Paging macro:
; Check to see if SIP device is in use and DO NOT PAGE if they are
; ${ARG1} - Device to page
;
exten => s,1,ChanIsAvail(${ARG1}|js) ; j is for dump and s is for ANY call
exten => s,2,SIPAddHeader(Alert-Info: Ring Answer) ; this one is for the
Polycom IP601
exten => s,3,Dial(${ARG1}|3|) ; should ring 3 seconds
exten => s,4,Hangup
exten => s,104,Hangup
Problem is that if lets say 310 is on the phone with a client.. and one
pages all.. (777) then the 310 phone (Linksys 942) puts current call on
hold and or drops the call to answer page.
Is that the send audio to speaker option in preference of the phone that's
not right ?
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net
asterisk-biz mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-biz