Re: [asterisk-users] Dial(${PJSIP_DIAL_CONTACTS(Alice)} & ${PJSIP_DIAL_CONTACTS(Bob)}) how not to fail if one endpoint has no registered AOR?

2019-06-10 Thread Administrator TOOTAI

Le 10/06/2019 à 10:53, Benoit Panizzon a écrit :

What about to put eveything in a variable and the remove the last
character if it equal &


Yes, I considered this...

What if you dial three endpoints and the middle one (or last one) is
empty? You would also need to remove the first & and any double &
within that string. Is it faisable with asterisk logic?


When I'm in your case I add *not empty* EP one by one adding & after 
each. At the end, my variable is empty or finish with &. I then have to 
remove this last character and start dial.


--
Daniel

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
 https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Dial(${PJSIP_DIAL_CONTACTS(Alice)} & ${PJSIP_DIAL_CONTACTS(Bob)}) how not to fail if one endpoint has no registered AOR?

2019-06-10 Thread Benoit Panizzon
> What about to put eveything in a variable and the remove the last 
> character if it equal &

Yes, I considered this...

What if you dial three endpoints and the middle one (or last one) is
empty? You would also need to remove the first & and any double &
within that string. Is it faisable with asterisk logic?

-Benoît-

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users