[Asterisk-Users] Re: Re: Limit on call in minuttes.

NetOne Administrator root at net1.cc
Sun Mar 7 12:52:31 MST 2004


CW_ASN wrote:

>People:
>
>1) Some guy wrote a app_dial modification to start to count time when answer
>arrives. Interested? (thanks to Luciano!)
>AbsoluteTimeOut counts time since this statement is executed... If you have
>a long ring time (without answer), it is counted!
>With the proper patch, the time is counted since answer is recognized.
>
>The sintax is:
>
>[Description]:
>
>Dial(Technology/resource[&Technology2/resource2...][|timeout][|options][|URL
>][|whenhangup]):
>whenhangup is the time to hangup the call in seconds. This time is counted
>since answer is detected. This parameter is a bit different than
>AbsoluteTimeOut
>  
>
 >> This is wrongs. It's me who wrote the patch, it's available in CVS 
also. See 'help application dial' for the correct options.
It's an addition to Dial cmd transfer options. It's set via 
S(number-of-seconds). So try something like this:
Dial(tech/channel,timeout,S(xx))

This is the way it works, for sure.

>2) Other guy wrote a patch for channel.c to insert tones "x" seconds before
>hangup. I can't remember his name (Nicolás, from Rosario?), please look in
>http://bugs.digium.com/
>
>Hope this helps,
>
>Gus
>
>
>----- Original Message -----
>From: "Senad Jordanovic" <senad at boltblue.com>
>To: <asterisk-users at lists.digium.com>
>Sent: Sunday, March 07, 2004 3:26 PM
>Subject: RE: [Asterisk-Users] Re: Re: Limit on call in minuttes.
>
>
>  
>
>>Sorry, but that IS NOT implemented into asterisk... (as far I know of).
>>
>>
>>    
>>
>>>Hi,
>>>
>>>This isn't quit good :(  The caller have the message played, but the
>>>called person are cut off without any warning..
>>>
>>>I hoped to be warned, like "In 1 minnute the line will be
>>>disconected", or just som beep beep
>>>
>>>/HHA
>>>
>>>"Senad Jordanovic" <senad at boltblue.com> wrote in message
>>>news:001c01c4045f$99a2e410$6500a8c0 at senadspc...
>>>      
>>>
>>>>Yes, it is. (If I remember correctly :)
>>>>
>>>>It is "T" that you need to include in that context.
>>>>
>>>>[$CONTEXT]
>>>>exten => 1,AbsoluteTimeout($SECONDS)
>>>>exten => 2,Dial($SOMETHING)
>>>>exten => T,Playback($YOURMESSAGE)
>>>>
>>>>Save $YOURMASSAGE in /var/lib/asterisk/sounds
>>>>
>>>>If above does not work, please let me know.
>>>>
>>>>Ta
>>>>SJ
>>>>
>>>>
>>>>        
>>>>
>>>>>Thank you This works, but..... It just cut the line, I had hoped for
>>>>>some bip bip bip to remind that now your about to be disconected, is
>>>>>this possible as well ?
>>>>>          
>>>>>
>>
>>_______________________________________________
>>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
>>
>>    
>>
>
>
>
>_______________________________________________
>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
>  
>





More information about the asterisk-users mailing list