Exten => _XX.,1,Set(CALLERID(num)=whatever)
Exten => _XX.,n,answer
Exten => _XX.,n,Dial(DAHDI/1/5551212,30)
This seems to work for roughly 2/3 of calls.
I'm trying to get as close to 100% as possible.
I can't think of any configuration issue or bug in Asterisk that would cause
1/3 of calls to be incorrectly presented.
I rather suspect that different calls MAY use different routes and a
misconfiguration in one equipement in one of those would cause the issue.
I don't know how Telcos manage their networks.
I would have naturally thought that going from one point to another in this
network would always pass through the same set of equipements.
Maybe it's not the case and specifically when the end destination is a
cellphone and there is a large gateway between the landline and the mobile
networks.
Is this reasonning correct ?
------=_NextPart_000_008A_01CC9ACD.845555E0
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml"
xmlns:o=3D"urn:schemas-microsoft-com:office:office"
xmlns:w=3D"urn:schemas-microsoft-com:office:word"
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml"
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><META
HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html;
charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft
Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body
lang=3DEN-US link=3Dblue vlink=3Dpurple><div class=3DWordSection1><p
class=3DMsoNormal><span
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>When
you say 2/3 of calls, is there an inconsistency to the same recipient or could
it be a carrier issue (Verizon only, T-Mobile only,
etc.)?<o:p></o:p></span></p><p
class=3DMsoNormal><span
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p
class=3DMsoNormal><b><span
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at
lists.digium.com] <b>On Behalf Of
</b>Olivier<br><b>Sent:</b> Friday, November 04, 2011
3:33 AM<br><b>To:</b> Asterisk Users Mailing List -
Non-Commercial Discussion<br><b>Subject:</b> Re:
[asterisk-users] CallerID inconsistently presented through ISDN/cellular
networks<o:p></o:p></span></p><p
class=3DMsoNormal><o:p> </o:p></p><p
class=3DMsoNormal
style=3D'margin-bottom:12.0pt'><o:p> </o:p></p><div><p
class=3DMsoNormal>2011/11/3 Danny Nicholas <<a
href=3D"mailto:danny at debsinc.com">danny at
debsinc.com</a>><o:p></o:p></p><p
class=3DMsoNormal><snip><o:p></o:p></p><div><p
class=3DMsoNormal
style=3D'margin-bottom:12.0pt'><br>[callbob]<o:p></o:p></p></div><p
class=3DMsoNormal style=3D'margin-bottom:12.0pt'><br>Exten
=3D> _XX.,1,answer<br><br>Exten =3D>
_XX.,n,Set(CALLERID(num)=3D${EXTEN})<br><br>Exten =3D>
_XX.,n,Dial(DAHDI/1/5551212,30)<o:p></o:p></p><div><p
class=3DMsoNormal><br>From memory, I did it this way :<br>Exten
=3D> _XX.,1,Set(CALLERID(num)=3Dwhatever)<br>Exten =3D>
_XX.,n,answer<br>Exten =3D>
_XX.,n,Dial(DAHDI/1/5551212,30)<br><br>This seems to work for
roughly 2/3 of calls.<br>I'm trying to get as close to 100% as
possible.<br><br>I can't think of any configuration issue or bug
in Asterisk that would cause 1/3 of calls to be incorrectly
presented.<br>I rather suspect that different calls MAY use different
routes and a misconfiguration in one equipement in one of those would cause the
issue.<br><br>I don't know how Telcos manage their
networks.<br>I would have naturally thought that going from one point to
another in this network would always pass through the same set of
equipements.<br>Maybe it's not the case and specifically when the end
destination is a cellphone and there is a large gateway between the landline and
the mobile networks.<br><br>Is this reasonning correct
?<o:p></o:p></p></div></div></div></body></html>
------=_NextPart_000_008A_01CC9ACD.845555E0--