[Asterisk-Users] paging thru sipura-841

Steve Clark sclark at netwolves.com
Mon May 23 08:05:52 MST 2005


Steve Clark wrote:
> Joel Duffield wrote:
> 
>>Hey steve
>>
>>I remember a tip somewhere where they used a conference room and added all
>>the users into that conference muted, then kicked them out at the end of the
>>call. Sorry I can't remember at all where this was but it looked like it
>>could work. How did you get the autoanswer to work, I have tried different
>>patches and non work?
>>
>>joel
>>
>>-----Original Message-----
>>From: asterisk-users-bounces at lists.digium.com
>>[mailto:asterisk-users-bounces at lists.digium.com]On Behalf Of Steve Clark
>>Sent: Friday, May 20, 2005 9:43 AM
>>To: asterisk-users at lists.digium.com
>>Subject: [Asterisk-Users] paging thru sipura-841
>>
>>
>>Hello List,
>>
>>I've spent the last day trying to find information on how to call multiple
>>sip
>>phones and have
>>them all answer so I page everbody. When I use Dial( ext&ext&ext... ) the
>>first
>>phone that answers
>>gets the page, but none of the others do. Is there a way to get around this?
>>
>>TIA,
>>Steve
>>_______________________________________________
>>Asterisk-Users mailing list
>>Asterisk-Users at lists.digium.com
>>http://lists.digium.com/mailman/listinfo/asterisk-users
>>To UNSUBSCRIBE or update options visit:
>>   http://lists.digium.com/mailman/listinfo/asterisk-users
>>--
>>No virus found in this incoming message.
>>Checked by AVG Anti-Virus.
>>Version: 7.0.322 / Virus Database: 266.11.14 - Release Date: 5/20/2005
>>
>>--
>>No virus found in this outgoing message.
>>Checked by AVG Anti-Virus.
>>Version: 7.0.322 / Virus Database: 266.11.14 - Release Date: 5/20/2005
>>
>>_______________________________________________
>>Asterisk-Users mailing list
>>Asterisk-Users at lists.digium.com
>>http://lists.digium.com/mailman/listinfo/asterisk-users
>>To UNSUBSCRIBE or update options visit:
>>   http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>>
> 
> CVS head has an app SIPAddHeader which lets you add the necessary call-info 
> header that the sipura841
> looking for to autoanswer.
> We have tried the meetme thing but the problem with that is there is no way to 
> add the necessary call-info
> header with the current call queuing scheme - it needs to be enhanced to be able 
> to accept the additional sip
> header info.
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> 

Ok we got it to work. Looking at chan_sip.c I found a variable called 
SIPADDHEADER which is added to the
sip header if it is set.

So using the info from the wiki for the polycom and meetme we changed the perl 
program to
sub make_call {
         $exten = shift;
         $temp_file = "SIP".$exten.".call";
         open (call, ">/tmp/$temp_file");

         print call << "EOF";
Channel: SIP/$exten
MaxRetries: 1
Retry: 0
RetryTime: 60
Context: add-to-page
Extension: $exten
Priority: 1
SetVar: SIPADDHEADER="Call-Info: \;answer-after=0"
EOF
         close(call);
         return $temp_file;
...

HTH
Steve



More information about the asterisk-users mailing list