On Wed, Feb 20, 2019 at 12:08:14PM -0500, Brian J. Murrell wrote:
> exten =>
> s,n,Set(EXT=${IF($[${SIP}=PJSIP]?${PJSIP_DIAL_CONTACTS(${STRREPLACE(ARG2,PJSIP/,)})}:${ARG2})})
>
> But that ${IF expression?tval:fval} doesn't work because tval has a :
> in it which the if function is taking as the
Following up on my previously asked question if I rewrite the branching
example (not that it negates the more general branching question) I was
using as such:
exten =>
s,n,Set(EXT=${IF($[${SIP}=PJSIP]?${PJSIP_DIAL_CONTACTS(${STRREPLACE(ARG2,PJSIP/,)})}:${ARG2})})
exten =>