How do I get the incoming party number in vocal services?


using PHP method

To get the phone number that is calling your application, you can use the following PHP method:

   $number = $call->getCallerNumber();

in VXML

To get the caller phone number in VXML, you can use this session variable: session.connection.remote.uri.