<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 1/28/14, 1:55 PM, motty cruz wrote:<br>
</div>
<blockquote
cite="mid:CALoOYy4UhCzBkioPtDk=HoZCrENmyGmhsTcG2ESH3tAS=ZOdcg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>Hi all, </div>
<div>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. </div>
<div><br>
</div>
<div>this is what i have in sip.conf</div>
<div>
<div>[101]</div>
<div>type=friend</div>
<div>context=sipphones</div>
<div>call-limit=99</div>
<div>callerid="iuser 101"</div>
<div>disallow=all</div>
<div>allow=ulaw</div>
<div>allow=alaw</div>
<div>username=101</div>
<div>secret=Passwd</div>
<div>dtmfmode=rfc2833</div>
<div>host=dynamic</div>
<div>mailbox=101@default</div>
<div>nat=yes</div>
<div>canreinvite=no</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>this is what i have in extensions.conf</div>
<div>[outbound]</div>
<div>exten => _91NXXNXXXXXX,1,Set(CALLERID(num)=mycompanyinc)</div>
</div>
</blockquote>
This is how we have it and it works fine on Asterisk 1.8:<br>
Set(CALLERID(number)=insert your number here)<br>
<blockquote
cite="mid:CALoOYy4UhCzBkioPtDk=HoZCrENmyGmhsTcG2ESH3tAS=ZOdcg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>exten => _91NXXNXXXXXX,2,Dial(SIP/att/${EXTEN:1},80)</div>
<div>exten => _9NXXXXXX,1,Set(CALLERID(num)=mycompanyinc)</div>
<div>exten => _9NXXXXXX,2,Dial(SIP/att/${EXTEN:1},80)</div>
<div><br>
</div>
<div>any ideas? as this happens random, </div>
<div><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Technical Support
<a class="moz-txt-link-freetext" href="http://www.cellroute.net">http://www.cellroute.net</a></pre>
</body>
</html>