[Asterisk-Users] CallerID Problem

Jason Adams jadams at sumosystems.net
Wed Feb 1 11:09:33 MST 2006


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



More information about the asterisk-users mailing list