On 1/28/14, 1:55 PM, motty cruz wrote:
Hi all,
I'm having issues with overwrite caller id, when I call someone my caller id should be "mycompanyinc" but instead my id shows up as my extension number 101.

this is what i have in sip.conf
[101]
type=friend
context=sipphones
call-limit=99
callerid="iuser 101"
disallow=all
allow=ulaw
allow=alaw
username=101
secret=Passwd
dtmfmode=rfc2833
host=dynamic
mailbox=101@default
nat=yes
canreinvite=no


this is what i have in extensions.conf
[outbound]
exten => _91NXXNXXXXXX,1,Set(CALLERID(num)=mycompanyinc)
This is how we have it and it works fine on Asterisk 1.8:
Set(CALLERID(number)=insert your number here)
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,





--
Technical Support
http://www.cellroute.net

-- 
_____________________________________________________________________
-- 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