[Asterisk-Users] setting the Call Forward Number in Zap?

Roy Sigurd Karlsbakk roy at karlsbakk.net
Thu Dec 9 01:36:38 MST 2004


>> To answer my own message, I need to set the REDGNO (0x74) number to 
>> the
>> originating number in the PRI SETUP. Example can be found here:
>> http://pastebin.ca/2783
>>
>> Does anyone know how I can set this with asterisk?
>
> I have only look quickly at the code, but it seems as if asterisk will
> copy whatever is in the channel variable cid.cid_rdnis for the calling
> channel to the outgoing channel in app_dial unless the channel is set 
> to
> forward calls.

is this related to the REDGNO header in PRI?

> I did not see any way to change it directly. Perhaps a new option to 
> dial,
> a new variable to set the outgoing cid_rdnis in dial or making the 
> RDNIS
> pseudo-variable writeable?

I just tried to NoOp(${RDNIS}) on incoming calls from the PSTN and this 
shows nothing, diverted call or not

roy




More information about the asterisk-users mailing list