From: Sebastian A. <sp...@sy...> - 2007-03-07 11:02:20
|
nedi wrote: > Hi all > I have SC-375 GSM Gatewa and problems with Caller ID forwarding from > Asterisk to Mobile can be my caller id are wrong in Astlinux > asterisk ??? > i have it so : > > [incomingsipgate.de] > exten =>12366,1,SetCIDName(${CALLERIDNAME}) > exten =>12366,2,Dial(local/10@10) > > How should I change SetCIDName(${CALLERIDNAME} to > Set(CALLERID(name)=name) > ??? You can certainly change SetCIDName(${CALLERIDNAME}) to Set(CALLERID(name)=myName) or Set(CALLERID(name)=${CALLERID(name)}). The latter is the identical code to your code, except compatible with Asterisk 1.4 and not depracated in Asterisk 1.2. I don't think changing this will fix your problem though as your code should still work in Asterisk 1.2. The former is just using a hardcoded name. Regards, Sebastian |