[asterisk-dev] SIP disconnect code

Carles Pina i Estany carles at pina.cat
Sat Jul 19 18:13:20 CDT 2008


Hi,

On Jul/20/2008, Carles Pina i Estany wrote:

> Because sometimes I need to know the SIP disconnect code, I don't see
> any reason that we don't have a SIPHANGUPCAUSE with the SIP reason (404,
> 604, etc.) so I'm thinking to implement and send the patch.

I've played in channels/chan_sip.c and apps/app_dial.c in work. I
remember that was not very easy to send some variables from chan_sip.c
to the dialplan (actually I wanted but I changed the way to fix my
problem in work).

So, I could implement the patch but I don't think that it's
easy-fast-easy :-)

Thanks,

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



More information about the asterisk-dev mailing list