How can I put a time limit on calls for specific extensions? For extension 123, for example, I want the phone to disconnect after 5 minutes. Thank you Sim
Hi Sim, You can set the time limit of a call by Adding S(times in seconds) option in Dial Application. For Example if u want to disconnect call After 5 mintue for extension 123 then use Dial Application in extensions.conf file as follow: exten => 123,1,Dial(SIP/abc|10| S(400)) With Regards, Sukhbir Singh ----- Original Message ----- From: "Sim Zacks" <sim at compulab.co.il> To: <asterisk-users at lists.digium.com> Sent: Monday, May 19, 2008 10:38 AM Subject: [asterisk-users] time limit How can I put a time limit on calls for specific extensions? For extension 123, for example, I want the phone to disconnect after 5 minutes. Thank you Sim _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users This message and its attachments contain confidential information and may also contain legally privileged information. This message is intended solely for the named addressee. If you are not the addressee indicated in this message (or authorized to receive for addressee), you may not copy or deliver any part of this message or its attachments to anyone or use any part of this message or its attachments. Rather, you should permanently delete this message and its attachments (and all copies) from your system and kindly notify the sender by reply e-mail. Any content of this message and its attachments that does not relate to the official business of Cellebrum.com Pvt Ltd or its affiliates and/or subsidiaries must be taken not to have been sent or endorsed by any of them. Opinions and information in this email that do not relate to the official business of Cellebrum.com Pvt Ltd, shall be understood as neither given nor endorsed by Cellebrum.com Pvt Ltd. Any action/proceeding/opportunity upon the contents of this email taken by not intended addressee shall attract liabilities both criminal and civil against such addressee. Email communications are not private and no warranty is made that e-mail communications are timely, secure or free from computer virus or other defect.
Sorry, Do like that exten => 123,1,Dial(SIP/abc|10| S(300)) In Last mail time was wrong. ----- Original Message ----- From: "Sukhbir Singh" <sukhbir.singh at cellebrum.com> To: "Asterisk Users Mailing List - Non-CommercialDiscussion" <asterisk-users at lists.digium.com> Sent: Monday, May 19, 2008 10:45 AM Subject: Re: [asterisk-users] time limit Hi Sim, You can set the time limit of a call by Adding S(times in seconds) option in Dial Application. For Example if u want to disconnect call After 5 mintue for extension 123 then use Dial Application in extensions.conf file as follow: exten => 123,1,Dial(SIP/abc|10| S(400)) With Regards, Sukhbir Singh ----- Original Message ----- From: "Sim Zacks" <sim at compulab.co.il> To: <asterisk-users at lists.digium.com> Sent: Monday, May 19, 2008 10:38 AM Subject: [asterisk-users] time limit How can I put a time limit on calls for specific extensions? For extension 123, for example, I want the phone to disconnect after 5 minutes. Thank you Sim _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users This message and its attachments contain confidential information and may also contain legally privileged information. This message is intended solely for the named addressee. If you are not the addressee indicated in this message (or authorized to receive for addressee), you may not copy or deliver any part of this message or its attachments to anyone or use any part of this message or its attachments. Rather, you should permanently delete this message and its attachments (and all copies) from your system and kindly notify the sender by reply e-mail. Any content of this message and its attachments that does not relate to the official business of Cellebrum.com Pvt Ltd or its affiliates and/or subsidiaries must be taken not to have been sent or endorsed by any of them. Opinions and information in this email that do not relate to the official business of Cellebrum.com Pvt Ltd, shall be understood as neither given nor endorsed by Cellebrum.com Pvt Ltd. Any action/proceeding/opportunity upon the contents of this email taken by not intended addressee shall attract liabilities both criminal and civil against such addressee. Email communications are not private and no warranty is made that e-mail communications are timely, secure or free from computer virus or other defect. _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users This message and its attachments contain confidential information and may also contain legally privileged information. This message is intended solely for the named addressee. If you are not the addressee indicated in this message (or authorized to receive for addressee), you may not copy or deliver any part of this message or its attachments to anyone or use any part of this message or its attachments. Rather, you should permanently delete this message and its attachments (and all copies) from your system and kindly notify the sender by reply e-mail. Any content of this message and its attachments that does not relate to the official business of Cellebrum.com Pvt Ltd or its affiliates and/or subsidiaries must be taken not to have been sent or endorsed by any of them. Opinions and information in this email that do not relate to the official business of Cellebrum.com Pvt Ltd, shall be understood as neither given nor endorsed by Cellebrum.com Pvt Ltd. Any action/proceeding/opportunity upon the contents of this email taken by not intended addressee shall attract liabilities both criminal and civil against such addressee. Email communications are not private and no warranty is made that e-mail communications are timely, secure or free from computer virus or other defect.
According to http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+Dial#Parameters the timeout parameter is only in effect if the call is not answered.> The timeout parameter is optional. If not specifed, the Dial command will wait indefinitely, exiting only when the originating channel hangs up, or all the dialed channels return a busy or error condition.Otherwise it specifies a maximum time, in seconds, that the Dial command is to __wait for a channel to answer__. Am I missing something? Thank you Sim Sukhbir Singh wrote:> Hi Sim, > > You can set the time limit of a call by Adding S(times in seconds) > option in Dial Application. > For Example if u want to disconnect call After 5 mintue for extension > 123 then use Dial Application in extensions.conf file as follow: > > exten => 123,1,Dial(SIP/abc|10| S(400)) > > With Regards, > Sukhbir Singh > > > ----- Original Message ----- > From: "Sim Zacks" <sim at compulab.co.il> > To: <asterisk-users at lists.digium.com> > Sent: Monday, May 19, 2008 10:38 AM > Subject: [asterisk-users] time limit > > > How can I put a time limit on calls for specific extensions? > For extension 123, for example, I want the phone to disconnect after 5 > minutes. > > Thank you > Sim > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > > This message and its attachments contain confidential information and may also contain legally privileged information. This message is intended solely for the named addressee. If you are not the addressee indicated in this message (or authorized to receive for addressee), you may not copy or deliver any part of this message or its attachments to anyone or use any part of this message or its attachments. Rather, you should permanently delete this message and its attachments (and all copies) from your system and kindly notify the sender by reply e-mail. Any content of this message and its attachments that does not relate to the official business of Cellebrum.com Pvt Ltd or its affiliates and/or subsidiaries must be taken not to have been sent or endorsed by any of them. Opinions and information in this email that do not relate to the official business of Cellebrum.com Pvt Ltd, shall be understood as neither given nor endorsed by Cellebrum.com Pvt Ltd. Any action/proceeding/opportunity upon the contents of this email taken by not intended addressee shall attract liabilities both criminal and civil against such addressee.> > Email communications are not private and no warranty is made that e-mail communications are timely, secure or free from computer virus or other defect. > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
Hi Sim, I did not get you. If you are talking about timeout limit of the connected call. Then you can acheive this by Adding S option in Dial Aplication. I have already tested this option. If this is not your problem then please elaborate it little more. With Regards, Sukhbir ----- Original Message ----- From: "Sim Zacks" <sim at compulab.co.il> To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users at lists.digium.com> Sent: Monday, May 19, 2008 11:22 AM Subject: Re: [asterisk-users] time limit According to http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+Dial#Parameters the timeout parameter is only in effect if the call is not answered.> The timeout parameter is optional. If not specifed, the Dial command will > wait indefinitely, exiting only when the originating channel hangs up, or > all the dialed channels return a busy or error condition.Otherwise it specifies a maximum time, in seconds, that the Dial command is to __wait for a channel to answer__. Am I missing something? Thank you Sim Sukhbir Singh wrote:> Hi Sim, > > You can set the time limit of a call by Adding S(times in seconds) > option in Dial Application. > For Example if u want to disconnect call After 5 mintue for extension > 123 then use Dial Application in extensions.conf file as follow: > > exten => 123,1,Dial(SIP/abc|10| S(400)) > > With Regards, > Sukhbir Singh > > > ----- Original Message ----- > From: "Sim Zacks" <sim at compulab.co.il> > To: <asterisk-users at lists.digium.com> > Sent: Monday, May 19, 2008 10:38 AM > Subject: [asterisk-users] time limit > > > How can I put a time limit on calls for specific extensions? > For extension 123, for example, I want the phone to disconnect after 5 > minutes. > > Thank you > Sim > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > > This message and its attachments contain confidential information and may > also contain legally privileged information. This message is intended > solely for the named addressee. If you are not the addressee indicated in > this message (or authorized to receive for addressee), you may not copy or > deliver any part of this message or its attachments to anyone or use any > part of this message or its attachments. Rather, you should permanently > delete this message and its attachments (and all copies) from your system > and kindly notify the sender by reply e-mail. Any content of this message > and its attachments that does not relate to the official business of > Cellebrum.com Pvt Ltd or its affiliates and/or subsidiaries must be taken > not to have been sent or endorsed by any of them. Opinions and information > in this email that do not relate to the official business of Cellebrum.com > Pvt Ltd, shall be understood as neither given nor endorsed by > Cellebrum.com Pvt Ltd. Any action/proceeding/opportunity upon the contents of this email taken by not intended addressee shall attract liabilities both criminal and civil against such addressee.> > Email communications are not private and no warranty is made that e-mail > communications are timely, secure or free from computer virus or other > defect. > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users_______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users This message and its attachments contain confidential information and may also contain legally privileged information. This message is intended solely for the named addressee. If you are not the addressee indicated in this message (or authorized to receive for addressee), you may not copy or deliver any part of this message or its attachments to anyone or use any part of this message or its attachments. Rather, you should permanently delete this message and its attachments (and all copies) from your system and kindly notify the sender by reply e-mail. Any content of this message and its attachments that does not relate to the official business of Cellebrum.com Pvt Ltd or its affiliates and/or subsidiaries must be taken not to have been sent or endorsed by any of them. Opinions and information in this email that do not relate to the official business of Cellebrum.com Pvt Ltd, shall be understood as neither given nor endorsed by Cellebrum.com Pvt Ltd. Any action/proceeding/opportunity upon the contents of this email taken by not intended addressee shall attract liabilities both criminal and civil against such addressee. Email communications are not private and no warranty is made that e-mail communications are timely, secure or free from computer virus or other defect.
Oops. My bad. I realized that it was the S option that you were talking about, not the timeout parameter. Thank you Sim Sukhbir Singh wrote:> Hi Sim, > > You can set the time limit of a call by Adding S(times in seconds) > option in Dial Application. > For Example if u want to disconnect call After 5 mintue for extension > 123 then use Dial Application in extensions.conf file as follow: > > exten => 123,1,Dial(SIP/abc|10| S(400)) > > With Regards, > Sukhbir Singh > > > ----- Original Message ----- > From: "Sim Zacks" <sim at compulab.co.il> > To: <asterisk-users at lists.digium.com> > Sent: Monday, May 19, 2008 10:38 AM > Subject: [asterisk-users] time limit > > > How can I put a time limit on calls for specific extensions? > For extension 123, for example, I want the phone to disconnect after 5 > minutes. > > Thank you > Sim > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > > This message and its attachments contain confidential information and may also contain legally privileged information. This message is intended solely for the named addressee. If you are not the addressee indicated in this message (or authorized to receive for addressee), you may not copy or deliver any part of this message or its attachments to anyone or use any part of this message or its attachments. Rather, you should permanently delete this message and its attachments (and all copies) from your system and kindly notify the sender by reply e-mail. Any content of this message and its attachments that does not relate to the official business of Cellebrum.com Pvt Ltd or its affiliates and/or subsidiaries must be taken not to have been sent or endorsed by any of them. Opinions and information in this email that do not relate to the official business of Cellebrum.com Pvt Ltd, shall be understood as neither given nor endorsed by Cellebrum.com Pvt Ltd. Any action/proceeding/opportunity upon the contents of this email taken by not intended addressee shall attract liabilities both criminal and civil against such addressee.> > Email communications are not private and no warranty is made that e-mail communications are timely, secure or free from computer virus or other defect. > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
Is there a way to limit incoming calls as well to a specific extension? Thank you Sim Sukhbir Singh wrote:> Sorry, Do like that > exten => 123,1,Dial(SIP/abc|10| S(300)) > In Last mail time was wrong. > > ----- Original Message ----- > From: "Sukhbir Singh" <sukhbir.singh at cellebrum.com> > To: "Asterisk Users Mailing List - Non-CommercialDiscussion" > <asterisk-users at lists.digium.com> > Sent: Monday, May 19, 2008 10:45 AM > Subject: Re: [asterisk-users] time limit > > > Hi Sim, > > You can set the time limit of a call by Adding S(times in seconds) > option in Dial Application. > For Example if u want to disconnect call After 5 mintue for extension > 123 then use Dial Application in extensions.conf file as follow: > > exten => 123,1,Dial(SIP/abc|10| S(400)) > > With Regards, > Sukhbir Singh > > > ----- Original Message ----- > From: "Sim Zacks" <sim at compulab.co.il> > To: <asterisk-users at lists.digium.com> > Sent: Monday, May 19, 2008 10:38 AM > Subject: [asterisk-users] time limit > > > How can I put a time limit on calls for specific extensions? > For extension 123, for example, I want the phone to disconnect after 5 > minutes. > > Thank you > Sim > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > > This message and its attachments contain confidential information and may > also contain legally privileged information. This message is intended solely > for the named addressee. If you are not the addressee indicated in this > message (or authorized to receive for addressee), you may not copy or > deliver any part of this message or its attachments to anyone or use any > part of this message or its attachments. Rather, you should permanently > delete this message and its attachments (and all copies) from your system > and kindly notify the sender by reply e-mail. Any content of this message > and its attachments that does not relate to the official business of > Cellebrum.com Pvt Ltd or its affiliates and/or subsidiaries must be taken > not to have been sent or endorsed by any of them. Opinions and information > in this email that do not relate to the official business of Cellebrum.com > Pvt Ltd, shall be understood as neither given nor endorsed by Cellebrum.com > Pvt Ltd. Any action/proceeding/opportunity upon the contents of this email > taken by not intended addressee shall attract liabilities both criminal and > civil against such addressee. > > Email communications are not private and no warranty is made that e-mail > communications are timely, secure or free from computer virus or other > defect. > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > > This message and its attachments contain confidential information and may also contain legally privileged information. This message is intended solely for the named addressee. If you are not the addressee indicated in this message (or authorized to receive for addressee), you may not copy or deliver any part of this message or its attachments to anyone or use any part of this message or its attachments. Rather, you should permanently delete this message and its attachments (and all copies) from your system and kindly notify the sender by reply e-mail. Any content of this message and its attachments that does not relate to the official business of Cellebrum.com Pvt Ltd or its affiliates and/or subsidiaries must be taken not to have been sent or endorsed by any of them. Opinions and information in this email that do not relate to the official business of Cellebrum.com Pvt Ltd, shall be understood as neither given nor endorsed by Cellebrum.com Pvt Ltd. Any action/proceeding/opportunity upon the contents of this email taken by not intended addressee shall attract liabilities both criminal and civil against such addressee.> > Email communications are not private and no warranty is made that e-mail communications are timely, secure or free from computer virus or other defect. > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users