[Asterisk-Users] SIP Responsecodes

Douglas Garstang dgarstang at oneeighty.com
Mon Apr 3 09:33:26 MST 2006


Wow. If Asterisk could return SIP response codes that would be AWESOME.

> -----Original Message-----
> From: Joshua Colp [mailto:jcolp at digium.com]
> Sent: Monday, April 03, 2006 10:05 AM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [Asterisk-Users] SIP Responsecodes
> 
> 
> Freddi Hansen wrote:
> > Hi,
> > It seems as 'the google' has left me today so I am trying the list.
> > How do I get access to SIP responsecodes from dialplan/agi. 
> Yes I know 
> > that I should stay with 'DIALSTATUS' but there are cases 
> where I need 
> > the responsecode like '484 adress incomplete' and not just the 'NO 
> > ANSWER' DIALSTATUS.
> > Is there a channel variable/function that skipped over by mistake?
> > Freddi
> > _______________________________________________
> > --Bandwidth and Colocation provided by Easynews.com --
> > 
> > Asterisk-Users mailing list
> > To UNSUBSCRIBE or update options visit:
> >   http://lists.digium.com/mailman/listinfo/asterisk-users
> You don't. The response codes aren't exposed to the dialplan 
> unless you 
> wish to modify chan_sip and try to make them magically appear. If you 
> were to, I'd happily look at the patch on the bug tracker.
> 
> Joshua Colp
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
> 
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 



More information about the asterisk-users mailing list