[asterisk-users] Page() Function Timeout

Steven Ringwald asric at asric.com
Wed Nov 15 11:45:14 MST 2006


Ken Williams wrote:
> 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.

I had the same problem and ended up changing the 5 to a 300. If you 
don't specify a (N) after the 'w', I believe it defaults to 5.

Steve




More information about the asterisk-users mailing list