On Tue, 28 Jan 2014 10:55:58 -0800
motty cruz <motty.c...@gmail.com> wrote:

> this is what i have in extensions.conf
> [outbound]
> exten => _91NXXNXXXXXX,1,Set(CALLERID(num)=mycompanyinc)
> exten => _91NXXNXXXXXX,2,Dial(SIP/att/${EXTEN:1},80)
> exten => _9NXXXXXX,1,Set(CALLERID(num)=mycompanyinc)
> exten => _9NXXXXXX,2,Dial(SIP/att/${EXTEN:1},80)
> 
> any ideas? as this happens random,

You're setting CALLERID(num) to a name.  Use CALLERID(name) instead.
Additionally, you might want to set CALLERID(num) to your DID.

You can do both name and number at the same time by using
CALLERID(all), something like this:

exten => _91NXXNXXXXXX,1,Set(CALLERID(all)="mycompanyinc"<123-456-7890>)


-- 

C. Chad Wallace, B.Sc.
The Lodging Company
http://www.lodgingcompany.com/
OpenPGP Public Key ID: 0x262208A0


-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to