Jump to content

Call duration


mikhail

Recommended Posts

Im trying to set call duration limit, using SOAP.

I have a web server with a script that i took from here http://wiki1.pbxnsip.com/wiki/index.php/SOAP

When a registed user calling to Trunk the script is requested (Im shure that it is so - cause when I set duration = "" the user fail to make call)

But when duration = "10"

 

<code>

..........

else if($type=="CALLINGCARDCREDIT") {

.........

$duration="10";

.........

</code>

 

call establishes and after 10 seconds nothing happens - users stay coonected.

 

 

I was shure that pbx will disconnect them aftre 10 seconds

Am I doing somethimg wrong?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...