IVR callback -Announcement plus DTMF sequence

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • bennylu
    Genius
    • Mar 2011
    • 221

    IVR callback -Announcement plus DTMF sequence

    I modify the sample callback _simple and add an option to let caller enter a phone number and then save it to variable 'CustNumber'. The phone number here starts with 0. When it saves the number to dialer, the front 0 is missing. There is an TTS to play back the 'CustNumber' and the 0 is still there. It does not have any problem when it saves the default caller ID picked by system to dialer. I guess it is problem with string or number. Is there any way I can change it or fix the issue?
  • kruegerb
    Genius
    .
    • Oct 2013
    • 276

    #2
    it seems to be a problem with string-number conversion.
    like in element number in the callback_simple script, make sure that the quotas in front and at end: if custnumber the collected digigts, than custnumber = "'"+<:custnumber:>+"'"

    Comment

    • bennylu
      Genius
      • Mar 2011
      • 221

      #3
      Thanks and I have fixed the issue.

      Comment

      Loading