Hi
I'm Using Thidlane MTE 6.1.1.5 with * 1.4.37, if i try to route an incoming call to a huntlist while prepending a text string...the text string completeley replaces the CallerID, if i dont set a prepend text the callerID is shown correctly, using a queue the prepend text string and callerID were displayed correctly.
I prefer to use a huntlist instead of a queue since i need to route the calls on an extension and then after X seconds..the call needs to be routed to another extension, and the running version of asterisk doesnt have a sequential ring strategy for queues.
Thanks in advance.
Stefano
sorry, i forgot to mentiot
sorry, i forgot to mentiot that i apply the prepend text to a feature code, routing to that hunt list.
If i call from a mobile...hiding the callerID it shows $TEXT-Anonymous, while with no callerid hide it shows $TEXT-
If i call the feature code from any extension inside my tenant, it shows correctly $TEXT-CALLERID
Any ideas?
EDIT:
I've duplicated the script "go to hunt list" and changed the script:
exten => s,1,Set(CALLERID(name)=${ARG2}${CALLERID(name)})
exten => s,n,Goto(${ARG1},s,1)
to
exten => s,1,Set(CALLERID(name)=${ARG2}${CALLERID(num)})
exten => s,n,Goto(${ARG1},s,1)
Now it shows the correct callerid.
Stefano
thats not the correct
thats not the correct callerid.. CALLERID(name) and CALLERID(num) are two different fields.
you probably have a space in your Callerid name which is having this effect..
Set(CALLERID(name)=Text- somevalue
in your dialplan you probably get an error about setting multiple variables
try
exten => s,1,Set(CALLERID(name)="${ARG2}${CALLERID(name)}")
send it to a feature code that goes to hunt list