Greetings,
I'm wondering if it's possible to display line breaks with caller ID display.
I have the Polycom ip500 phone, and what I am trying to accomplish is instead of the phone saying 'Incoming call from: name/number' i want it to appear on the phone like this
Incoming Call from: Menu Context last in Name Number
I tried using \n and \\n between the variables (${VAR} \\n ${VAR2}) but that did not work, not that I really expected it to.
It is displaying the correct information, just no spacing between the output on the display of the phone.
Does anybody know if this is possible with the Polycom phones, or even possible at all?
This is how I'm attempting to do it:
[macro-cidrewrite]
exten => s,1,NoOp
exten => s,2,SetVar(REWRITECALLS=${MACRO_CONTEXT} ${CALLERIDNAME} ${CALLERIDNUM})
exten => s,3,SetCIDName(${REWRITECALLS})
exten => s,4,Dial(${ARG2},15)
exten => s,5,Voicemail(u${ARG1})
exten => s,6,Hangup
exten => s,103,Voicemail(b${ARG1})
exten => s,104,Hangup
Thanks, Matt
-- Matt Gibson VOIP Administrator NJ Tech Solutions PSTN: 1.877.999.4678 ex. 6400 FWD: 472645 IAXTEL: 1.700.761.1828
_______________________________________________ Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
