Jeremiah Millay
2006-Jan-27 14:55 UTC
[Asterisk-Users] Page() and Asterisk 1.2.3 Problems?
Has anyone else had problems with the Page() application not working under Asterisk 1.2.3? We use Cisco 7960 phones and set one of the lines to auto answer. When someone dials the paging extension it calls the page app and invites all the lines on the phones that are set to auto answer into a meetme conference where all the members are muted except the original caller. When I try to use the same dialplan logic that I used in Asterisk 1.2.1 for paging under Asterisk 1.2.3 it doesn't work. Basically the auto-answer lines get called but no one can hear anything. Then within a minute or two the asterisk console spits out these messages: Jan 27 15:09:13 WARNING[5429] app_meetme.c: Unable to write frame to channel: Resource temporarily unavailable Jan 27 15:12:11 WARNING[6228] app_meetme.c: Unable to write frame to channel: Inappropriate ioctl for device Jan 27 15:21:32 DEBUG[6502] app_meetme.c: Ooh, something swapped out under us, starting over The first line a of output above is spammed over and over. The second and third show up as well but not as much. Here is some snippents from extensions.conf [globals] INTERCOM=Local/2202_com@page&Local/2201_com@page&Local/2205_com@page&Local/2203_com@page&Local/2220_com@page [macro-page] ; Paging macro: ; Check to see if SIP device is in use and DO NOT PAGE if they are ; ${ARG1} - Device to page ; ${ARG2} - Other line (not paging line...we don't want to disturb their other line) ; exten => s,1,ChanIsAvail(${ARG2}|js) ; j is for dump and s is for ANY call. Check to see if line 1 is available ;exten => s,n,Set(_ALERT_INFO="RA") ; This is for the PolyComs exten => s,1,NoOp(${AVAILSTATUS}) exten => s,n,SIPAddHeader(Call Info: Anwser-After=0) ; This is for the Snoms and Others exten => s,n,NoOp() ; Add others here exten => s,n,Dial(${ARG1}||) exten => s,n,Hangup exten => s,102,Hangup() [page] ; Paging context ; Two line phone set to auto answer exten => 2201_com,1,Macro(page,SIP/2201_com,SIP/2201) exten => 2202_com,1,Macro(page,SIP/2202_com,SIP/2202) exten => 2203_com,1,Macro(page,SIP/2203_com,SIP/2203) exten => 2205_com,1,Macro(page,SIP/2205_com,SIP/2205) exten => 2220_com,1,Macro(page,SIP/2220,SIP/2220) ; One line phone set to auto-answer [home] exten => 7999,1,Set(TIMEOUT(absolute)=60) exten => 7999,2,Page(${INTERCOM}|) Like I said before this was working with 1.2.1 but 1.2.3 doesn't seem to like it. Any help / suggestions would be appreciated if you see a coding error.