[asterisk-users] Page() Function Timeout

Ken Williams ken at intermountainelectronics.com
Wed Nov 15 11:01:04 MST 2006


BAH!
 
My Makefile in the apps folder was missing app_page.c.  I added it,
recompiled, page is working properly.

________________________________

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Ken
Williams
Sent: Wednesday, November 15, 2006 10:33 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] Page() Function Timeout


I'm trying to use a simple page function.  It starts a MeetMe conference
with the devices I've listed, but the devices hang up after 3-5 seconds.
After doing some research I found this was a problem, and I needed to
remove a (5) from app_page.c
 
Well, my app_page.c didn't have the (5).  I did make clean; make install
again just in case I had some weird compiled version installed that had
the (5) in it.  After compiling I restarted the asterisk service and
tried paging again and still had the same problem.
 
In the CLI I get the following, which you can see the (5) is still in
there somehow.  
 
    -- Playing 'beep' (language 'en')
    -- Launching MeetMe(1010553064d|mqxdw(5)) on SIP/710-09a50038
    -- Created MeetMe conference 1023 for conference '1010553064d'
    -- Launching MeetMe(1010553064d|mqxdw(5)) on SIP/717-09a48758

I've grep'd the entire src folder for \(5\) as well as qxd trying to
find all instances of this, and the only ones are listed in the
app_page.c file.  Any suggestions on where to get this rogue (5) out of
here?
 
        snprintf(meetmeopts, sizeof(meetmeopts), "%ud|%sqxdw", confid,
ast_test_flag(&flags, PAGE_DUPLEX) ? "" : "m");
 
and 
 
        if (!res) {
                snprintf(meetmeopts, sizeof(meetmeopts), "%ud|A%sqxd",
confid, $
                pbx_exec(chan, app, meetmeopts, 1);
        }

are the only sections of the app_page.c that have the meetme call in it.
 
My page functions, fwiw, both have the same problem:
 
;Paging
 
exten => 760,1,SIPAddHeader(Call-Info: answer-after=0)
exten => 760,2,Page(SIP/717&SIP/710&SIP/702|d)
exten => 760,3,Hangup
 
exten => 761,1,SIPAddHeader(Call-Info: answer-after=0)
exten => 761,2,Page(SIP/717&SIP/710&SIP/702)
exten => 761,3,Hangup

Any suggestions would be very helpful.

Ken
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061115/1d258a5d/attachment.htm


More information about the asterisk-users mailing list