[asterisk-dev] SIP disconnect code

Carles Pina i Estany carles at pina.cat
Mon Jul 21 12:59:59 CDT 2008


On Jul/21/2008, Greg Varga wrote:
> Tim Ringenbach wrote:
> > On Sat, Jul 19, 2008 at 5:46 PM, Carles Pina i Estany <carles at pina.cat> wrote:


> > I disagree with the idea that it violates the protocol neutral design.
> > IMO, one needs to provider both a HANGUPCAUSE and a
> > TECHxxxHANGUPCAUSE. Then you can recommend that things rely on
> > HANGUPCAUSE, but the power to access exactly what happened isn't lost
> > and can be used for those special cases that need it.
> >
> > --Tim
> >   
> I agree, we have the problem already with the HANGUPCAUSE not being
> for all channels dialed.

is it fixed or will be for Asterisk 1.6?

> You can implement a fix by either using functions, or by using hash's 
> (associated array) to hold the information of each dialed channel. 
> Something like:

this is a bit more work than only one variable :-)

I will think about it too.


Carles Pina i Estany		GPG id: 0x8CBDAE64
	http://pinux.info	Manresa - Barcelona

More information about the asterisk-dev mailing list