[Freeswitch-users] CUSTOM events

Tihomir Culjaga tculjaga at gmail.com
Mon Dec 26 11:20:19 MSK 2011


well, ashamed and blind ....

events plain CUSTOM spandsp::txfaxresult spandsp::rxfaxresult
spandsp::rxfaxpageresult spandsp::txfaxpageresult

pls ignore this post...


T.

On Mon, Dec 26, 2011 at 9:13 AM, Tihomir Culjaga <tculjaga at gmail.com> wrote:

> hello,
>
> please, can anyone tell how do i subscribe to these events ?
>
> i tried "events plain CUSTOM", fs acepted it but i got no events...
> using "events plain all" i can get them but with all others i don't really
> want.
>
>
> Event-Subclass: spandsp%3A%3Arxfaxpageresult
> Event-Name: CUSTOM
> Core-UUID: df6035f5-552b-40ce-a66f-d4de0b0f9527
> FreeSWITCH-Hostname: l01sipindirpp
> FreeSWITCH-Switchname: l01sipindirpp
> FreeSWITCH-IPv4: 85.114.35.241
> FreeSWITCH-IPv6: 2a02%3Aac8%3Ad%3A924%3A211%3Aaff%3Afe5b%3Ada1c
> Event-Date-Local: 2011-12-25%2019%3A29%3A50
> Event-Date-GMT: Sun,%2025%20Dec%202011%2020%3A29%3A50%20GMT
> Event-Date-Timestamp: 1324844990773140
> Event-Calling-File: mod_spandsp_fax.c
> Event-Calling-Function: phase_d_handler
> Event-Calling-Line-Number: 439
> fax-document-transferred-pages: 6
> fax-image-resolution: 8031x3850
> fax-image-size: 19764
> fax-image-pixel-size: 1728x1094
> fax-bad-rows: 0
> fax-longest-bad-row-run: 0
> fax-encoding: 3
> fax-encoding-name: T.6
>
> Content-Length: 734
> Content-Type: text/event-plain
>
> Event-Subclass: spandsp%3A%3Atxfaxpageresult
> Event-Name: CUSTOM
> Core-UUID: df6035f5-552b-40ce-a66f-d4de0b0f9527
> FreeSWITCH-Hostname: l01sipindirpp
> FreeSWITCH-Switchname: l01sipindirpp
> FreeSWITCH-IPv4: 85.114.35.241
> FreeSWITCH-IPv6: 2a02%3Aac8%3Ad%3A924%3A211%3Aaff%3Afe5b%3Ada1c
> Event-Date-Local: 2011-12-25%2019%3A29%3A51
> Event-Date-GMT: Sun,%2025%20Dec%202011%2020%3A29%3A51%20GMT
> Event-Date-Timestamp: 1324844991976624
> Event-Calling-File: mod_spandsp_fax.c
> Event-Calling-Function: phase_d_handler
> Event-Calling-Line-Number: 439
> fax-document-transferred-pages: 6
> fax-image-resolution: 8031x3850
> fax-image-size: 19763
> fax-image-pixel-size: 1728x1078
> fax-bad-rows: 0
> fax-longest-bad-row-run: 0
> fax-encoding: 3
> fax-encoding-name: T.6
>
>
>
>
>
> Event-Subclass: spandsp%3A%3Arxfaxresult
> Event-Name: CUSTOM
> Core-UUID: df6035f5-552b-40ce-a66f-d4de0b0f9527
> FreeSWITCH-Hostname: l01sipindirpp
> FreeSWITCH-Switchname: l01sipindirpp
> FreeSWITCH-IPv4: 85.114.35.241
> FreeSWITCH-IPv6: 2a02%3Aac8%3Ad%3A924%3A211%3Aaff%3Afe5b%3Ada1c
> Event-Date-Local: 2011-12-25%2019%3A29%3A54
> Event-Date-GMT: Sun,%2025%20Dec%202011%2020%3A29%3A54%20GMT
> Event-Date-Timestamp: 1324844994164770
> Event-Calling-File: mod_spandsp_fax.c
> Event-Calling-Function: phase_e_handler
> Event-Calling-Line-Number: 573
> Channel-State: CS_EXECUTE
> Channel-Call-State: ACTIVE
> Channel-State-Number: 4
> Channel-Name: sofia/external/123456%4085.114.35.241
> Unique-ID: 4abfa488-ac1d-4382-b492-1e7529ac40ee
> Call-Direction: inbound
> Presence-Call-Direction: inbound
> Channel-HIT-Dialplan: true
> Channel-Call-UUID: 4abfa488-ac1d-4382-b492-1e7529ac40ee
> Answer-State: answered
> Channel-Read-Codec-Name: L16
> Channel-Read-Codec-Rate: 8000
> Channel-Read-Codec-Bit-Rate: 128000
> Channel-Write-Codec-Name: PCMU
> Channel-Write-Codec-Rate: 8000
> Channel-Write-Codec-Bit-Rate: 64000
> Caller-Direction: inbound
> Caller-Username: 123456
> Caller-Dialplan: XML
> Caller-Caller-ID-Name: 123456
> Caller-Caller-ID-Number: 123456
> Caller-Network-Addr: 85.114.35.241
> Caller-ANI: 123456
> Caller-Destination-Number: getFAX
> Caller-Unique-ID: 4abfa488-ac1d-4382-b492-1e7529ac40ee
> Caller-Source: mod_sofia
> Caller-Transfer-Source:
> 1324844899%3A8784497d-6524-408f-bdde-7db53c068a06%3Abl_xfer%3AgetFAX/default/XML
> Caller-Context: default
> Caller-RDNIS: 38515492122
> Caller-Channel-Name: sofia/external/123456%4085.114.35.241
> Caller-Profile-Index: 2
> Caller-Profile-Created-Time: 1324844899737667
> Caller-Channel-Created-Time: 1324844899717382
> Caller-Channel-Answered-Time: 1324844899737667
> 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: inbound
> variable_uuid: 4abfa488-ac1d-4382-b492-1e7529ac40ee
> variable_session_id: 21
> variable_sip_local_network_addr: 85.114.35.241
> variable_sip_network_ip: 85.114.35.241
> variable_sip_network_port: 5080
> variable_sip_received_ip: 85.114.35.241
> variable_sip_received_port: 5080
> variable_sip_via_protocol: udp
> variable_sip_from_user: 123456
> variable_sip_from_uri: 123456%4085.114.35.241
> variable_sip_from_host: 85.114.35.241
> variable_sip_from_user_stripped: 123456
> variable_sofia_profile_name: external
> variable_sip_Remote-Party-ID:
> %22123456%22%20%3Csip%3A123456%4085.114.35.241%3E%3Bparty%3Dcalling%3Bscreen%3Dyes%3Bprivacy%3Doff
> variable_sip_cid_type: rpid
> variable_sip_req_user: 38515492122
> variable_sip_req_port: 5080
> variable_sip_req_uri: 38515492122%4085.114.35.241%3A5080
> variable_sip_req_host: 85.114.35.241
> variable_sip_to_user: 38515492122
> variable_sip_to_port: 5080
> variable_sip_to_uri: 38515492122%4085.114.35.241%3A5080
> variable_sip_to_host: 85.114.35.241
> variable_sip_contact_user: mod_sofia
> variable_sip_contact_port: 5080
> variable_sip_contact_uri: mod_sofia%4085.114.35.241%3A5080
> variable_sip_contact_host: 85.114.35.241
> variable_channel_name: sofia/external/123456%4085.114.35.241
> variable_sip_user_agent: FreeSWITCH-mod_sofia/1.0.head-git-
> variable_sip_via_host: 85.114.35.241
> variable_sip_via_port: 5080
> variable_sip_via_rport: 5080
> variable_switch_r_sdp:
> v%3D0%0D%0Ao%3DFreeSWITCH%201324824001%201324824002%20IN%20IP4%2085.114.35.241%0D%0As%3DFreeSWITCH%0D%0Ac%3DIN%20IP4%2085.114.35.241%0D%0At%3D0%200%0D%0Am%3Daudio%2020898%20RTP/AVP%200%208%203%20101%2013%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-16%0D%0Aa%3Dptime%3A20%0D%0A
> variable_sip_audio_recv_pt: 0
> variable_sip_use_codec_name: PCMU
> variable_sip_use_codec_rate: 8000
> variable_sip_use_codec_ptime: 20
> variable_write_codec: PCMU
> variable_write_rate: 8000
> variable_DP_MATCH: ARRAY%3A%3A38515492122%7C%3A38515492122
> variable_max_forwards: 69
> variable_transfer_history:
> ARRAY%3A%3A1324844899%3A8784497d-6524-408f-bdde-7db53c068a06%3Abl_xfer%3AgetFAX/default/XML
> variable_transfer_source:
> 1324844899%3A8784497d-6524-408f-bdde-7db53c068a06%3Abl_xfer%3AgetFAX/default/XML
> variable_call_uuid: 4abfa488-ac1d-4382-b492-1e7529ac40ee
> variable_sip_local_sdp_str:
> v%3D0%0Ao%3DFreeSWITCH%201324819829%201324819830%20IN%20IP4%2085.114.35.241%0As%3DFreeSWITCH%0Ac%3DIN%20IP4%2085.114.35.241%0At%3D0%200%0Am%3Daudio%2025070%20RTP/AVP%200%20101%2013%0Aa%3Drtpmap%3A0%20PCMU/8000%0Aa%3Drtpmap%3A101%20telephone-event/8000%0Aa%3Dfmtp%3A101%200-16%0Aa%3Drtpmap%3A13%20CN/8000%0Aa%3Dptime%3A20%0Aa%3Dsendrecv%0A
> variable_local_media_ip: 85.114.35.241
> variable_local_media_port: 25070
> variable_advertised_media_ip: 85.114.35.241
> variable_sip_use_pt: 0
> variable_rtp_use_ssrc: 1938434566
> variable_sip_2833_send_payload: 101
> variable_sip_2833_recv_payload: 101
> variable_remote_media_ip: 85.114.35.241
> variable_remote_media_port: 20898
> variable_endpoint_disposition: ANSWER
> variable_sip_to_tag: KF59FF72Xm35m
> variable_sip_from_tag: j6BHempZ0BDKS
> variable_sip_cseq: 22086385
> variable_sip_call_id: d32f024c-a9d9-122f-d58d-00110a5bda1c
> variable_sip_from_display: 123456
> variable_sip_full_from:
> %22123456%22%20%3Csip%3A123456%4085.114.35.241%3E%3Btag%3Dj6BHempZ0BDKS
> variable_sip_full_to:
> %3Csip%3A38515492122%4085.114.35.241%3A5080%3E%3Btag%3DKF59FF72Xm35m
> variable_playback_seconds: 2
> variable_playback_ms: 2000
> variable_playback_samples: 16000
> variable_current_application_data:
> /tmp/FAX-4abfa488-ac1d-4382-b492-1e7529ac40ee.tif
> variable_current_application: rxfax
> variable_fax_v17_disabled: 0
> variable_fax_ecm_requested: 1
> variable_fax_filename: /tmp/FAX-4abfa488-ac1d-4382-b492-1e7529ac40ee.tif
> variable_jitterbuffer_msec: 0
> variable_read_codec: L16
> variable_read_rate: 8000
> variable_fax_image_pixel_size: 1728x1094
> variable_fax_longest_bad_row_run: 0
> variable_fax_encoding: 3
> variable_fax_encoding_name: T.6
> variable_fax_success: 1
> variable_fax_result_code: 0
> variable_fax_result_text: OK
> variable_fax_ecm_used: on
> variable_fax_local_station_id: SpanDSP%20Fax%20Ident
> variable_fax_remote_station_id: SpanDSP%20Fax%20Ident
> variable_fax_document_transferred_pages: 6
> variable_fax_document_total_pages: 6
> variable_fax_image_resolution: 8031x3850
> variable_fax_image_size: 0
> variable_fax_bad_rows: 0
> variable_fax_transfer_rate: 14400
> fax-success: 1
> fax-result-code: 0
> fax-result-text: OK
> fax-document-transferred-pages: 6
> fax-document-total-pages: 6
> fax-image-resolution: 8031x3850
> fax-image-size: 0
> fax-bad-rows: 0
> fax-transfer-rate: 14400
> fax-ecm-used: on
> fax-local-station-id: SpanDSP%20Fax%20Ident
> fax-remote-station-id: SpanDSP%20Fax%20Ident
>
> Content-Length: 6284
> Content-Type: text/event-plain
>
> Event-Subclass: spandsp%3A%3Atxfaxresult
> Event-Name: CUSTOM
> Core-UUID: df6035f5-552b-40ce-a66f-d4de0b0f9527
> FreeSWITCH-Hostname: l01sipindirpp
> FreeSWITCH-Switchname: l01sipindirpp
> FreeSWITCH-IPv4: 85.114.35.241
> FreeSWITCH-IPv6: 2a02%3Aac8%3Ad%3A924%3A211%3Aaff%3Afe5b%3Ada1c
> Event-Date-Local: 2011-12-25%2019%3A29%3A54
> Event-Date-GMT: Sun,%2025%20Dec%202011%2020%3A29%3A54%20GMT
> Event-Date-Timestamp: 1324844994185061
> Event-Calling-File: mod_spandsp_fax.c
> Event-Calling-Function: phase_e_handler
> Event-Calling-Line-Number: 573
> Channel-State: CS_EXECUTE
> Channel-Call-State: ACTIVE
> Channel-State-Number: 4
> Channel-Name: sofia/external/38515492122%4085.114.35.241%3A5080
> Unique-ID: efb1f19d-4298-409b-b975-06ebbb8403ee
> Call-Direction: outbound
> Presence-Call-Direction: outbound
> Channel-HIT-Dialplan: true
> Channel-Call-UUID: efb1f19d-4298-409b-b975-06ebbb8403ee
> Answer-State: answered
> Channel-Read-Codec-Name: L16
> Channel-Read-Codec-Rate: 8000
> Channel-Read-Codec-Bit-Rate: 128000
> Channel-Write-Codec-Name: PCMU
> Channel-Write-Codec-Rate: 8000
> Channel-Write-Codec-Bit-Rate: 64000
> Caller-Direction: outbound
> Caller-Caller-ID-Name: 38515492122
> Caller-Caller-ID-Number: 38515492122
> Caller-Network-Addr: 85.114.35.241
> Caller-Destination-Number: 38515492122
> Caller-Unique-ID: efb1f19d-4298-409b-b975-06ebbb8403ee
> Caller-Source: src/switch_ivr_originate.c
> Caller-Context: default
> Caller-Channel-Name: sofia/external/38515492122%4085.114.35.241%3A5080
> Caller-Profile-Index: 1
> Caller-Profile-Created-Time: 1324844899717382
> Caller-Channel-Created-Time: 1324844899717382
> Caller-Channel-Answered-Time: 1324844899737667
> 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_is_outbound: true
> variable_uuid: efb1f19d-4298-409b-b975-06ebbb8403ee
> variable_session_id: 20
> variable_sip_profile_name: external
> variable_channel_name: sofia/external/38515492122%4085.114.35.241%3A5080
> variable_sip_destination_url: sip%3A38515492122%4085.114.35.241%3A5080
> variable_origination_caller_id_name: 123456
> variable_origination_caller_id_number: 123456
> variable_originate_early_media: true
> variable_sip_local_sdp_str:
> v%3D0%0Ao%3DFreeSWITCH%201324824001%201324824002%20IN%20IP4%2085.114.35.241%0As%3DFreeSWITCH%0Ac%3DIN%20IP4%2085.114.35.241%0At%3D0%200%0Am%3Daudio%2020898%20RTP/AVP%200%208%203%20101%2013%0Aa%3Drtpmap%3A101%20telephone-event/8000%0Aa%3Dfmtp%3A101%200-16%0Aa%3Dptime%3A20%0Aa%3Dsendrecv%0A
> variable_sip_outgoing_contact_uri:
> %3Csip%3Amod_sofia%4085.114.35.241%3A5080%3E
> variable_sip_req_uri: 38515492122%4085.114.35.241%3A5080
> variable_sofia_profile_name: external
> variable_sip_local_network_addr: 85.114.35.241
> variable_sip_reply_host: 85.114.35.241
> variable_sip_reply_port: 5080
> variable_sip_network_ip: 85.114.35.241
> variable_sip_network_port: 5080
> variable_sip_user_agent: FreeSWITCH-mod_sofia/1.0.head-git-
> variable_sip_recover_contact:
> %3Csip%3A38515492122%4085.114.35.241%3A5080%3Btransport%3Dudp%3E
> variable_sip_recover_via:
> SIP/2.0/UDP%2085.114.35.241%3A5080%3Brport%3D5080%3Bbranch%3Dz9hG4bKttHcapKerBjrS
> variable_sip_from_display: 123456
> variable_sip_full_from:
> %22123456%22%20%3Csip%3A123456%4085.114.35.241%3E%3Btag%3Dj6BHempZ0BDKS
> variable_sip_full_to:
> %3Csip%3A38515492122%4085.114.35.241%3A5080%3E%3Btag%3DKF59FF72Xm35m
> variable_sip_from_user: 123456
> variable_sip_from_uri: 123456%4085.114.35.241
> variable_sip_from_host: 85.114.35.241
> variable_sip_to_user: 38515492122
> variable_sip_to_port: 5080
> variable_sip_to_uri: 38515492122%4085.114.35.241%3A5080
> variable_sip_to_host: 85.114.35.241
> variable_sip_contact_params: transport%3Dudp
> variable_sip_contact_user: 38515492122
> variable_sip_contact_port: 5080
> variable_sip_contact_uri: 38515492122%4085.114.35.241%3A5080
> variable_sip_contact_host: 85.114.35.241
> variable_sip_to_tag: KF59FF72Xm35m
> variable_sip_from_tag: j6BHempZ0BDKS
> variable_sip_cseq: 22086385
> variable_sip_call_id: d32f024c-a9d9-122f-d58d-00110a5bda1c
> variable_switch_r_sdp:
> v%3D0%0D%0Ao%3DFreeSWITCH%201324819829%201324819830%20IN%20IP4%2085.114.35.241%0D%0As%3DFreeSWITCH%0D%0Ac%3DIN%20IP4%2085.114.35.241%0D%0At%3D0%200%0D%0Am%3Daudio%2025070%20RTP/AVP%200%20101%2013%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-16%0D%0Aa%3Drtpmap%3A13%20CN/8000%0D%0Aa%3Dptime%3A20%0D%0A
> variable_sip_audio_recv_pt: 0
> variable_sip_use_codec_name: PCMU
> variable_sip_use_codec_rate: 8000
> variable_sip_use_codec_ptime: 20
> variable_write_codec: PCMU
> variable_write_rate: 8000
> variable_local_media_ip: 85.114.35.241
> variable_local_media_port: 20898
> variable_advertised_media_ip: 85.114.35.241
> variable_sip_use_pt: 0
> variable_rtp_use_ssrc: 3547204870
> variable_sip_2833_send_payload: 101
> variable_sip_2833_recv_payload: 101
> variable_remote_media_ip: 85.114.35.241
> variable_remote_media_port: 25070
> variable_endpoint_disposition: ANSWER
> variable_pre_transfer_caller_id_name: 123456
> variable_pre_transfer_caller_id_number: 123456
> variable_call_uuid: efb1f19d-4298-409b-b975-06ebbb8403ee
> variable_current_application_data: /tmp/txfax.tiff
> variable_current_application: txfax
> variable_fax_v17_disabled: 0
> variable_fax_ecm_requested: 1
> variable_fax_filename: /tmp/txfax.tiff
> variable_jitterbuffer_msec: 0
> variable_read_codec: L16
> variable_read_rate: 8000
> variable_fax_image_pixel_size: 1728x1078
> variable_fax_longest_bad_row_run: 0
> variable_fax_encoding: 3
> variable_fax_encoding_name: T.6
> variable_fax_success: 1
> variable_fax_result_code: 0
> variable_fax_result_text: OK
> variable_fax_ecm_used: on
> variable_fax_local_station_id: SpanDSP%20Fax%20Ident
> variable_fax_remote_station_id: SpanDSP%20Fax%20Ident
> variable_fax_document_transferred_pages: 6
> variable_fax_document_total_pages: 6
> variable_fax_image_resolution: 8031x3850
> variable_fax_image_size: 19763
> variable_fax_bad_rows: 0
> variable_fax_transfer_rate: 14400
> fax-success: 1
> fax-result-code: 0
> fax-result-text: OK
> fax-document-transferred-pages: 6
> fax-document-total-pages: 6
> fax-image-resolution: 8031x3850
> fax-image-size: 19763
> fax-bad-rows: 0
> fax-transfer-rate: 14400
> fax-ecm-used: on
> fax-local-station-id: SpanDSP%20Fax%20Ident
> fax-remote-station-id: SpanDSP%20Fax%20Ident
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20111226/83d9c320/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list