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

2004-03-07 Thread Hans-Henrik Andresen
Hi,

Thank you, but this I cant get to work.

/HHA


 so that should enable you to do the following:
 Call timeout = 20 sec
 Max Call Duration = 300 sec = 5 min.

 exten =
411,1,Dial(IAX2/[EMAIL PROTECTED]/[EMAIL PROTECTED],20,S(300))

 however, I have not tried it yet so someone correct me if I am wrong..




___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


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

2004-03-07 Thread Hans-Henrik Andresen

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 ?

/Hans-Henrik


Senad Jordanovic [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 exten = 1,AbsoluteTimeout ($SECONDS)





___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


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

2004-03-07 Thread CW_ASN
You must change the setwhentohangup function, see channel.c for that.
Someone wrote a patch to do this (see http://bugs.digium.com/).

Regards,

Gus

- Original Message -
From: Hans-Henrik Andresen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, March 07, 2004 12:31 PM
Subject: [Asterisk-Users] Re: Limit on call in minuttes.



 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 ?

 /Hans-Henrik


 Senad Jordanovic [EMAIL PROTECTED] wrote in message
 news:[EMAIL PROTECTED]
  exten = 1,AbsoluteTimeout ($SECONDS)





 ___
 Asterisk-Users mailing list
 [EMAIL PROTECTED]
 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
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


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

2004-03-07 Thread Senad Jordanovic
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
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


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

2004-03-07 Thread Soren Rathje
Ok, it actually works fine here..

Asterisk CVS-03/06/04-14:35:21, Copyright (C) 1999-2004 Digium.


From extensions.conf:

[pstn-out-nat]
;
ignorepat = 0

; NOT USED
exten = _0XX0X,1,Congestion

; Local eight-digit dialing accessed through trunk interface
exten = _0NXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}},20,S(20))
exten = _0NXXX,2,Congestion


From * console:

-- Executing Dial(SIP/1000-4d25, Zap/1/4060|20|S(30)) in new
stack
-- Setting call duration limit to 30 seconds.
-- Called 1/4060
-- Zap/1-1 answered SIP/1000-4d25
-- Hungup 'Zap/1-1'
  == Spawn extension (default, 04060, 1) exited non-zero on
'SIP/1000-4d25'
cdr_odbc: Query Successful!


-- Søren

Hans-Henrik Andresen [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Hi,

 Thank you, but this I cant get to work.

 /HHA

 
  so that should enable you to do the following:
  Call timeout = 20 sec
  Max Call Duration = 300 sec = 5 min.
 
  exten =
 411,1,Dial(IAX2/[EMAIL PROTECTED]/[EMAIL PROTECTED],20,S(300))
 
  however, I have not tried it yet so someone correct me if I am wrong..




 ___
 Asterisk-Users mailing list
 [EMAIL PROTECTED]
 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
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users