[asterisk-users] How do I access the Dialstatus numeric code received?
Tilghman Lesher
tlesher at digium.com
Mon Jun 21 18:18:49 CDT 2010
On Monday 21 June 2010 16:09:22 CDR wrote:
> I need to access number received after a I dial a SIP or H323 call?
> suppose I get one of these:
>
> *404 Not found
> **486 Busy here
> **408 Request Timeout
> **480 Temporarily unavailable
> **480 Temporarily unavailable
> **403 Forbidden (+) **
> 410 Gone
> **301 Moved Permanently
> **410 Gone **
> 404 Not Found (=)
> **502 Bad Gateway
> **484 Address incomplete*
>
> How do I get the 404, 486, etc.
> F.A.
Not available in anything other than trunk (to be 1.8). It depends upon a new
feature, so it's not something you can easily backport. After dialling, the
SIP code is available in ${HASH(SIP_CAUSE,<channel-name>)}
--
Tilghman Lesher
Digium, Inc. | Senior Software Developer
twitter: Corydon76 | IRC: Corydon76-dig (Freenode)
Check us out at: www.digium.com & www.asterisk.org
More information about the asterisk-users
mailing list