Forum Replies Created

Viewing 15 posts - 76 through 90 (of 327 total)
  • Migrated from old forum
    Participant
    Post count: 327

    Kevin, i know it.
    I started to create my macro in VDP.
    An i see in User’s Manual in Context Editing Window in tab ‘CALLFLOW’ a box (component) called “Macro”
    According to description this is what i need.
    But there is no such component in MY callflow tab.

    Migrated from old forum
    Participant
    Post count: 327

    Ok, if I remember correctly VDP itself will not read in and “run” an outside macro directly. I think you need to recreate the workflow in a new macro created in VDP itself if you want to be able to manage it there. You may be able to have a VDP dialplan call outside code manually depending on how the diaplan is coded within VDP itself, but I’m not 100% sure. However, VDP will not just read in the code and make it appear in your dialplan design flow, etc. It will have to be manually done within your dialplan.

    Kevin

    Migrated from old forum
    Participant
    Post count: 327

    It supposed to do some routine jobs first example – language selection menu in different contexs. It is similiar for every action.
    Plus, i wrote IVR navigation macro, which receives ivr file as argument and some parameters and controls IVR flow (main menu announce, step back, repeat announce, go to top and calls corresponding to user’s selection context)
    this context can call the same macro with another parameters.

    Migrated from old forum
    Participant
    Post count: 327

    Ok, what is it supposed to do and where do you want to call it from? Inbound or outbound context? More information will help. 🙂

    Kevin

    Migrated from old forum
    Participant
    Post count: 327

    Dialplan macro.
    Asterisk Macro application.

    CLI> core show application Macro

    Info about application ‘Macro’
    Synopsis
    Macro Implementation.

    Description
    Executes a macro using the context macro-,

    Syntax
    Macro(name[,arg1[,arg2,…]])

    Migrated from old forum
    Participant
    Post count: 327

    Is it a dialplan macro you are talking about, or an AGI script you’re trying to run?

    Kevin

    Migrated from old forum
    Participant
    Post count: 327

    Kevin, thanks for reply.
    I already have a macro.
    How can i call it from my dialplan context?

    Migrated from old forum
    Participant
    Post count: 327

    mt,
    From the main dialog you will see a button on the left hand side that says “Macros”, which will display all macros in your dialplan.To create a new one, simply click on “New” from the top menu and you will get a dialog box that pops up and asks the name you want to call the macro. If you look at the title of that dialog you will see it says “Macro”. Create a new one and then move on from there. Hope this helps.

    Kevin

    Migrated from old forum
    Participant
    Post count: 327

    Ok.. found the problem, and I corrected it.

    Extension: Set to _1XXX
    Dial object: Type: SIP, Resource: EXTEN

    It now works perfectly. Thanks for the help.

    Migrated from old forum
    Participant
    Post count: 327

    ”All our extension are 4 digits, starting with 1, so 1000, 1001,…1999
    For the pattern, I shoudl put _1xxx”
    That is correct.

    Not sure what I should put in the Dial Resources. What “Type / Resource / Extension” do I need to enter.
    Check this tutorial: http://www.apstel.com/while-loop/dial-voip-provider/

    Also, you may check “Simple Voice Menu, Special extensions, Dial block and Voicemail” educational movie at http://www.apstel.com/forums/topic/educational-movies-about-visual-dialplan-for-asterisk/

    Raman

    • This reply was modified 10 years, 6 months ago by  admin.
    • This reply was modified 10 years, 6 months ago by  admin.
    Migrated from old forum
    Participant
    Post count: 327

    Raman,

    Thanks for the reply. Now.. I do have questions on what I should put in the Extension Object and the Dial Object:

    Extension object:
    All our extension are 4 digits, starting with 1, so 1000, 1001,…1999

    For the pattern, I shoudl put _1xxx

    Dial Object:

    Not sure what I should put in the Dial Resources. What “Type / Resource / Extension” do I need to enter.

    Thanks again for your help.

    Migrated from old forum
    Participant
    Post count: 327

    Hello Titon,

    If I understood you correctly, you need to define extension for example 123456 in the callflow where the call will be forwarded. So, when user enters the callflow, then picks option 3 (in the first background block) for example to dial out, then it need to enter for example 123456 number in the second background block and the call flow will continue on that extension, see the example below.

    http://imageshack.us/photo/my-images/7/picmb.png/

    Raman

    Migrated from old forum
    Participant
    Post count: 327

    hey Raman,

    Attached is the VDP. Please refer to SI-MAIN.

    Here is the logic:

    – user calls in, and a welcome message is played
    – There is a business hour conditional branch
    – A message is played asking caller to enter extension, or select a queue.
    – If no input, call goes to front / receptionist queue

    – There is an invalid and Time Out Message

    – 7 queues are defined in the Dial plan

    Issue:

    If user press a single key, it goes to the queue just fine. If user enters extension, the vdp loops to the beginning of the vdp.
    Any advice or comments would be greatly appreciated.

    – titon

    Migrated from old forum
    Participant
    Post count: 327

    Could you upload a .vdp file so we could take a look?

    Raman

    Migrated from old forum
    Participant
    Post count: 327
    in reply to: Caller ID #6017 |

    You should create “callerID” variable first and then set its value to Set(callerID=${CALLERID(num)}).
    Check the image below for the details.
    http://imageshack.us/f/835/picjxg.png/

    Raman

Viewing 15 posts - 76 through 90 (of 327 total)