[Asterisk-Users] Re: CallerID Problem

Gary Richardson gary.richardson at gmail.com
Wed Feb 1 13:45:08 MST 2006


No, I'm not including the <> -- I was trying to show that it was
something that I removed from my example..

Thanks.

On 2/1/06, Bromont Quebec <Bromont at shaw.ca> wrote:
> 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.
>
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>



More information about the asterisk-users mailing list