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
_______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
