- 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?
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?