[OpenSIPS-Users] CODEC event in Mod event socket

Joe Flemmings joe.jflemmings at gmail.com
Fri Aug 10 09:46:57 CEST 2012


Yes, Sorry about that.

Joe.

On Fri, Aug 10, 2012 at 12:39 AM, Saúl Ibarra Corretgé <saul at ag-projects.com
> wrote:

> Wrong mailing list? ;-)
>
> On Aug 9, 2012, at 6:06 AM, Joe Flemmings 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.freeway.com
> > FreeSWITCH-Switchname: freeswitch-64bit-lab.freeway.com
> > 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
> >
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.opensips.org
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
> --
> Saúl Ibarra Corretgé
> AG Projects
>
>
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20120810/b4ec3f44/attachment-0001.htm>


More information about the Users mailing list