[asterisk-dev] [Asterisk 0014810]: [patch] channel-specific hangupcauses
Marcus Hunger
hunger at sipgate.de
Fri Sep 11 05:59:05 CDT 2009
something like an extra table translating custom codes to hangup causes and
sip causes?
customcode => { hangcause => YYY, sipcause => 891, pricause => YYY }
why not. it would have to work in the other direction too. so that sipcause
891 translates to customcode. same for YYY. collisions might be tricky.
On Fri, Sep 11, 2009 at 12:35 PM, Olle E. Johansson <oej at edvina.net> wrote:
>
> 11 sep 2009 kl. 12.29 skrev Marcus Hunger:
>
> > I can't see how a little addon to chan_sip would break asterisk's
> > architecture. Though being a multi protocol platform, asterisk has a
> > lot of protocol specific features. None of them breaking the
> > concept. I do not suggest to replace asterisk's traditional cause
> > codes, but to add the possibility to set more specific protocol
> > specific codes when needed.
> >
> > I still remember discussions about this and I also remember that I
> > was not the only one requesting that feature. Sorry for being so
> > persistent on this one.
> >
> > Anyway. You suggested another approach to achieve that goal. Do you
> > think it's realistic? I am not sure if I understood it right, but
> > wouldn't custom codes break compatibility with other channel drivers?
>
> Well, we need to sort that out, it was an idea. If you're sending
> something unexpected to chan_sip we might behave the same way across
> board...
>
> Or have a translation table saying "I really mean this for other
> channels" so you do hangup(customcode) in the dialplan and we'll send
> 891 to chan_sip and ISDN cause YYY to the rest of the bunch.
> That way, you have one cause to set in the dialplan, not one for every
> channel you use.
>
> /O
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> AstriCon 2009 - October 13 - 15 Phoenix, Arizona
> Register Now: http://www.astricon.net
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-dev
>
--
Dipl.-Inf. (FH)
Marcus Hunger - hunger at sipgate.de
Telefon: +49 (0)211-63 55 55-61
Telefax: +49 (0)211-63 55 55-22
sipgate GmbH - Gladbacher Str. 74 - 40219 Düsseldorf
HRB Düsseldorf 39841 - Geschäftsführer: Thilo Salmon, Tim Mois
Steuernummer: 106 / 5724 / 7147, Umsatzsteuer-ID: DE219349391
www.sipgate.de - www.sipgate.at - www.sipgate.co.uk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20090911/3bb53876/attachment.htm
More information about the asterisk-dev
mailing list