[Asterisk-Users] CallerID Problem
Gary Richardson
gary.richardson at gmail.com
Wed Feb 1 11:56:46 MST 2006
Num and Number are aliases, I believe.
I just tried it and I got the same error..
Thanks.
On 2/1/06, Jason Adams <jadams at sumosystems.net> wrote:
> Have you tried this:
>
> exten => _9.,1,Set(CALLERID(num)=<MAINNUMBER>)
>
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Gary
> Richardson
> Sent: Wednesday, February 01, 2006 12:47 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: [Asterisk-Users] CallerID Problem
>
> 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
> _______________________________________________
> --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