>
>
>
> Make sure you are actually setting it as:
>
> Set(CALLERID(num)=290XXXX)
>
> The previous poster has the formatting incorrect. If your callerID is a 4
> digit
> number, and you want to modify it to have the prefix on it before you send
> it
> back out, you can do:
>
> Set(CALLERID(num)=290${CALLERID(num)})
>
> Alternatively you could make the 290 a variable, then set it prior to
> calling
> the Set() application if you needed the prefix to be set based upon some
> logic.
>
>
Thank you for correcting me. I forgot that actually Set() does no need that
${} brackets to set that $var.
And about prefix, it's can be done with many ways my direct setting number
was just an exemple.
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

Reply via email to