<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: #000000'>Hello,<br><br>I am running Asterisk 1.6 with Realtime enabled for my SIP users and peers. The backend is a MySQL database running through the ODBC backend in Asterisk. At this point everything works in terms of phones registering, placing calls between them, etc. However, I am having a problem setting the Caller ID number whenever I am using the Realtime database for the SIP users/peers. If I use a static sip.conf configuration instead of the database, everything works fine. Unfortunately a static sip.conf file won't work in my application.<br><br>In this example:<br><font size="2"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">exten =&gt; 412,1,Set(CALLERID(all)="TEST"&lt;22222&gt;)</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">exten =&gt; 412,n,NoOp(CallerID(num) is: ${CALLERID(num)})&nbsp;&nbsp;&nbsp; ;;;PS: This shows the correct number of "22222" on the CLI console...</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">exten =&gt; 412,n,Dial(SIP/412)</span></font><br><br>Whenever another phone calls extension 412, the call is forwarded to SIP/412 and <span style="font-style: italic;">should </span>have "TEST" as the CallerID name and "22222" as the CallerID number. But, whenever I am using the realtime backend, the caller ID number always displays on the destination phone as that phone's username. Meaning, if phone SIP/412 receives the call from the example above, the caller ID name displayed is "TEST" but the caller ID number is always "412".<br><br>What could be causing this?<br><br><div><span style="font-family: arial,helvetica,sans-serif;">Brett Woollum</span><br style="font-family: arial,helvetica,sans-serif;"><span style="font-family: arial,helvetica,sans-serif;">Brett@Woollum.com</span><br></div><br></div></body></html>