[Freeswitch-users] Matching CHANNEL_CREATE event to previous originate command

sdemers@q4innovation.com q4innovation at gmail.com
Tue Jul 27 09:36:06 PDT 2010


Hi Everyone,

Following up about the email concerning the bgapi originate match with the
CHANNEL_STATE event.
Like Roland Hänel, I'm using FreeSWITCH as a predictive dialer, and it's
working fine, but I still have some issue with the flow of events...

Based on this discussion (Link:
http://lists.freeswitch.org/pipermail/freeswitch-users/2010-June/059394.html
)

Michael Collins replies to Roland Hänel about using the BACKGROUND_JOB...
the problem with this solution is that the switch send the background event
after the CHANNEL_CREATE, CHANNEL_STATE(CS_INIT), CHANNEL_STATE(CS_ROUTING),
CHANNEL_STATE(RINGING) and CHANNEL_PROGRESS_MEDIA, etc...

Is there a way to be able to match the JOBID to the CHANNEL_STATE prior to
the BACKGROUND JOB event?

Here is a trace I've got... like you see, we received a lot of CHANNEL_STATE
before the BACKGROUND_JOB event

--------------------------------------------------------

Content-Type: auth/request

auth ClueCon

Content-Type: command/reply
Reply-Text: +OK accepted

event plain DTMF BACKGROUND_JOB CHANNEL_CREATE CHANNEL_ANSWER
CHANNEL_PROGRESS CHANNEL_PROGRESS_MEDIA CHANNEL_HANGUP
CHANNEL_HANGUP_COMPLETE CHANNEL_DESTROY CHANNEL_STATE

Content-Type: command/reply
Reply-Text: +OK event listener enabled plain

bgapi originate
{{ignore_early_media=false,RECORD_STEREO=true,origination_caller_id_number=9999999999,origination_caller_id_name=Test}}openzap/1/a/15551231234
&park()

Content-Type: command/reply
Reply-Text: +OK Job-UUID: 3f22b6c6-51fa-4eba-a728-4a94e9f86592
Job-UUID: 3f22b6c6-51fa-4eba-a728-4a94e9f86592

Content-Length: 1162
Content-Type: text/event-plain

Event-Name: CHANNEL_CREATE
Core-UUID: 2b696c27-bd61-4bfa-b6a1-291f14e32689
FreeSWITCH-Hostname: LoadTest-DIALER
FreeSWITCH-IPv4: 192.168.100.76
FreeSWITCH-IPv6: %3A%3A1
Event-Date-Local: 2010-07-27%2012%3A31%3A14
Event-Date-GMT: Tue,%2027%20Jul%202010%2016%3A31%3A14%20GMT
Event-Date-Timestamp: 1280248274809143
Event-Calling-File: switch_channel.c
Event-Calling-Function: switch_channel_set_caller_profile
Event-Calling-Line-Number: 1924
Channel-State: CS_NEW
Channel-Call-State: DOWN
Channel-State-Number: 0
Channel-Name: OpenZAP/1%3A1/15551231234
Unique-ID: cc18cedd-a05a-4180-beda-458e5ece048b
Call-Direction: outbound
Presence-Call-Direction: outbound
Answer-State: ringing
Channel-Read-Codec-Name: PCMU
Channel-Read-Codec-Rate: 8000
Channel-Write-Codec-Name: PCMU
Channel-Write-Codec-Rate: 8000
variable_direction: outbound
variable_is_outbound: true
variable_uuid: cc18cedd-a05a-4180-beda-458e5ece048b
variable_read_codec: PCMU
variable_read_rate: 8000
variable_write_codec: PCMU
variable_write_rate: 8000
variable_channel_name: OpenZAP/1%3A1/15551231234
variable_openzap_span_name: telus1
variable_openzap_span_number: 1
variable_openzap_chan_number: 1

Content-Length: 687
Content-Type: text/event-plain

Event-Name: CHANNEL_STATE
Core-UUID: 2b696c27-bd61-4bfa-b6a1-291f14e32689
FreeSWITCH-Hostname: LoadTest-DIALER
FreeSWITCH-IPv4: 192.168.100.76
FreeSWITCH-IPv6: %3A%3A1
Event-Date-Local: 2010-07-27%2012%3A31%3A14
Event-Date-GMT: Tue,%2027%20Jul%202010%2016%3A31%3A14%20GMT
Event-Date-Timestamp: 1280248274809143
Event-Calling-File: switch_channel.c
Event-Calling-Function: switch_channel_perform_set_running_state
Event-Calling-Line-Number: 1492
Channel-State: CS_INIT
Channel-Call-State: DOWN
Channel-State-Number: 1
Channel-Name: OpenZAP/1%3A1/15551231234
Unique-ID: cc18cedd-a05a-4180-beda-458e5ece048b
Call-Direction: outbound
Presence-Call-Direction: outbound
Answer-State: ringing

Content-Length: 1515
Content-Type: text/event-plain

Event-Name: CHANNEL_STATE
Core-UUID: 2b696c27-bd61-4bfa-b6a1-291f14e32689
FreeSWITCH-Hostname: LoadTest-DIALER
FreeSWITCH-IPv4: 192.168.100.76
FreeSWITCH-IPv6: %3A%3A1
Event-Date-Local: 2010-07-27%2012%3A31%3A14
Event-Date-GMT: Tue,%2027%20Jul%202010%2016%3A31%3A14%20GMT
Event-Date-Timestamp: 1280248274809143
Event-Calling-File: switch_channel.c
Event-Calling-Function: switch_channel_perform_set_running_state
Event-Calling-Line-Number: 1492
Channel-State: CS_ROUTING
Channel-Call-State: RINGING
Channel-State-Number: 2
Channel-Name: OpenZAP/1%3A1/15551231234
Unique-ID: cc18cedd-a05a-4180-beda-458e5ece048b
Call-Direction: outbound
Presence-Call-Direction: outbound
Channel-Call-UUID: 4feec0d2-cb0c-49c1-9bd7-758f1e3e7c07
Answer-State: ringing
Channel-Read-Codec-Name: PCMU
Channel-Read-Codec-Rate: 8000
Channel-Write-Codec-Name: PCMU
Channel-Write-Codec-Rate: 8000
Caller-Caller-ID-Name: Test%7D
Caller-Caller-ID-Number: 9999999999
Caller-Destination-Number: 15551231234
Caller-Unique-ID: cc18cedd-a05a-4180-beda-458e5ece048b
Caller-Source: src/switch_ivr_originate.c
Caller-Context: default
Caller-Channel-Name: OpenZAP/1%3A1/15551231234
Caller-Profile-Index: 1
Caller-Profile-Created-Time: 1280248274809143
Caller-Channel-Created-Time: 1280248274809143
Caller-Channel-Answered-Time: 0
Caller-Channel-Progress-Time: 0
Caller-Channel-Progress-Media-Time: 0
Caller-Channel-Hangup-Time: 0
Caller-Channel-Transfer-Time: 0
Caller-Screen-Bit: true
Caller-Privacy-Hide-Name: false
Caller-Privacy-Hide-Number: false

Content-Length: 699
Content-Type: text/event-plain

Event-Name: CHANNEL_STATE
Core-UUID: 2b696c27-bd61-4bfa-b6a1-291f14e32689
FreeSWITCH-Hostname: LoadTest-DIALER
FreeSWITCH-IPv4: 192.168.100.76
FreeSWITCH-IPv6: %3A%3A1
Event-Date-Local: 2010-07-27%2012%3A31%3A14
Event-Date-GMT: Tue,%2027%20Jul%202010%2016%3A31%3A14%20GMT
Event-Date-Timestamp: 1280248274809143
Event-Calling-File: switch_channel.c
Event-Calling-Function: switch_channel_perform_set_running_state
Event-Calling-Line-Number: 1492
Channel-State: CS_CONSUME_MEDIA
Channel-Call-State: RINGING
Channel-State-Number: 7
Channel-Name: OpenZAP/1%3A1/15551231234
Unique-ID: cc18cedd-a05a-4180-beda-458e5ece048b
Call-Direction: outbound
Presence-Call-Direction: outbound
Answer-State: ringing

Content-Length: 2185
Content-Type: text/event-plain

Event-Name: CHANNEL_PROGRESS_MEDIA
Core-UUID: 2b696c27-bd61-4bfa-b6a1-291f14e32689
FreeSWITCH-Hostname: LoadTest-DIALER
FreeSWITCH-IPv4: 192.168.100.76
FreeSWITCH-IPv6: %3A%3A1
Event-Date-Local: 2010-07-27%2012%3A31%3A15
Event-Date-GMT: Tue,%2027%20Jul%202010%2016%3A31%3A15%20GMT
Event-Date-Timestamp: 1280248275766567
Event-Calling-File: switch_channel.c
Event-Calling-Function: switch_channel_perform_mark_pre_answered
Event-Calling-Line-Number: 2371
Channel-State: CS_CONSUME_MEDIA
Channel-Call-State: EARLY
Channel-State-Number: 7
Channel-Name: OpenZAP/1%3A1/15551231234
Unique-ID: cc18cedd-a05a-4180-beda-458e5ece048b
Call-Direction: outbound
Presence-Call-Direction: outbound
Channel-Call-UUID: 4feec0d2-cb0c-49c1-9bd7-758f1e3e7c07
Answer-State: early
Channel-Read-Codec-Name: PCMU
Channel-Read-Codec-Rate: 8000
Channel-Write-Codec-Name: PCMU
Channel-Write-Codec-Rate: 8000
Caller-Caller-ID-Name: Test%7D
Caller-Caller-ID-Number: 9999999999
Caller-Destination-Number: 15551231234
Caller-Unique-ID: cc18cedd-a05a-4180-beda-458e5ece048b
Caller-Source: src/switch_ivr_originate.c
Caller-Context: default
Caller-Channel-Name: OpenZAP/1%3A1/15551231234
Caller-Profile-Index: 1
Caller-Profile-Created-Time: 1280248274809143
Caller-Channel-Created-Time: 1280248274809143
Caller-Channel-Answered-Time: 0
Caller-Channel-Progress-Time: 0
Caller-Channel-Progress-Media-Time: 0
Caller-Channel-Hangup-Time: 0
Caller-Channel-Transfer-Time: 0
Caller-Screen-Bit: true
Caller-Privacy-Hide-Name: false
Caller-Privacy-Hide-Number: false
variable_direction: outbound
variable_uuid: cc18cedd-a05a-4180-beda-458e5ece048b
variable_read_codec: PCMU
variable_read_rate: 8000
variable_write_codec: PCMU
variable_write_rate: 8000
variable_channel_name: OpenZAP/1%3A1/15551231234
variable_openzap_span_name: telus1
variable_openzap_span_number: 1
variable_openzap_chan_number: 1
variable_is_outbound: true
variable_call_uuid: 4feec0d2-cb0c-49c1-9bd7-758f1e3e7c07
variable_{ignore_early_media: false
variable_RECORD_STEREO: true
variable_origination_caller_id_number: 9999999999
variable_origination_caller_id_name: Test%7D
variable_originate_early_media: true
variable_endpoint_disposition: EARLY%20MEDIA

Content-Length: 735
Content-Type: text/event-plain

Event-Name: BACKGROUND_JOB
Core-UUID: 2b696c27-bd61-4bfa-b6a1-291f14e32689
FreeSWITCH-Hostname: LoadTest-DIALER
FreeSWITCH-IPv4: 192.168.100.76
FreeSWITCH-IPv6: %3A%3A1
Event-Date-Local: 2010-07-27%2012%3A31%3A15
Event-Date-GMT: Tue,%2027%20Jul%202010%2016%3A31%3A15%20GMT
Event-Date-Timestamp: 1280248275767585
Event-Calling-File: mod_event_socket.c
Event-Calling-Function: api_exec
Event-Calling-Line-Number: 1374
Job-UUID: 3f22b6c6-51fa-4eba-a728-4a94e9f86592
Job-Command: originate
Job-Command-Arg:
%7B%7Bignore_early_media%3Dfalse,RECORD_STEREO%3Dtrue,origination_caller_id_number%3D9999999999,origination_caller_id_name%3DTest%7D%7Dopenzap/1/a/15551231234%20%26park()
Content-Length: 41

+OK cc18cedd-a05a-4180-beda-458e5ece048b
Content-Length: 689
Content-Type: text/event-plain

Event-Name: CHANNEL_STATE
Core-UUID: 2b696c27-bd61-4bfa-b6a1-291f14e32689
FreeSWITCH-Hostname: LoadTest-DIALER
FreeSWITCH-IPv4: 192.168.100.76
FreeSWITCH-IPv6: %3A%3A1
Event-Date-Local: 2010-07-27%2012%3A31%3A15
Event-Date-GMT: Tue,%2027%20Jul%202010%2016%3A31%3A15%20GMT
Event-Date-Timestamp: 1280248275767585
Event-Calling-File: switch_channel.c
Event-Calling-Function: switch_channel_perform_set_running_state
Event-Calling-Line-Number: 1492
Channel-State: CS_EXECUTE
Channel-Call-State: EARLY
Channel-State-Number: 4
Channel-Name: OpenZAP/1%3A1/15551231234
Unique-ID: cc18cedd-a05a-4180-beda-458e5ece048b
Call-Direction: outbound
Presence-Call-Direction: outbound
Answer-State: early

Content-Length: 2236
Content-Type: text/event-plain

Event-Name: CHANNEL_ANSWER
Core-UUID: 2b696c27-bd61-4bfa-b6a1-291f14e32689
FreeSWITCH-Hostname: LoadTest-DIALER
FreeSWITCH-IPv4: 192.168.100.76
FreeSWITCH-IPv6: %3A%3A1
Event-Date-Local: 2010-07-27%2012%3A31%3A22
Event-Date-GMT: Tue,%2027%20Jul%202010%2016%3A31%3A22%20GMT
Event-Date-Timestamp: 1280248282415326
Event-Calling-File: switch_channel.c
Event-Calling-Function: switch_channel_perform_mark_answered
Event-Calling-Line-Number: 2516
Channel-State: CS_EXECUTE
Channel-Call-State: ACTIVE
Channel-State-Number: 4
Channel-Name: OpenZAP/1%3A1/15551231234
Unique-ID: cc18cedd-a05a-4180-beda-458e5ece048b
Call-Direction: outbound
Presence-Call-Direction: outbound
Channel-Call-UUID: 4feec0d2-cb0c-49c1-9bd7-758f1e3e7c07
Answer-State: answered
Channel-Read-Codec-Name: PCMU
Channel-Read-Codec-Rate: 8000
Channel-Write-Codec-Name: PCMU
Channel-Write-Codec-Rate: 8000
Caller-Caller-ID-Name: Test%7D
Caller-Caller-ID-Number: 9999999999
Caller-Destination-Number: 15551231234
Caller-Unique-ID: cc18cedd-a05a-4180-beda-458e5ece048b
Caller-Source: src/switch_ivr_originate.c
Caller-Context: default
Caller-Channel-Name: OpenZAP/1%3A1/15551231234
Caller-Profile-Index: 1
Caller-Profile-Created-Time: 1280248274809143
Caller-Channel-Created-Time: 1280248274809143
Caller-Channel-Answered-Time: 1280248282415326
Caller-Channel-Progress-Time: 0
Caller-Channel-Progress-Media-Time: 1280248275766567
Caller-Channel-Hangup-Time: 0
Caller-Channel-Transfer-Time: 0
Caller-Screen-Bit: true
Caller-Privacy-Hide-Name: false
Caller-Privacy-Hide-Number: false
variable_direction: outbound
variable_uuid: cc18cedd-a05a-4180-beda-458e5ece048b
variable_read_codec: PCMU
variable_read_rate: 8000
variable_write_codec: PCMU
variable_write_rate: 8000
variable_channel_name: OpenZAP/1%3A1/15551231234
variable_openzap_span_name: telus1
variable_openzap_span_number: 1
variable_openzap_chan_number: 1
variable_is_outbound: true
variable_call_uuid: 4feec0d2-cb0c-49c1-9bd7-758f1e3e7c07
variable_{ignore_early_media: false
variable_RECORD_STEREO: true
variable_origination_caller_id_number: 9999999999
variable_origination_caller_id_name: Test%7D
variable_originate_early_media: true
variable_endpoint_disposition: EARLY%20MEDIA
variable_current_application: park

Content-Length: 2252
Content-Type: text/event-plain

Event-Name: CHANNEL_HANGUP
Core-UUID: 2b696c27-bd61-4bfa-b6a1-291f14e32689
FreeSWITCH-Hostname: LoadTest-DIALER
FreeSWITCH-IPv4: 192.168.100.76
FreeSWITCH-IPv6: %3A%3A1
Event-Date-Local: 2010-07-27%2012%3A31%3A25
Event-Date-GMT: Tue,%2027%20Jul%202010%2016%3A31%3A25%20GMT
Event-Date-Timestamp: 1280248285115488
Event-Calling-File: switch_channel.c
Event-Calling-Function: switch_channel_perform_hangup
Event-Calling-Line-Number: 2291
Hangup-Cause: NORMAL_CLEARING
Channel-State: CS_HANGUP
Channel-Call-State: HANGUP
Channel-State-Number: 10
Channel-Name: OpenZAP/1%3A1/15551231234
Unique-ID: cc18cedd-a05a-4180-beda-458e5ece048b
Call-Direction: outbound
Presence-Call-Direction: outbound
Channel-Call-UUID: 4feec0d2-cb0c-49c1-9bd7-758f1e3e7c07
Answer-State: answered
Channel-Read-Codec-Name: PCMU
Channel-Read-Codec-Rate: 8000
Channel-Write-Codec-Name: PCMU
Channel-Write-Codec-Rate: 8000
Caller-Caller-ID-Name: Test%7D
Caller-Caller-ID-Number: 9999999999
Caller-Destination-Number: 15551231234
Caller-Unique-ID: cc18cedd-a05a-4180-beda-458e5ece048b
Caller-Source: src/switch_ivr_originate.c
Caller-Context: default
Caller-Channel-Name: OpenZAP/1%3A1/15551231234
Caller-Profile-Index: 1
Caller-Profile-Created-Time: 1280248274809143
Caller-Channel-Created-Time: 1280248274809143
Caller-Channel-Answered-Time: 1280248282415326
Caller-Channel-Progress-Time: 0
Caller-Channel-Progress-Media-Time: 1280248275766567
Caller-Channel-Hangup-Time: 0
Caller-Channel-Transfer-Time: 0
Caller-Screen-Bit: true
Caller-Privacy-Hide-Name: false
Caller-Privacy-Hide-Number: false
variable_direction: outbound
variable_uuid: cc18cedd-a05a-4180-beda-458e5ece048b
variable_read_codec: PCMU
variable_read_rate: 8000
variable_write_codec: PCMU
variable_write_rate: 8000
variable_channel_name: OpenZAP/1%3A1/15551231234
variable_openzap_span_name: telus1
variable_openzap_span_number: 1
variable_openzap_chan_number: 1
variable_is_outbound: true
variable_call_uuid: 4feec0d2-cb0c-49c1-9bd7-758f1e3e7c07
variable_{ignore_early_media: false
variable_RECORD_STEREO: true
variable_origination_caller_id_number: 9999999999
variable_origination_caller_id_name: Test%7D
variable_originate_early_media: true
variable_current_application: park
variable_endpoint_disposition: ANSWER

Content-Length: 693
Content-Type: text/event-plain

Event-Name: CHANNEL_STATE
Core-UUID: 2b696c27-bd61-4bfa-b6a1-291f14e32689
FreeSWITCH-Hostname: LoadTest-DIALER
FreeSWITCH-IPv4: 192.168.100.76
FreeSWITCH-IPv6: %3A%3A1
Event-Date-Local: 2010-07-27%2012%3A31%3A25
Event-Date-GMT: Tue,%2027%20Jul%202010%2016%3A31%3A25%20GMT
Event-Date-Timestamp: 1280248285123542
Event-Calling-File: switch_channel.c
Event-Calling-Function: switch_channel_perform_set_running_state
Event-Calling-Line-Number: 1492
Channel-State: CS_HANGUP
Channel-Call-State: HANGUP
Channel-State-Number: 10
Channel-Name: OpenZAP/1%3A1/15551231234
Unique-ID: cc18cedd-a05a-4180-beda-458e5ece048b
Call-Direction: outbound
Presence-Call-Direction: outbound
Answer-State: answered

Content-Length: 3715
Content-Type: text/event-plain

Event-Name: CHANNEL_HANGUP_COMPLETE
Core-UUID: 2b696c27-bd61-4bfa-b6a1-291f14e32689
FreeSWITCH-Hostname: LoadTest-DIALER
FreeSWITCH-IPv4: 192.168.100.76
FreeSWITCH-IPv6: %3A%3A1
Event-Date-Local: 2010-07-27%2012%3A31%3A25
Event-Date-GMT: Tue,%2027%20Jul%202010%2016%3A31%3A25%20GMT
Event-Date-Timestamp: 1280248285124538
Event-Calling-File: switch_core_state_machine.c
Event-Calling-Function: switch_core_session_hangup_state
Event-Calling-Line-Number: 540
Hangup-Cause: NORMAL_CLEARING
Channel-State: CS_HANGUP
Channel-Call-State: HANGUP
Channel-State-Number: 10
Channel-Name: OpenZAP/1%3A1/15551231234
Unique-ID: cc18cedd-a05a-4180-beda-458e5ece048b
Call-Direction: outbound
Presence-Call-Direction: outbound
Channel-Call-UUID: 4feec0d2-cb0c-49c1-9bd7-758f1e3e7c07
Answer-State: answered
Channel-Read-Codec-Name: PCMU
Channel-Read-Codec-Rate: 8000
Channel-Write-Codec-Name: PCMU
Channel-Write-Codec-Rate: 8000
Caller-Caller-ID-Name: Test%7D
Caller-Caller-ID-Number: 9999999999
Caller-Destination-Number: 15551231234
Caller-Unique-ID: cc18cedd-a05a-4180-beda-458e5ece048b
Caller-Source: src/switch_ivr_originate.c
Caller-Context: default
Caller-Channel-Name: OpenZAP/1%3A1/15551231234
Caller-Profile-Index: 1
Caller-Profile-Created-Time: 1280248274809143
Caller-Channel-Created-Time: 1280248274809143
Caller-Channel-Answered-Time: 1280248282415326
Caller-Channel-Progress-Time: 0
Caller-Channel-Progress-Media-Time: 1280248275766567
Caller-Channel-Hangup-Time: 1280248285123542
Caller-Channel-Transfer-Time: 0
Caller-Screen-Bit: true
Caller-Privacy-Hide-Name: false
Caller-Privacy-Hide-Number: false
variable_direction: outbound
variable_uuid: cc18cedd-a05a-4180-beda-458e5ece048b
variable_read_codec: PCMU
variable_read_rate: 8000
variable_write_codec: PCMU
variable_write_rate: 8000
variable_channel_name: OpenZAP/1%3A1/15551231234
variable_openzap_span_name: telus1
variable_openzap_span_number: 1
variable_openzap_chan_number: 1
variable_is_outbound: true
variable_call_uuid: 4feec0d2-cb0c-49c1-9bd7-758f1e3e7c07
variable_{ignore_early_media: false
variable_RECORD_STEREO: true
variable_origination_caller_id_number: 9999999999
variable_origination_caller_id_name: Test%7D
variable_originate_early_media: true
variable_current_application: park
variable_endpoint_disposition: ANSWER
variable_hangup_cause: NORMAL_CLEARING
variable_hangup_cause_q850: 16
variable_digits_dialed: none
variable_start_stamp: 2010-07-27%2012%3A31%3A14
variable_profile_start_stamp: 2010-07-27%2012%3A31%3A14
variable_answer_stamp: 2010-07-27%2012%3A31%3A22
variable_progress_media_stamp: 2010-07-27%2012%3A31%3A15
variable_end_stamp: 2010-07-27%2012%3A31%3A25
variable_start_epoch: 1280248274
variable_start_uepoch: 1280248274809143
variable_profile_start_epoch: 1280248274
variable_profile_start_uepoch: 1280248274809143
variable_answer_epoch: 1280248282
variable_answer_uepoch: 1280248282415326
variable_resurrect_epoch: 0
variable_resurrect_uepoch: 0
variable_progress_epoch: 0
variable_progress_uepoch: 0
variable_progress_media_epoch: 1280248275
variable_progress_media_uepoch: 1280248275766567
variable_end_epoch: 1280248285
variable_end_uepoch: 1280248285123542
variable_last_app: park
variable_caller_id: %22Test%7D%22%20%3C9999999999%3E
variable_duration: 11
variable_billsec: 3
variable_progresssec: 0
variable_answersec: 8
variable_progress_mediasec: 1
variable_flow_billsec: 11
variable_mduration: 10314
variable_billmsec: 2708
variable_progressmsec: 0
variable_answermsec: 7606
variable_progress_mediamsec: 0
variable_flow_billmsec: 10314
variable_uduration: 10314399
variable_billusec: 2708216
variable_progressusec: 0
variable_answerusec: 7606183
variable_progress_mediausec: 957424
variable_flow_billusec: 10314399

Content-Length: 696
Content-Type: text/event-plain

Event-Name: CHANNEL_STATE
Core-UUID: 2b696c27-bd61-4bfa-b6a1-291f14e32689
FreeSWITCH-Hostname: LoadTest-DIALER
FreeSWITCH-IPv4: 192.168.100.76
FreeSWITCH-IPv6: %3A%3A1
Event-Date-Local: 2010-07-27%2012%3A31%3A25
Event-Date-GMT: Tue,%2027%20Jul%202010%2016%3A31%3A25%20GMT
Event-Date-Timestamp: 1280248285124538
Event-Calling-File: switch_channel.c
Event-Calling-Function: switch_channel_perform_set_running_state
Event-Calling-Line-Number: 1492
Channel-State: CS_REPORTING
Channel-Call-State: HANGUP
Channel-State-Number: 11
Channel-Name: OpenZAP/1%3A1/15551231234
Unique-ID: cc18cedd-a05a-4180-beda-458e5ece048b
Call-Direction: outbound
Presence-Call-Direction: outbound
Answer-State: answered

Content-Length: 1563
Content-Type: text/event-plain

Event-Name: CHANNEL_DESTROY
Core-UUID: 2b696c27-bd61-4bfa-b6a1-291f14e32689
FreeSWITCH-Hostname: LoadTest-DIALER
FreeSWITCH-IPv4: 192.168.100.76
FreeSWITCH-IPv6: %3A%3A1
Event-Date-Local: 2010-07-27%2012%3A31%3A25
Event-Date-GMT: Tue,%2027%20Jul%202010%2016%3A31%3A25%20GMT
Event-Date-Timestamp: 1280248285124538
Event-Calling-File: switch_core_session.c
Event-Calling-Function: switch_core_session_perform_destroy
Event-Calling-Line-Number: 1077
Channel-State: CS_DESTROY
Channel-Call-State: HANGUP
Channel-State-Number: 12
Channel-Name: OpenZAP/1%3A1/15551231234
Unique-ID: cc18cedd-a05a-4180-beda-458e5ece048b
Call-Direction: outbound
Presence-Call-Direction: outbound
Channel-Call-UUID: 4feec0d2-cb0c-49c1-9bd7-758f1e3e7c07
Answer-State: answered
Channel-Read-Codec-Name: PCMU
Channel-Read-Codec-Rate: 8000
Channel-Write-Codec-Name: PCMU
Channel-Write-Codec-Rate: 8000
Caller-Caller-ID-Name: Test%7D
Caller-Caller-ID-Number: 9999999999
Caller-Destination-Number: 15551231234
Caller-Unique-ID: cc18cedd-a05a-4180-beda-458e5ece048b
Caller-Source: src/switch_ivr_originate.c
Caller-Context: default
Caller-Channel-Name: OpenZAP/1%3A1/15551231234
Caller-Profile-Index: 1
Caller-Profile-Created-Time: 1280248274809143
Caller-Channel-Created-Time: 1280248274809143
Caller-Channel-Answered-Time: 1280248282415326
Caller-Channel-Progress-Time: 0
Caller-Channel-Progress-Media-Time: 1280248275766567
Caller-Channel-Hangup-Time: 1280248285123542
Caller-Channel-Transfer-Time: 0
Caller-Screen-Bit: true
Caller-Privacy-Hide-Name: false
Caller-Privacy-Hide-Number: false

Content-Length: 692
Content-Type: text/event-plain

Event-Name: CHANNEL_STATE
Core-UUID: 2b696c27-bd61-4bfa-b6a1-291f14e32689
FreeSWITCH-Hostname: LoadTest-DIALER
FreeSWITCH-IPv4: 192.168.100.76
FreeSWITCH-IPv6: %3A%3A1
Event-Date-Local: 2010-07-27%2012%3A31%3A25
Event-Date-GMT: Tue,%2027%20Jul%202010%2016%3A31%3A25%20GMT
Event-Date-Timestamp: 1280248285124538
Event-Calling-File: switch_channel.c
Event-Calling-Function: switch_channel_perform_set_running_state
Event-Calling-Line-Number: 1492
Channel-State: CS_DESTROY
Channel-Call-State: DOWN
Channel-State-Number: 12
Channel-Name: OpenZAP/1%3A1/15551231234
Unique-ID: cc18cedd-a05a-4180-beda-458e5ece048b
Call-Direction: outbound
Presence-Call-Direction: outbound
Answer-State: answered
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100727/1d2bb925/attachment-0001.html 


More information about the FreeSWITCH-users mailing list