[asterisk-dev] chan_dahdi, call deflection, call_rerouting

Wolfgang Pichler wpichler at yosd.at
Fri Jul 9 07:40:58 CDT 2010


Hi all,

for a project i do need the call rerouting feature implemented in dahdi - so
that chan_dahdi is not only able to send call deflection message - it should
also be able to handle them.

I do have already discussed this with some other people - i have seen that
it is already implemented in bristuff - so porting that part to the current
libpri/dahdi version would be an idea (bristuff does generate a new local
channel when it receives the call deflection message).

But libpri / chan_dahdi nowadays does already have most of the needed
functions already implemented - so it could be to be easier to make a new
implementation based on the current source.

What do you think would be better - porting the bristuff parts - or
reimplemting it ?

The other question is - if it will get reimplemented - how to handle the
rerouting / deflection ?

- Creating a local channel to handle it
- Hangup the call leg were you got the call deflection with a new hangup
cause - and store the redirection number in a channel var of the source
channel
- Handle it like a transfer - if the t option is given in the dialstring -
then jump into the transfer context - and go on there

What do you think about this ?

best regards,
Wolfgang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20100709/8e7209e5/attachment.htm 


More information about the asterisk-dev mailing list