[Asterisk-Users] Re: CallerID Problem

Bromont Quebec Bromont at shaw.ca
Wed Feb 1 13:01:13 MST 2006


Are you actually putting the < > in there?

try:

exten => _9.,1,Set(CALLERID(number)=MAINNUMBER)

Hey,

I'm using a Cisco 2811 to make calls out to a PRI. My asterisk box
connects to it using SIP. The asterisk version is 1.2.0.

In my sip.conf, I set callerid="First Last" <exten>

When I make a an outbound call with the following macro:

exten => _9.,1,Dial(SIP/${EXTEN}@<ROUTER>,,w)
exten => _9.,2,Congestion()

The caller id is set to the extension that's defined in sip.conf.

If I try something like:

exten => _9.,1,Set(CALLERID(number)=<MAINNUMBER>)
exten => _9.,2,Dial(SIP/${EXTEN}@<ROUTER>,,w)
exten => _9.,3,Congestion()

I get the following error:

    -- Got SIP response 488 "Not Acceptable Media" back from <ROUTER>

It all works fine if I don't set the caller id.. Any ideas on why this
may be happening?

Thanks.





More information about the asterisk-users mailing list