[Freeswitch-users] CODEC event in Mod event socket
Joe Flemmings
joe.jflemmings at gmail.com
Thu Aug 9 16:44:31 MSD 2012
I'm originating the call from the CLI using originate
http://wiki.freeswitch.org/wiki/Mod_spandsp#For_transmitting_a_fax_2
I can bet you that this is the first time i see this uniqueu id in the
events output.
On Thu, Aug 9, 2012 at 4:27 AM, Godson Gera <godson.g at gmail.com> wrote:
> You must already be having a channel in the FS with that unique id. Are
> you originating these calls from event socket ?
>
> On Thu, Aug 9, 2012 at 9:40 AM, Joe Flemmings <joe.jflemmings at gmail.com>wrote:
>
>> I’m using Inbound “Mod event socket” and want to associate the codec
>> event with a call in the system.
>>
>> 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.
>>
>> 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.
>>
>>
>> Event-Name: CODEC
>> Core-UUID: 45e18440-cf99-49ab-bc6e-d85c083312c5
>> FreeSWITCH-Hostname: freeswitch-64bit-lab
>> FreeSWITCH-Switchname: freeswitch-64bit-lab
>> FreeSWITCH-IPv4: 10.10.78.36
>> FreeSWITCH-IPv6: %3A%3A1
>> Event-Date-Local: 2012-08-08%2020%3A17%3A49
>> Event-Date-GMT: Thu,%2009%20Aug%202012%2003%3A17%3A49%20GMT
>> Event-Date-Timestamp: 1344482269907740
>> Event-Calling-File: switch_core_codec.c
>> Event-Calling-Function: switch_core_session_set_real_read_codec
>> Event-Calling-Line-Number: 162
>> Event-Sequence: 388579
>> Channel-State: CS_CONSUME_MEDIA
>> Channel-Call-State: RINGING
>> Channel-State-Number: 7
>> Channel-Name: sofia/external_10.10.78.36/fax_17144301800
>> _8518154256_8518154256_pbxcluster_4500847326%4010.10.78.36
>> Unique-ID: cdee98ff-d786-46be-b058-a29e5eddb0af
>> Call-Direction: outbound
>> Presence-Call-Direction: outbound
>> Channel-HIT-Dialplan: false
>> Channel-Call-UUID: cdee98ff-d786-46be-b058-a29e5eddb0af
>> Answer-State: ringing
>> Channel-Read-Codec-Name: PCMU
>> Channel-Read-Codec-Rate: 8000
>> Channel-Read-Codec-Bit-Rate: 64000
>> Channel-Write-Codec-Name: PCMU
>> Channel-Write-Codec-Rate: 8000
>> Channel-Write-Codec-Bit-Rate: 64000
>> Caller-Direction: outbound
>> Caller-Caller-ID-Name: 7144301800
>> Caller-Caller-ID-Number: 7144301800
>> Caller-Callee-ID-Name: Outbound%20Call
>> Caller-Callee-ID-Number: 17144301800
>> Caller-Network-Addr: 10.10.78.36
>> Caller-Destination-Number: fax_17144301800
>> _8518154256_8518154256_pbxcluster_4500847326
>> Caller-Unique-ID: cdee98ff-d786-46be-b058-a29e5eddb0af
>> Caller-Source: src/switch_ivr_originate.c
>> Caller-Context: default
>> Caller-Channel-Name: sofia/external_10.10.78.36/fax_17144301800
>> _8518154256_8518154256_pbxcluster_4500847326%4010.10.78.36
>> Caller-Profile-Index: 1
>> Caller-Profile-Created-Time: 1344482263028410
>> Caller-Channel-Created-Time: 1344482263028410
>> 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
>> channel-read-codec-name: PCMU
>> channel-read-codec-rate: 8000
>> channel-read-codec-bit-rate: 64000
>>
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>>
>>
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> Join Us At ClueCon - Aug 7-9, 2012
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>
>
> --
> Thanks & Regards,
> Godson Gera
> FreeSWITCH Consultant <http://godson.in>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> Join Us At ClueCon - Aug 7-9, 2012
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120809/0943af6a/attachment-0001.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list