I don't use quotes on either if that makes a difference. When are you
setting it? Maybe you are losing the incoming number by the time you
set it the number has been changed to the extension. I use Sipuras and
have no problem with this. Here's an example of a macro I use when
forwarding an incoming call. I call this macro prior to dialing to
forward. The second part of this lets the receiver know that there
wasn't any callerid on the incoming call but that Asterisk is forwarding
the call to them.
[macro-fwdcallid]
exten => s,1,GotoIf(${CALLERIDNUM}?known:set)
exten => s,n(known),Set(CALLERID(number)=${CALLERIDNUM})
exten => s,n,Set(CALLERID(name)=${CALLERIDNAME})
exten => s,s+2(set),Set(CALLERID(number)=2120009999|a)
exten => s,n,Set(CALLERID(name)=Anonymous Forward|a)
MARK.
Ben Higley wrote:
Is there a resolution to this problem..... It was posted a few weeks back.
But just chiming in again to see if someone has had any luck:
Problem:
Incoming call to a Sipura 2000, 1000, 3000 ATA.
I use the SetCallerID(name)="blah blah blah"
SetCAllerId(number)="1234567890"
However, On the handset, in this case, it's extension 2000. I see on the
handset display
Blah Blah Blah
2000
I have tried in the dial command to use the "o" - as shown in the show
application dial - to use "old style", but this has not solved the issue.
This makes the end user not able to go through the caller id missed calls
to dial that person back...
Thanks...
_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --
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
_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --
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