[asterisk-users] callerid overwrite
Andres
andres at telesip.net
Tue Jan 28 13:23:11 CST 2014
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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140128/761700cb/attachment.html>
More information about the asterisk-users
mailing list