Viewing 4 posts - 1 through 4 (of 4 total)
  • Migrated from old forum
    Participant
    Post count: 327
    #6060 |

    The Background playback widget forces you to specify a context. This is not a required field in Asterisk is there anyway to remove it?

    The Gosub won’t allow you to pass an empty string e.g. “” as a parameter. Anyway to handle that?

    The reason for my questions is that both of these issues were not present in the 3.0 VDP version I was using and I’m trying to keep my dialplan consistent.

    thanks,
    Paolo

    Migrated from old forum
    Participant
    Post count: 327
    #6061 |

    I use VDP 3.2 and Background block does not require context to be specified, just the voice file (gsm).
    Maybe I am missing something but there is no field to insert context in Backgroun block in my version.

    Just curious, why would you use gosub to jump to subroutine without specifying which subroutine (empty string)?
    I mean, the purpose of gosub is to ‘go to subroutine’, not to nowhere ;).

    — Mark

    Migrated from old forum
    Participant
    Post count: 327
    #6062 |

    Regarding the Background widget, the context field is a drop down which can’t be blank and by default selects the first context from the list you’ve created.

    Regarding the Gosub widget, obviously the context can’t be blank it’s the argument passed in as “” which was allowed in 3.0 that I’m asking about. See the syntax:

    Gosub([context,]exten,]priority[(arg1,…,argN)])

    Migrated from old forum
    Participant
    Post count: 327
    #6063 |

    I use background without context as well.
    There is no pre-seltected first context from the drop down, just empty field where I can type anything or select from the drop down options.
    I guess you should upgrade to the latest VDP.

    Regards,
    Mark

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.