# Unable to set callerid on calling channel

**URL:** <https://community.asterisk.org/t/unable-to-set-callerid-on-calling-channel/40301>\
**Category:** Asterisk Support\
**Created:** [August 31, 2012, 11:33am UTC](https://community.asterisk.org/t/unable-to-set-callerid-on-calling-channel/40301 "2012-08-31T11:33:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nasirjavaid](https://avatars.discourse-cdn.com/v4/letter/n/d2c977/32.png) [@nasirjavaid](https://community.asterisk.org/u/nasirjavaid)\
**Post date:** [August 31, 2012, 11:33am UTC](https://community.asterisk.org/t/unable-to-set-callerid-on-calling-channel/40301/1 "2012-08-31T11:33:37Z")

</div>

Hi,

My issue is that I am trying to call a person on his cell number via asterisk Dial command. I use below syntax through AGI to accomplish this.

```
             $AGI->set_callerid('0123456720');
             $AGI->exec('Dial', "SS7/siuc/0987654321,30,gW");

```

but the called party sees only “1” on his mobile screen. Can anyone tell me why it is not setting the callerid on calling channel properly.

asterisk version: 1.8.5.  
Digium 4E1 card with chan\_ss7 2.1.0  
OS is CentOS release 5.8 (Final)  
DAHDI Version: 2.5.0 Echo Canceller: HWEC

previously this setup is running fine on asterisk 1.6.2.13

what is difference here in asterisk 1.8.5 which is preventing it?

{\*\*\*\*\*\*\*\*\*  
same thing happens when I use dialplan.

exten =\> 0123456789,1,Answer()  
exten =\> 0123456789,n,Wait(2)  
exten =\> 0123456789,n,Dial(SS7/siuc/012345320)

the called party sees the EXTEN (0123456789 in this case) on his screen. and exten =\> 0123456789,n,Set(CALLERID(num)=xxxxx) does not work.

\*\*\*\*\*\*}

Urgent help needed as the mobile operator is going to launch the service soon.

Regards,

Nasir Javaid.
