Nii Report post Posted 09/17/2024 11:44 PM hello support , kindly assit, how do we get or know which RV, stores the IMSI number to network(telco) type. in out going call, thanks Share this post Link to post
SupportTeam Report post Posted 09/18/2024 02:04 AM Please explain in more detail what you are trying to achieve, and describe in detail your current setup. Are you using a VoIP/SIP system? Are those SIP trunks connected straight to a Telco? Are the SIP trunks the only connection you have with your Telco or do you also have access to some of the Telco's APIs or databases ? What type of solution are you trying to deploy? What is this IVR system going to be doing? Share this post Link to post
Nii Report post Posted 09/18/2024 10:44 AM hello, Please explain in more detail what you are trying to achieve, and describe in detail your current setup?. - We want to integrate VG to our payment service application Current setup for outgoing calls - A call is made , ⁃ play a sound - to request the callee to enter a digit ⁃ On say digit 1 , a web service is called to the payment app for an action , ⁃ On success , ⁃ A call back to VG is for a sound and SMS sent to the callee. { To enable the WS Call the prompt for payment , the callee network/Telco type (eg 22345 and 22355, 223 is country code and 45 & 54 for network type . How do we get or how does the VG stores that info . } Are you using a VoIP/SIP system? ⁃ Yes, SIP Are those SIP trunks connected straight to a Telco? ⁃ Yes , via an SBC. Are the SIP trunks the only connection you have with your Telco or do you also have access to some of the Telco's APIs or databases ? ⁃ Sip trunks only . What type of solution are you trying to deploy? What is this IVR system going to be doing? ⁃ Deploy a fund raising solution using the IVR system , Thanks. Share this post Link to post
SupportTeam Report post Posted 09/18/2024 11:00 AM It sounds what you are after is the 'CallerID' - which on the outgoing calls is just the number that was dialed. from: https://www.voiceguide.com/vghelp/source/html/resultvariables.htm : $RV_DIALEDNUMBER On outbound call this variable stores the telephone number which was dialed. $RV_CIDNUMBER Caller's Telephone Number. Share this post Link to post
Nii Report post Posted 09/18/2024 11:27 AM Sure, however , to enable the WS choose the right payment prompt, the network type , as per the example i gave need to be captured , how do we achieve this please? &RV_DIALEDNUMBERS , stores the whole number dailied e.g., 223456xxxxxx, but we need only "45". ? which module helps to return a call to the VG on success from a WS Share this post Link to post
SupportTeam Report post Posted 09/18/2024 09:35 PM Quote &RV_DIALEDNUMBERS , stores the whole number dailied e.g., 223456xxxxxx, but we need only "45". For simple string manipulation that can be done in a single command you can just use an Evaluate Expression module see: https://www.voiceguide.com/vghelp/source/html/modevalexpr.htm and look at the String Functions section lower down that page.You need to use the "Mid" function. eg: to return 2 characters starting at position 4 you would use this in the Evaluate Expression module: Mid($RV_DIALEDNUMBER,4,2) If you want to perform more complex operations you can use the Run Script module: https://www.voiceguide.com/vghelp/source/html/modvbs.htm Quote ? which module helps to return a call to the VG on success from a WS You just set a Success path from the Web Service module to whatever module you want the IVR callflow to run next. eg. something like this in the Paths tab of the module: on {Success} goto [Say Payment Processed OK] with "Say Payment Processed OK" replaced with title of your own module. from https://www.voiceguide.com/vghelp/source/html/modws.htm : Quote Paths The following are valid path options: Success/Fail HTTP Response Codes Timeout eg: The following HTTP Response Code paths are all valid: on {200} goto [Say all went OK] on {OK} goto [Say all went OK] on {406} goto [Say trans not accepted] on {Not Acceptable} goto [Say trans not accepted] $RV[moduleTitle_PathTaken] Stores which path was taken when exiting the module. Share this post Link to post
Nii Report post Posted 09/19/2024 12:05 PM Thanks much. meaning VG only captures the "whole number" , i.e. callee and caller numbers? Share this post Link to post
SupportTeam Report post Posted 09/19/2024 08:52 PM Yes. If you need just certain parts of the number, then you need to use functions as described above to extract the parts that you want from the $RV_DIALEDNUMBER and $RV_CIDNUMBER Share this post Link to post