I’m using Inbound “Mod event socket” and want to associate the codec event with a call in the system.<br><br>When the event is first fired by FreeSwitch, it has a new Unique-ID and there is no way to associate it with any other channels.<br>
<br>How can i associate this event so i know what call it belongs to. Please see sample event bellow on issue. Unique-ID is a new value of cdee98ff-d786-46be-b058-a29e5eddb0af. I would like to associate this event with a channel in the system or call leg.<br>
<br><br>Event-Name: CODEC<br>Core-UUID: 45e18440-cf99-49ab-bc6e-d85c083312c5<br>FreeSWITCH-Hostname: freeswitch-64bit-lab<br>FreeSWITCH-Switchname: freeswitch-64bit-lab<br>FreeSWITCH-IPv4: 10.10.78.36<br>FreeSWITCH-IPv6: %3A%3A1<br>
Event-Date-Local: 2012-08-08%2020%3A17%3A49<br>Event-Date-GMT: Thu,%2009%20Aug%202012%2003%3A17%3A49%20GMT<br>Event-Date-Timestamp: 1344482269907740<br>Event-Calling-File: switch_core_codec.c<br>Event-Calling-Function: switch_core_session_set_real_read_codec<br>
Event-Calling-Line-Number: 162<br>Event-Sequence: 388579<br>Channel-State: CS_CONSUME_MEDIA<br>Channel-Call-State: RINGING<br>Channel-State-Number: 7<br>Channel-Name: sofia/external_10.10.78.36/fax_17144301800_8518154256_8518154256_pbxcluster_4500847326%4010.10.78.36<br>
Unique-ID: cdee98ff-d786-46be-b058-a29e5eddb0af<br>Call-Direction: outbound<br>Presence-Call-Direction: outbound<br>Channel-HIT-Dialplan: false<br>Channel-Call-UUID: cdee98ff-d786-46be-b058-a29e5eddb0af<br>Answer-State: ringing<br>
Channel-Read-Codec-Name: PCMU<br>Channel-Read-Codec-Rate: 8000<br>Channel-Read-Codec-Bit-Rate: 64000<br>Channel-Write-Codec-Name: PCMU<br>Channel-Write-Codec-Rate: 8000<br>Channel-Write-Codec-Bit-Rate: 64000<br>Caller-Direction: outbound<br>
Caller-Caller-ID-Name: 7144301800<br>Caller-Caller-ID-Number: 7144301800<br>Caller-Callee-ID-Name: Outbound%20Call<br>Caller-Callee-ID-Number: 17144301800<br>Caller-Network-Addr: 10.10.78.36<br>Caller-Destination-Number: fax_17144301800_8518154256_8518154256_pbxcluster_4500847326<br>
Caller-Unique-ID: cdee98ff-d786-46be-b058-a29e5eddb0af<br>Caller-Source: src/switch_ivr_originate.c<br>Caller-Context: default<br>Caller-Channel-Name: sofia/external_10.10.78.36/fax_17144301800_8518154256_8518154256_pbxcluster_4500847326%4010.10.78.36<br>
Caller-Profile-Index: 1<br>Caller-Profile-Created-Time: 1344482263028410<br>Caller-Channel-Created-Time: 1344482263028410<br>Caller-Channel-Answered-Time: 0<br>Caller-Channel-Progress-Time: 0<br>Caller-Channel-Progress-Media-Time: 0<br>
Caller-Channel-Hangup-Time: 0<br>Caller-Channel-Transfer-Time: 0<br>Caller-Screen-Bit: true<br>Caller-Privacy-Hide-Name: false<br>Caller-Privacy-Hide-Number: false<br>channel-read-codec-name: PCMU<br>channel-read-codec-rate: 8000<br>
channel-read-codec-bit-rate: 64000<br><br><br>