# Setting callerid when originating a call through manager api

**URL:** <https://community.asterisk.org/t/setting-callerid-when-originating-a-call-through-manager-api/6044>\
**Category:** Asterisk Support\
**Created:** [April 28, 2006, 10:43pm UTC](https://community.asterisk.org/t/setting-callerid-when-originating-a-call-through-manager-api/6044 "2006-04-28T22:43:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gk11](https://avatars.discourse-cdn.com/v4/letter/g/a87d85/32.png) [@gk11](https://community.asterisk.org/u/gk11)\
**Post date:** [April 28, 2006, 10:43pm UTC](https://community.asterisk.org/t/setting-callerid-when-originating-a-call-through-manager-api/6044/1 "2006-04-28T22:43:43Z")

</div>

I am trying to iriginate a call and set teh caller id, but the callerid never gets set. here is what i am sending:  
fputs($socket, “Action: Originate\r\n”);  
fputs($socket, “Channel: SIP/xxxxxxxxxxx@provider\r\n”);  
fputs($socket, “Context: internal\r\n”);  
fputs($socket, “Priority: 1\r\n”);  
fputs($socket, “Callerid: 7605551212\r\n”);  
fputs($socket, “Exten: 80\r\n”);  
fputs($socket, “Async: yes\r\n\r\n”);

note that info has been changed to protect privacy. But the callerid calue is not sent. any ideas?
