Hello,

If I'm not mistaken, numbered placeholders are not supported by
dialplan's SPRINTF function.
Though this is strictly not blocking, having them would allow concise
expressions such as:

Dial(${SPRINTF(${PJSIPFORMAT},mytrunk,123456789)})

with :

Set(PJSIPFORMAT="PJSIP/%2$s@%1$s")
Set(SIPFORMAT="SIP/%2$s@%1$s")
or
Set(DAHDIFORMAT="DAHDI/%1$s/%2$s")

What do you think of this ?

Regards

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

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

Reply via email to