Length Of Dial String

Home » Asterisk Users » Length Of Dial String
Asterisk Users 5 Comments

Hi all

as per the new release notice for 13.33.0 received today – can anyone advise me the max limit of the string to the Dial Command – see
* [ASTERISK-27946
] –
dial (API): Storage of dialed target uses AST_MAX_EXTENSION
when it shouldn’t

I have been fighting with this issue for months trying to find a solution I
need to call 20+ devices at the same time so dial strings are very long I
cant really use a queue(ringall) which was my original idea as the customer needs different groups for virtually every call some of which are simple sip devices and others have to be local devices (Internal and External CLIs). Paddy Grice

5 thoughts on - Length Of Dial String

  • Paddy,

    Why not use local extensions? You can do something like this. Exten => s,1,Dial(Local/set1@call_all&Local/set2@call_all
    &Local/set3@call_all)

    [call_all]
    Exten => set1,1,Dial(SIP/100&SIP/101&SIP/102&SIP/103&SIP/104&SIP/105
    Exten => set1,1,Dial(SIP/106&SIP/107&SIP/108&SIP/109&SIP/110&SIP/111
    Exten => set1,1,Dial(SIP/112&SIP/113&SIP/114&SIP/1015&SIP/116&SIP/117

  • Hi Dovid

    Yes was one of the options but as the required list is dynamic becomes very messy – and all combinations problem – where as “call all workers job xxx”
    is what is needed so the ability to call 20+ numbers is what is needed – agi does a database search for all jobx workers and constructs a dialstring with SIP, DAHDI and Local devices.

    Can someone tell me where to find maximum string length for the dial data in the DIAL command

    Paddy

    _____

    From: Dovid Bender [mailto:dovid@telecurve.com]
    Sent: 01 May 2020 10:26
    To: paddy@wizaner.com; Asterisk Users Mailing List – Non-Commercial Discussion Subject: Re: [asterisk-users] Length of dial string

    Paddy,

    Why not use local extensions? You can do something like this. Exten =>
    s,1,Dial(Local/set1@call_all&Local/set2@call_all&Local/set3@call_all)

    [call_all]
    Exten => set1,1,Dial(SIP/100&SIP/101&SIP/102&SIP/103&SIP/104&SIP/105
    Exten => set1,1,Dial(SIP/106&SIP/107&SIP/108&SIP/109&SIP/110&SIP/111
    Exten => set1,1,Dial(SIP/112&SIP/113&SIP/114&SIP/1015&SIP/116&SIP/117

    Hi all

    as per the new release notice for 13.33.0 received today – can anyone advise me the max limit of the string to the Dial Command – see
    * [ASTERISK-27946
    ] –
    dial (API): Storage of dialed target uses AST_MAX_EXTENSION
    when it shouldn’t

    I have been fighting with this issue for months trying to find a solution I
    need to call 20+ devices at the same time so dial strings are very long I
    cant really use a queue(ringall) which was my original idea as the customer needs different groups for virtually every call some of which are simple sip devices and others have to be local devices (Internal and External CLIs).

    Paddy Grice

  • Or you could just increase MAX_EXTENSION and recompile.


    Your life is like a penny. You’re going to lose it. The question is:
    How do you spend it?

    John Covici wb2una
    covici@ccs.covici.com

  • Hi Paddy!

    This used to be 80 characters total (including all characters like channel type, ‘&’ and ‘/’. Had the same issue in the past where I extended that in the code and recompiled. From what I understand there is basically no longer a hard limit in Dial since the recent change in the latest versions other than a single device must not exceed this but you can concatenate any number of them within the Dial string.

    Hi all

    as per the new release notice for 13.33.0 received today – can anyone advise
    me the max limit of the string to the Dial Command – see
    * [ASTERISK-27946
    ] –
    dial (API): Storage of dialed target uses AST_MAX_EXTENSION
    when it shouldn’t

    I have been fighting with this issue for months trying to find a solution I
    need to call 20+ devices at the same time so dial strings are very long I
    cant really use a queue(ringall) which was my original idea as the customer
    needs different groups for virtually every call some of which are simple sip
    devices and others have to be local devices (Internal and External CLIs).

    Paddy Grice

  • Thanks for the info – will build latest version and test Paddy

    —–Original Message—–
    From: Floimair Florian [mailto:f.floimair@commend.com]
    Sent: 04 May 2020 08:33
    To: paddy@wizaner.com; Asterisk Users Mailing List – Non-Commercial Discussion Subject: Re: [asterisk-users] Length of dial string

    Hi Paddy!

    This used to be 80 characters total (including all characters like channel type, ‘&’ and ‘/’. Had the same issue in the past where I extended that in the code and recompiled. From what I understand there is basically no longer a hard limit in Dial since the recent change in the latest versions other than a single device must not exceed this but you can concatenate any number of them within the Dial string.

    Hi all

    as per the new release notice for 13.33.0 received today – can anyone advise
    me the max limit of the string to the Dial Command – see
    * [ASTERISK-27946

    ] –
    dial (API): Storage of dialed target uses AST_MAX_EXTENSION
    when it shouldn’t

    I have been fighting with this issue for months trying to find a solution I
    need to call 20+ devices at the same time so dial strings are very long I
    cant really use a queue(ringall) which was my original idea as the customer
    needs different groups for virtually every call some of which are simple sip
    devices and others have to be local devices (Internal and External CLIs).

    Paddy Grice