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 ? --0016e6d6417afc062204b0e48cd9 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <br><br><div class=3D"gmail_quote">2011/11/3 Danny Nicholas <span dir=3D"ltr"><<a href=3D"mailto:danny at debsinc.com">danny at debsinc.com</a>></span><br><blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <snip><div class=3D"im"> <br> [callbob]<br> <br> </div><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)<br> <br></blockquote><div><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 ?<br></div></div> --0016e6d6417afc062204b0e48cd9--