they are still there just not on every event. you can execute the verbose_events app in your dialplan to make them appear in every single event.
see switch_channel.c for the list of events that it adds them to. On Wed, Dec 24, 2008 at 7:16 AM, seven du <se...@idapted.com> wrote: > Hi list- > > Some custom variable not get send out by event_socket. > > Like > > 2008-12-23 18:12:51 [DEBUG] switch_ivr.c:451 switch_ivr_parse_event() > sofia/outbound/015810303546 Command Execute set(called_trainers=55) > > > we set some variables(including some custom variables) > on a channel A-leg before bridge the B-leg. And can get them from the > event socket. > It works well at least in release 1.0.1. And I believe it works > before trunk version 106XX. > And at trunk version 10903, we can't get them. > > > Does any one know what happens? Or is their other new ways to do > that( e.g. pull the database)? > > Thanks. > > > > > 2008-12-23 18:12:51 [DEBUG] mod_recpld.c:297 > switch_payload_play_file() done playing payload file:/usr/local/ > freeswitch/sounds/custom/eqenglish/8000/welcome.G729 > 2008-12-23 18:12:51 [DEBUG] switch_ivr.c:451 switch_ivr_parse_event() > sofia/outbound/015810303546 Command Execute ring_ready() > 2008-12-23 18:12:51 [DEBUG] switch_ivr.c:451 switch_ivr_parse_event() > sofia/outbound/015810303546 Command Execute set(ringback=/usr/local/ > freeswitch/sounds/custom/8000/american_ringback_tone.raw) > 2008-12-23 18:12:51 [DEBUG] mod_dptools.c:681 set_function() sofia/ > outbound/015810303546 SET [ringback]=[/usr/local/freeswitch/sounds/ > custom/8000/american_ringback_tone.raw] > 2008-12-23 18:12:51 [DEBUG] switch_ivr.c:451 switch_ivr_parse_event() > sofia/outbound/015810303546 Command Execute set(continue_on_fail=true) > 2008-12-23 18:12:51 [DEBUG] mod_dptools.c:681 set_function() sofia/ > outbound/015810303546 SET [continue_on_fail]=[true] > 2008-12-23 18:12:51 [DEBUG] switch_ivr.c:451 switch_ivr_parse_event() > sofia/outbound/015810303546 Command Execute > set(hangup_after_bridge=true) > 2008-12-23 18:12:51 [DEBUG] mod_dptools.c:681 set_function() sofia/ > outbound/015810303546 SET [hangup_after_bridge]=[true] > 2008-12-23 18:12:51 [DEBUG] switch_ivr.c:451 switch_ivr_parse_event() > sofia/outbound/015810303546 Command Execute > set(origination_caller_id_name=IT26335) > 2008-12-23 18:12:51 [DEBUG] mod_dptools.c:681 set_function() sofia/ > outbound/015810303546 SET [origination_caller_id_name]=[IT26335] > 2008-12-23 18:12:51 [DEBUG] switch_ivr.c:451 switch_ivr_parse_event() > sofia/outbound/015810303546 Command Execute > set(origination_caller_id_number=IT26335) > 2008-12-23 18:12:51 [DEBUG] mod_dptools.c:681 set_function() sofia/ > outbound/015810303546 SET [origination_caller_id_number]=[IT26335] > 2008-12-23 18:12:51 [DEBUG] switch_ivr.c:451 switch_ivr_parse_event() > sofia/outbound/015810303546 Command Execute set(system_domain=eqenglish) > 2008-12-23 18:12:51 [DEBUG] mod_dptools.c:681 set_function() sofia/ > outbound/015810303546 SET [system_domain]=[eqenglish] > 2008-12-23 18:12:51 [DEBUG] switch_ivr.c:451 switch_ivr_parse_event() > sofia/outbound/015810303546 Command Execute set(called_trainers=55) > 2008-12-23 18:12:51 [DEBUG] mod_dptools.c:681 set_function() sofia/ > outbound/015810303546 SET [called_trainers]=[55] > 2008-12-23 18:12:51 [DEBUG] switch_ivr.c:451 switch_ivr_parse_event() > sofia/outbound/015810303546 Command Execute set(ignore_early_media=true) > 2008-12-23 18:12:51 [DEBUG] mod_dptools.c:681 set_function() sofia/ > outbound/015810303546 SET [ignore_early_media]=[true] > 2008-12-23 18:12:51 [DEBUG] switch_ivr.c:451 switch_ivr_parse_event() > sofia/outbound/015810303546 Command Execute set(call_timeout=15) > 2008-12-23 18:12:51 [DEBUG] mod_dptools.c:681 set_function() sofia/ > outbound/015810303546 SET [call_timeout]=[15] > 2008-12-23 18:12:51 [DEBUG] switch_ivr.c:451 switch_ivr_parse_event() > sofia/outbound/015810303546 Command Execute > bridge({absolute_codec_string='G729,i...@30i'}sofia/eqenglish/ > trainer39-55) > 2008-12-23 18:12:51 [DEBUG] switch_ivr_originate.c:771 > switch_ivr_originate() variable string 0 = > [absolute_codec_string=G729,i...@30i] > 2008-12-23 18:12:51 [NOTICE] switch_channel.c:565 > switch_channel_set_name() New Channel sofia/eqenglish/trainer39-55 > [41eeef28-d0da-11dd-bf27-3fa173bc0bf8] > 2008-12-23 18:12:51 [DEBUG] mod_sofia.c:2495 sofia_outgoing_channel() > (sofia/eqenglish/trainer39-55) State Change CS_NEW -> CS_INIT > > > > > December 23, 2008 10:13: Recieved: > Channel-State: CS_EXECUTE > Channel-State-Number: 4 > Channel-Name: sofia/outbound/015810303546 > Unique-ID: 39c85c4e-d0da-11dd-bf27-3fa173bc0bf8 > Call-Direction: outbound > Answer-State: answered > Channel-Read-Codec-Name: G729 > Channel-Read-Codec-Rate: 8000 > Channel-Write-Codec-Name: G729 > Channel-Write-Codec-Rate: 8000 > Caller-Caller-ID-Name: idapted > Caller-Caller-ID-Number: 000 > Caller-Network-Addr: 61.152.148.84 > Caller-Destination-Number: 015810303546 > Caller-Unique-ID: 39c85c4e-d0da-11dd-bf27-3fa173bc0bf8 > Caller-Source: src/switch_ivr_originate.c > Caller-Context: default > Caller-Channel-Name: sofia/outbound/015810303546 > Caller-Profile-Index: 1 > Caller-Profile-Created-Time: 1230027158183592 > Caller-Channel-Created-Time: 1230027158183592 > Caller-Channel-Answered-Time: 1230027165689852 > Caller-Channel-Progress-Time: 1230027171872337 > Caller-Channel-Progress-Media-Time: 1230027158452062 > Caller-Channel-Hangup-Time: 0 > Caller-Channel-Transfer-Time: 0 > Caller-Screen-Bit: true > Caller-Privacy-Hide-Name: false > Caller-Privacy-Hide-Number: false > Other-Leg-Caller-ID-Name: IT26335 > Other-Leg-Caller-ID-Number: IT26335 > Other-Leg-Network-Addr: 61.152.148.84 > Other-Leg-Destination-Number: trainer39-55 > Other-Leg-Unique-ID: 41eeef28-d0da-11dd-bf27-3fa173bc0bf8 > Other-Leg-Source: src/switch_ivr_originate.c > Other-Leg-Context: default > Other-Leg-Channel-Name: sofia/eqenglish/trainer39-55 > Other-Leg-Screen-Bit: true > Other-Leg-Privacy-Hide-Name: false > Other-Leg-Privacy-Hide-Number: false > Event-Name: CHANNEL_BRIDGE > Core-UUID: 6ab3d9b4-d08a-11dd-bf27-3fa173bc0bf8 > FreeSWITCH-Hostname: db1.veecue.com > FreeSWITCH-IPv4: 192.168.1.14 > FreeSWITCH-IPv6: %3A%3A1 > Event-Date-Local: 2008-12-23%2018%3A13%3A02 > Event-Date-GMT: Tue,%2023%20Dec%202008%2010%3A13%3A02%20GMT > Event-Date-timestamp: 1230027182869728 > Event-Calling-File: switch_ivr_bridge.c > Event-Calling-Function: switch_ivr_multi_threaded_bridge > Event-Calling-Line-Number: 823 > > _______________________________________________ > Freeswitch-dev mailing list > Freeswitch-dev@lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev > http://www.freeswitch.org > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ AIM: anthm MSN:anthony_miness...@hotmail.com <msn%3aanthony_miness...@hotmail.com> GTALK/JABBER/PAYPAL:anthony.miness...@gmail.com<paypal%3aanthony.miness...@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:8...@conference.freeswitch.org <sip%3a...@conference.freeswitch.org> iax:gu...@conference.freeswitch.org/888 googletalk:conf+...@conference.freeswitch.org<googletalk%3aconf%2b...@conference.freeswitch.org> pstn:213-799-1400
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org