[Freeswitch-dev] custom variables not allowed anymore on a channel?

Anthony Minessale anthony.minessale at gmail.com
Wed Dec 24 10:36:57 PST 2008


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 <seven at 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,iLBC at 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,iLBC at 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 at 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_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20081224/76d17e80/attachment.html 


More information about the Freeswitch-dev mailing list