bridge_hangup_cause not for internal sip calls?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, in my dialplan for calls from internal phones I transfer each call after hangup to a dialplan which handles the hangup causes (e.g. for announcements). Unfortunately there are at least two different channel variables used to signal the hangup cause back to FS depending on what type of target/interface was dialed. When I dial an busy internal sip phone, the hangup cause can be found in "originate_disposition" When I dial an busy external freetdm target, the hangup cause can be found in "bridge_hangup_cause" and "originate_disposition" is set to "SUCCESS". Is the a consolidated single channel variable for all types of interfaces? regards helmut -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) iD8DBQFL59Mx4tZeNddg3dwRAkwDAJ0VjInzSHT9lpc0rhSVLXTBhsPLpQCgi1VL EzizysQI373J/c8GCHAetzg= =ImNz -----END PGP SIGNATURE-----
maybe your TDM is doing early media which would produce a SUCESSFUL originate disposition since the origination ends as soon as the call reaches early media. On Mon, May 10, 2010 at 4:34 AM, Helmut Kuper <helmut.kuper@ewetel.de>wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hello,
in my dialplan for calls from internal phones I transfer each call after hangup to a dialplan which handles the hangup causes (e.g. for announcements). Unfortunately there are at least two different channel variables used to signal the hangup cause back to FS depending on what type of target/interface was dialed.
When I dial an busy internal sip phone, the hangup cause can be found in "originate_disposition"
When I dial an busy external freetdm target, the hangup cause can be found in "bridge_hangup_cause" and "originate_disposition" is set to "SUCCESS".
Is the a consolidated single channel variable for all types of interfaces?
regards helmut -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32)
iD8DBQFL59Mx4tZeNddg3dwRAkwDAJ0VjInzSHT9lpc0rhSVLXTBhsPLpQCgi1VL EzizysQI373J/c8GCHAetzg= =ImNz -----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/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
Brilliant Mr. Minessale, you are right. :) So I guess I have to spend some time on refining my dialplan, haven't I? regards Helmut Am 10.05.2010 18:08, schrieb Anthony Minessale:
maybe your TDM is doing early media which would produce a SUCESSFUL originate disposition since the origination ends as soon as the call reaches early media.
participants (2)
-
Anthony Minessale
-
Helmut Kuper