Prepend a "semi-custom" Outbound parameter

Status
Not open for further replies.

ian.watts

Joined
Apr 8, 2011
Messages
530
Reaction score
1
For an IP-based trunk, I can prepend a value to the number being dialed by an Outbound Rule and things work.
However.. that makes for some rather messy rules.

I was trying to take something like "CalledNum" from http://www.3cx.com/blog/docs/voip-provider-template/ and set a custom parameter to my prepended string "and" that variable afterwards.
The end result I "need" is for the INVITE from user part to be like allthebest123*[email protected].
What I get when putting allthebest123*$CalledNum as a custom item.. is the same thing. It doesn't expand that variable.

How can I get that variable to expand.. so that instead of a bunch of wonky rules I can just prepend that prefix to numbers as this trunk invites calls?

It has less to do with my situation, more to do with mashing a string and variable together as a custom value.
Can it be done?
 
Hi there,
Unfortunately this can only be done through outbound rule with Prepend field.
No concatenation can occur on Voip provider/Outbound Parameters field, if using the custom variable, it will become a static value, which will not include the called num anymore.
 
Status
Not open for further replies.

Latest Posts

Forum statistics

Threads
112,285
Messages
591,705
Members
165,408
Latest member
tom.walker@blackcountryra