Forums Read-only archive

Can dialplan limit call duration to an extension

5 posts · Brekeke SIP Server Forum

bonifatio Original post
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/ ... terns.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?
hope
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.
bonifatio
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.
voipwell.com
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
bonifatio
Thanks, it works great. :D