Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7657125
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T12:56:40+00:00 2026-05-31T12:56:40+00:00

I am working on a voip system supposed to work like this: i call

  • 0

I am working on a voip system supposed to work like this:

  • i call a number with twilio client
  • Talk to other party and when necessary hit a button to take him on hold music

i call the number like this inside twilio client:

Twilio.Device.connect({"call": num});

then store the call details in database. when twilio responds to twiml url, the databse record is updated with callsid so i can access it to modify the call.

at this point when i want to take the call on hold, on server side i use:

$client->account->calls->get($callSid)->update("CurrentUrl", 'hold.xml');

the problem is, when i run the line above. the other party disconnects and i am taken on hold music instead of him.

how can i make sure he doesnt disconnect and go on hold?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T12:56:41+00:00Added an answer on May 31, 2026 at 12:56 pm

    Have you looked at the REST API documentation?

    http://www.twilio.com/docs/api/rest/change-call-state

    Although, I think changing URL may change the URL for all parties… Have a look and let me know how you get on. If I have some time later I’ll try and replicate.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am working on a project where we make a VOIP phone call to
I'm working with pbx for voip calls. One aspect of pbx is that you
Working on an irc client in Adobe AIR in JavaScript, and thinking about logging.
I would like to allow some users to be able to launch a voip
Working example: http://alpha.jsfiddle.net/gTpWv/ Both of the methods work separately, but once regexp for smilies
Working with Json, how can I NSlog only the title in this code: NSDictionary
Working on a somewhat complex page for configuring customers at work. The setup is
Working with python interactively, it's sometimes necessary to display a result which is some
Working with TCL and I'd like to implement something like the Strategy Pattern .
Working with COM interop, I can call a managed function from within unmanaged code.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.