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

2004-12-10 Thread Peter Svensson
On Fri, 10 Dec 2004, Roy Sigurd Karlsbakk wrote: This is untested. If it works it allows the variable OUT_RDNIS to set the number set in the Redirecting number IE in the call setup. For your needs a similar patch could be placed directly in chan_zap as well, near the call to

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

2004-12-10 Thread Andrei (MPI)
Peter Svensson wrote: ...a scenario when person calls in via PSTN via a Zap channel and listens to IVR menu of Asterisk. Then (s)he presses an extension # and then this call gets redirected to an extenal telephone number outside of Asterisk. And the call to Asterisk is ended. Or I am dreaming

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

2004-12-10 Thread Roy Sigurd Karlsbakk
This is untested. If it works it allows the variable OUT_RDNIS to set the number set in the Redirecting number IE in the call setup. For your needs a similar patch could be placed directly in chan_zap as well, near the call to pri_sr_set_redirecting(). is this in HEAD or in stable? didn't manage

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

2004-12-09 Thread Roy Sigurd Karlsbakk
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

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

2004-12-09 Thread Peter Svensson
On Thu, 9 Dec 2004, Roy Sigurd Karlsbakk wrote: 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

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

2004-12-09 Thread Roy Sigurd Karlsbakk
is this related to the REDGNO header in PRI? It seems to be. Libpri fills in the fields (redirectingnum, redirectingplan, redirectingpres, redirectingreason) in the libpri call structure when Q931_REDIRECTING_NUMBER (0x74) is received. Similarily, if they are set on calling out that IE is sent.

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

2004-12-09 Thread Peter Svensson
On Thu, 9 Dec 2004, Roy Sigurd Karlsbakk wrote: is this related to the REDGNO header in PRI? It seems to be. Libpri fills in the fields (redirectingnum, redirectingplan, redirectingpres, redirectingreason) in the libpri call structure when Q931_REDIRECTING_NUMBER (0x74) is received.

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

2004-12-09 Thread Andrei (MPI)
Hello, Sorry if it is a different subject for this thread, but... Is it possible to re-route incoming call on Zap channel of TDM400 FXO card to completely different and external telelephone number via some magic telephone command or signal? So, the Asterisk Zap channel would be cleared off of

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

2004-12-09 Thread Gregory Junker
Is it possible to re-route incoming call on Zap channel of TDM400 FXO card to completely different and external telelephone number via some magic telephone command or signal? So, the Asterisk Zap channel would be cleared off of this call? Like in a scenario when person calls in via PSTN via a

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

2004-12-09 Thread Peter Svensson
On Thu, 9 Dec 2004, Andrei (MPI) wrote: Is it possible to re-route incoming call on Zap channel of TDM400 FXO card to completely different and external telelephone number via some magic telephone command or signal? So, the Asterisk Zap channel would be cleared off of this call? Like in

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

2004-12-08 Thread Roy Sigurd Karlsbakk
hi for call forwarding, I was told by the telco to set the call forward number on the PRI, how can I do this? roy ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options

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

2004-12-08 Thread Roy Sigurd Karlsbakk
for call forwarding, I was told by the telco to set the call forward number on the PRI, how can I do this? 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

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

2004-12-08 Thread Peter Svensson
On Wed, 8 Dec 2004, Roy Sigurd Karlsbakk wrote: for call forwarding, I was told by the telco to set the call forward number on the PRI, how can I do this? To answer my own message, I need to set the REDGNO (0x74) number to the originating number in the PRI SETUP. Example can be