It depends on exactly what your scenario
is. However I’ve had good success using the “hangup_cause”
channel variable. From some of my XMLCDRs I have values like these:
<hangup_cause>UNALLOCATED_NUMBER</hangup_cause>
<hangup_cause>NORMAL_CLEARING</hangup_cause>
<hangup_cause>DESTINATION_OUT_OF_ORDER</hangup_cause>
Hope that helps…
-MC
From:
freeswitch-users-bounces@lists.freeswitch.org
[mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Anthony Minessale
Sent: Monday, October 27, 2008
9:11 AM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users]
Openzap/PSTN-Release-Codes
its a variable like
originate_disposition i thinkg
On Mon, Oct 27, 2008 at 9:30 AM, Helmut Kuper <helmut.kuper@ewetel.de> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
is there a way to access openzap's resp pstn termination cause's from
FreeSWITCH's dialplan to play an announcement?
regrads
helmut
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkkF0IcACgkQ4tZeNddg3dzWQgCeM1wQAx1RgfQf35nPEk7IEoHI
6fwAnifo8ugMRWskuEjgvCZkj7aCIFSl
=DDIJ
-----END PGP SIGNATURE-----
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org
pstn:213-799-1400