# SEt Callerid with Originate Command

**URL:** <https://community.asterisk.org/t/set-callerid-with-originate-command/22415>\
**Category:** Asterisk Support\
**Created:** [August 7, 2008, 7:11pm UTC](https://community.asterisk.org/t/set-callerid-with-originate-command/22415 "2008-08-07T19:11:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![spyke](https://avatars.discourse-cdn.com/v4/letter/s/7ba0ec/32.png) [@spyke](https://community.asterisk.org/u/spyke)\
**Post date:** [August 7, 2008, 7:11pm UTC](https://community.asterisk.org/t/set-callerid-with-originate-command/22415/1 "2008-08-07T19:11:34Z")

</div>

Hi everybody,  
I’m using the managar interface to make outgoing calls trough a PRI connection:

fputs ($fp, “Action: Originate\r\n”);  
fputs ($fp, “CallerID: 01234567 \<01234567\>\r\n”);  
fputs ($fp, “Channel: Zap/12/039079079\r\n”);  
fputs ($fp, “Context: comehere\r\n”);  
fputs ($fp, “Extension: 333\r\n”);  
fputs ($fp, “Priority: 1\r\n\r\n”);

it works but the callerid is not available to the called party.

If I perform the call normally in the Dialplan I can use the application  
SetCallerPres(allowed) to make the callerid available.  
So the question is, there is a way to set the callerpresentation even making the call with the Originate Action?  
Thanks in advance,

C.

P.S.  
Using Asterisk 1.2.X
