Author |
Message |
bonifatio Brekeke Member
Joined: 19 Feb 2010 Posts: 14
Location: EUROPE
|
Posted: Fri Feb 19, 2010 2:54 pm Post subject: Can dialplan limit call duration to an extension |
|
|
1. Brekeke Product Name and version:
Brekeke SIP Server , Version 2.4.3.0
2. Java version:
6.11
3. OS type and the version:
windows server 2008
4. UA (phone), gateway or other hardware/software involved:
5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/networkpatterns.html :5
6. Your problem:
I have a self test phone programmed to automatically answer incoming calls. I would like the connection to disconnect within 60 seconds, if the caller forgets to hang up. Can this be programmed in a dialplan? If so which code to use? |
|
Back to top |
|
hope Brekeke Master Guru
Joined: 15 Jan 2008 Posts: 862
|
Posted: Fri Feb 19, 2010 6:38 pm Post subject: |
|
|
there is Talking Timeout (ms) at sip server /configuration/sip/
you can set it shorter, then sip server will send bye to both caller and callee when the timeout is reached. |
|
Back to top |
|
bonifatio Brekeke Member
Joined: 19 Feb 2010 Posts: 14
Location: EUROPE
|
Posted: Sat Feb 20, 2010 1:53 am Post subject: |
|
|
hi hope, thank you for your reply.
So if I understand you correctly it would mean it would be possible to apply this setting into a dialplan to specify this setting to apply only for a call setup to this one extension number.
I would not like to limit the call duration for all extensions, only the testphone. |
|
Back to top |
|
voipwell.com Partner PBX
Joined: 20 Sep 2005 Posts: 528
Location: Tannersville, Pennsylvania
|
Posted: Sun Feb 21, 2010 12:07 pm Post subject: |
|
|
Hello,
You need use the sip server dial plan to limit the talking length for just a selected user. In the software, Brekeke uses the phrase "talking timeout". These are global vaiables that affect all calls. If you want to limit just a single users or group of users you need to use the sip server dial plan. Below is an example of how to limit calls to 60 seconds for example user 1004. You would need to put this at the top of the dial plan to make sure it gets used. Let's say you wanted to do it for all users that started with 100 you could use 100. for example.
<Matching Patterns>
$request=^INVITE
To=sip:1004@
<Deploy Patterns>
&net.sip.timeout.talking=60000
$continue=true
Last edited by voipwell.com on Sun Feb 21, 2010 1:19 pm; edited 1 time in total |
|
Back to top |
|
bonifatio Brekeke Member
Joined: 19 Feb 2010 Posts: 14
Location: EUROPE
|
Posted: Sun Feb 21, 2010 1:09 pm Post subject: |
|
|
Thanks, it works great. |
|
Back to top |
|
|