[Freeswitch-users] Event-Name=CHANNEL_DATA - duplicate variables

msc msc at freeswitch.org
Thu Sep 24 09:03:49 PDT 2009


Can you move this question over to the -dev list? Pretty much anything
dealing with source code and custom modules will be better served being
discussed by the developers. Thanks!
-MC

On Wed, Sep 23, 2009 at 7:15 AM, Tihomir Culjaga <tculjaga at gmail.com> wrote:

>
> Hello,
>
> the setup is like this:
>
>
> CALLING_USER(context:Public) => FS => ENDPOINT
>
>
>
>
> The CALLING_USER places a call towards FS. The call is answered and a
> welcome prompt is being played. After that, FS bridges the call towards an
> ENDPOINT.
>
> I've built a custom module where among other stuff i subscribe to events...
>
>
>
> switch_core_add_state_handler(&albatross_state_handler);
>
> switch_state_handler_table_t albatross_state_handler =
> {
>  /* on_init */    process_init,
>  /* on_routing */    NULL, /* Need to add a check here for anything in
> their account before routing */
>  /* on_execute */    NULL,  /* Turn on heartbeat for this session and do an
> initial account check */
>  /* on_hangup */    process_hangup, /* On hangup - most important place to
> go bill */
>  /* on_exch_media */    NULL,
>  /* on_soft_exec */    NULL,
>  /* on_consume_med */    NULL,
>  /* on_hibernate */    NULL,
>  /* on_reset */    NULL
> };
>
>
>
> So, according to the callflow specified above, on hangup i get two events
> ... (1st B-LEG followed by A-LEG).
>
>
> well .. it sems i have double variables on the A-LEG ?!?!?! .. whats wrong
> hewre ?
>
>
> variable_duration=0
> variable_billsec=0
> variable_progresssec=0
> variable_answersec=0
> variable_progress_mediasec=0
> variable_flow_billsec=0
> variable_mduration=0
> variable_billmsec=0
> variable_progressmsec=0
> variable_answermsec=0
> variable_progress_mediamsec=0
> variable_flow_billmsec=0
> variable_uduration=0
> variable_billusec=0
> variable_progressusec=0
> variable_answerusec=0
> variable_progress_mediausec=0
> variable_flow_billusec=0
>
>
>
>
> Dump:**
>
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Event-Name=CHANNEL_DATA    *<= B_LEG (Outbound call)*
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Core-UUID=ca97d306-a840-11de-8ae7-5585e27e6446
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> FreeSWITCH-Hostname=node1
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> FreeSWITCH-IPv4=192.168.102.81
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375 FreeSWITCH-IPv6=::1
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Event-Date-Local=2009-09-23 14:59:22
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375 Event-Date-GMT=Wed,
> 23 Sep 2009 12:59:22 GMT
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Event-Date-Timestamp=1253710762323094
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Event-Calling-File=mod_albatross.c
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Event-Calling-Function=process_hangup
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Event-Calling-Line-Number=2366
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Channel-State=CS_HANGUP
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Channel-State-Number=10
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Channel-Name=sofia/external/0914392122
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Unique-ID=de716bd0-a840-11de-8ae7-5585e27e6446
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Call-Direction=outbound
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Presence-Call-Direction=outbound
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Answer-State=answered
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Channel-Read-Codec-Name=PCMA
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Channel-Read-Codec-Rate=8000
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Channel-Write-Codec-Name=PCMA
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Channel-Write-Codec-Rate=8000
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Caller-Username=016659280
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375 Caller-Dialplan=XML
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Caller-Caller-ID-Name=016659280
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Caller-Caller-ID-Number=016659280
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Caller-Network-Addr=172.16.1.20
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Caller-Destination-Number=0914392122
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Caller-Unique-ID=de716bd0-a840-11de-8ae7-5585e27e6446
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Caller-Source=mod_sofia
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Caller-Context=public
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Caller-Channel-Name=sofia/external/0914392122
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Caller-Profile-Index=1
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Caller-Profile-Created-Time=1253710743103107
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Caller-Channel-Created-Time=1253710743103107
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Caller-Channel-Answered-Time=1253710748807099
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Caller-Channel-Progress-Time=0
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Caller-Channel-Progress-Media-Time=1253710745451100
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Caller-Channel-Hangup-Time=1253710762323094
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Caller-Channel-Transfer-Time=0
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Caller-Screen-Bit=true
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Caller-Privacy-Hide-Name=false
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Caller-Privacy-Hide-Number=false
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Other-Leg-Username=016659280
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Other-Leg-Dialplan=XML
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Other-Leg-Caller-ID-Name=016659280
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Other-Leg-Caller-ID-Number=016659280
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Other-Leg-Network-Addr=172.16.1.20
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Other-Leg-Destination-Number=012468601_Kviz
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Other-Leg-Unique-ID=d2242912-a840-11de-8ae7-5585e27e6446
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Other-Leg-Source=mod_sofia
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Other-Leg-Context=public
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Other-Leg-Channel-Name=sofia/external/016659280 at sip-priv.amis.hr
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Other-Leg-Profile-Created-Time=0
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Other-Leg-Channel-Created-Time=0
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Other-Leg-Channel-Answered-Time=0
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Other-Leg-Channel-Progress-Time=0
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Other-Leg-Channel-Progress-Media-Time=1253710745451100
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Other-Leg-Channel-Hangup-Time=0
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Other-Leg-Channel-Transfer-Time=0
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Other-Leg-Screen-Bit=true
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Other-Leg-Privacy-Hide-Name=false
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Other-Leg-Privacy-Hide-Number=false
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_sip_gateway_name=gw1
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_channel_name=sofia/external/0914392122
> 2009-09-23 14:59:22.323094 [NOTICE] mod_albatross.c:2320 *** HANGUP
> RECEIVED, BYE...
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_sip_destination_url=sip:0914392122 at 172.16.1.20<sip%3A0914392122 at 172.16.1.20>
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_is_outbound=true
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_sip_h_P-Access-Network-Info=ADSL;dsl_location="NOA=4;APRI=1;ADD=3851";network-provided
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_sip_cid_type=pid
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_max_forwards=30
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_originator_codec=PCMA at 8000h@20i
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_originator=d2242912-a840-11de-8ae7-5585e27e6446
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_execute_on_answer=updateQuizServiceStatus_ch in 012468601, in
> connected
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_switch_m_sdp=v=0
> o=cp10 125371067255 125371067255 IN IP4 172.16.2.42
> s=SIP Call
> c=IN IP4 172.16.2.42
> t=0 0
> m=audio 34474 RTP/AVP 8 0 18 125 101
> b=AS:64
> a=rtpmap:8 PCMA/8000/1
> a=rtpmap:0 PCMU/8000/1
> a=rtpmap:18 G729/8000/1
> a=fmtp:18 annexb=no
> a=rtpmap:125 CLEARMODE/8000/1
> a=rtpmap:101 telephone-event/8000
> a=fmtp:101 0-15
> a=ptime:20
>
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_service_number=012468601
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_dialed_number=0914392122
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_originate_early_media=true
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_sofia_profile_name=external
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_sip_call_id=b5cfd0c9-22e3-122d-2c98-001e684a25c5
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_switch_r_sdp=v=0
> o=cp10 125371069278 125371069279 IN IP4 172.16.2.42
> s=SIP Call
> c=IN IP4 172.16.2.42
> t=0 0
> m=audio 34972 RTP/AVP 8 0
> b=AS:64
> a=rtpmap:8 PCMA/8000/1
> a=rtpmap:0 PCMU/8000/1
> a=ptime:20
>
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_remote_media_ip=172.16.2.42
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_remote_media_port=34972
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_read_codec=PCMA
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_read_rate=8000
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Event-Name=CHANNEL_DATA               *<= A-LEG (Inbound)*
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Core-UUID=ca97d306-a840-11de-8ae7-5585e27e6446
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> FreeSWITCH-Hostname=node1
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> FreeSWITCH-IPv4=192.168.102.81
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375 FreeSWITCH-IPv6=::1
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Event-Date-Local=2009-09-23 14:59:22
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375 Event-Date-GMT=Wed,
> 23 Sep 2009 12:59:22 GMT
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Event-Date-Timestamp=1253710762323094
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Event-Calling-File=mod_albatross.c
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Event-Calling-Function=process_hangup
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_write_codec=PCMA
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_write_rate=8000
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_local_media_ip=172.16.3.2
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_local_media_port=42684
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_bridge_channel=sofia/external/016659280 at sip-priv.amis.hr
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_bridge_uuid=d2242912-a840-11de-8ae7-5585e27e6446
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_signal_bond=d2242912-a840-11de-8ae7-5585e27e6446
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_sip_reply_host=172.16.1.20
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_sip_reply_port=5060
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_endpoint_disposition=ANSWER
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_current_application_data=in 012468601, in connected
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_current_application=updateQuizServiceStatus_ch
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_sip_term_status=200
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_sip_term_cause=16
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_sip_user_agent=Cirpack/v4.42d (gw_sip)
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_sip_hangup_disposition=recv_bye
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_hangup_cause=NORMAL_CLEARING
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_hangup_cause_q850=16
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_digits_dialed=none
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_start_stamp=2009-09-23 14:59:03
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_profile_start_stamp=2009-09-23 14:59:03
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_answer_stamp=2009-09-23 14:59:08
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_progress_media_stamp=2009-09-23 14:59:05
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_end_stamp=2009-09-23 14:59:22
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_start_epoch=1253710743
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_start_uepoch=1253710743103107
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_profile_start_epoch=1253710743
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_profile_start_uepoch=1253710743103107
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_answer_epoch=1253710748
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_answer_uepoch=1253710748807099
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_progress_epoch=0
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_progress_uepoch=0
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_progress_media_epoch=1253710745
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_progress_media_uepoch=1253710745451100
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_end_epoch=1253710762
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_end_uepoch=1253710762323094
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_last_app=updateQuizServiceStatus_ch
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375 variable_last_arg=in
> 012468601, in connected
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Event-Calling-Line-Number=2366
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_caller_id="016659280" <016659280>
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375 variable_duration=19
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Channel-State=CS_HANGUP
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375 variable_billsec=14
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Channel-State-Number=10
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_progresssec=0
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Channel-Name=sofia/external/016659280 at sip-priv.amis.hr
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375 variable_answersec=5
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_progress_mediasec=2
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Unique-ID=d2242912-a840-11de-8ae7-5585e27e6446
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_flow_billsec=19
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Call-Direction=inbound
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_mduration=19220
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Presence-Call-Direction=inbound
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_billmsec=13516
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Answer-State=answered
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_progressmsec=0
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Channel-Read-Codec-Name=PCMA
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_answermsec=5704
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Channel-Read-Codec-Rate=8000
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_progress_mediamsec=0
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Channel-Write-Codec-Name=PCMA
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_flow_billmsec=19220
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Channel-Write-Codec-Rate=8000
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_uduration=19219987
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_billusec=13515995
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Caller-Username=016659280
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_progressusec=0
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375 Caller-Dialplan=XML
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_answerusec=5703992
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_progress_mediausec=2347993
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Caller-Caller-ID-Name=016659280
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_flow_billusec=19219987
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Caller-Caller-ID-Number=016659280
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_rtp_audio_in_raw_bytes=144996
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_rtp_audio_in_media_bytes=144996
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Caller-Network-Addr=172.16.1.20
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_rtp_audio_in_packet_count=843
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Caller-Destination-Number=012468601_Kviz
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_rtp_audio_in_media_packet_count=843
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Caller-Unique-ID=d2242912-a840-11de-8ae7-5585e27e6446
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_rtp_audio_in_skip_packet_count=1
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Caller-Source=mod_sofia
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_rtp_audio_in_jb_packet_count=0
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Caller-Context=public
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_rtp_audio_in_dtmf_packet_count=0
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Caller-Channel-Name=sofia/external/016659280 at sip-priv.amis.hr
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_rtp_audio_in_cng_packet_count=0
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Caller-Screen-Bit=true
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_rtp_audio_in_flush_packet_count=0
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Caller-Privacy-Hide-Name=false
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_rtp_audio_out_raw_bytes=143964
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> Caller-Privacy-Hide-Number=false
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_rtp_audio_out_media_bytes=143964
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_sip_received_ip=172.16.1.20
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_rtp_audio_out_packet_count=837
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_sip_received_port=5060
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_rtp_audio_out_media_packet_count=837
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_sip_via_protocol=udp
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_rtp_audio_out_skip_packet_count=0
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_sip_from_params=user=phone
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_rtp_audio_out_dtmf_packet_count=0
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_sip_from_user=016659280
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_rtp_audio_out_cng_packet_count=0
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_sip_from_uri=016659280 at sip-priv.amis.hr
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_sip_from_host=sip-priv.amis.hr
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_sip_from_user_stripped=016659280
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_sip_from_tag=11746-FX-007c2917-23e2091e3
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_sofia_profile_name=external
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_sip_P-Asserted-Identity=016659280
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_sip_cid_type=pid
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2407 siId: (null)
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_sip_req_params=user=phone
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2408 ani: 016659280
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_sip_req_user=012468601
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2409 dnis: 0914392122
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_sip_req_port=5060
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2410 dialed_number:
> 0914392122
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2412 start_stamp:
> 2009-09-23 14:59:03
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_sip_req_uri=012468601 at 172.16.3.2:5060
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2413 answer_stamp:
> 2009-09-23 14:59:08
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2414 progress_stamp:
> (null)
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_sip_req_host=172.16.3.2
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_sip_to_params=user=phone
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2415
> progress_media_stamp: 2009-09-23 14:59:05
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_sip_to_user=012468601
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2416 end_stamp:
> 2009-09-23 14:59:22
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375 variable_sip_to_uri=
> 012468601 at 172.16.3.2
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2420 privacy_hide_number:
> false
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_sip_to_host=172.16.3.2
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_sip_contact_user=nobody
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_sip_contact_port=5060
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_sip_contact_uri=nobody at 172.16.1.20:5060
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_sip_contact_host=172.16.1.20
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_channel_name=sofia/external/016659280 at sip-priv.amis.hr
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_sip_call_id=11746-QJ-007c2916-59db25232 at sip-priv.amis.hr
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_sip_user_agent=Cirpack/v4.42d (gw_sip)
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_sip_via_host=172.16.1.20
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_sip_via_port=5060
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_max_forwards=31
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_sip_h_P-Access-Network-Info=ADSL;dsl_location="NOA=4;APRI=1;ADD=3851";network-provided
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_switch_r_sdp=v=0
> o=cp10 125371067255 125371067255 IN IP4 172.16.2.42
> s=SIP Call
> c=IN IP4 172.16.2.42
> t=0 0
> m=audio 34474 RTP/AVP 8 0 18 125 101
> b=AS:64
> a=rtpmap:8 PCMA/8000/1
> a=rtpmap:0 PCMU/8000/1
> a=rtpmap:18 G729/8000/1
> a=fmtp:18 annexb=no
> a=rtpmap:125 CLEARMODE/8000/1
> a=rtpmap:101 telephone-event/8000
> a=fmtp:101 0-15
> a=ptime:20
>
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_remote_media_ip=172.16.2.42
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_remote_media_port=34474
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_read_codec=PCMA
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_read_rate=8000
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_write_codec=PCMA
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_write_rate=8000
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_service_type_id=1
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_local_media_ip=172.16.3.2
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_local_media_port=27686
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_price_prompt=3.66kn_novo_upozorenje.wav
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_dialed_number=012468601
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_bNum=012468601
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_service_status1=win
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_number_2_connect=0914392122
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_next_number_2_connect=0
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_next_number_2_display=0
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_service_instance=130
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_service_id=2
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_quiz_status=win
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_not_working_prompt=2/emisija trenutno nije u tijeku-za telefone.wav
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_service_win_prompt=2/bit cete spojeni u emisiju1.wav
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_service_loose_prompt=2/zovi ponovo.wav
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_outside_call=true
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_endpoint_disposition=ANSWER
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_playback_ms=0
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_playback_samples=0
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_bypass_media=false
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_hangup_after_bridge=true
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_nolocal:execute_on_answer=updateQuizServiceStatus_ch in 012468601,
> in connected
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_export_vars=nolocal:execute_on_answer
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_current_application_data=[service_number=012468601,dialed_number=0914392122]sofia/gateway/gw1/0914392122
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_current_application=bridge
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_switch_m_sdp=v=0
> o=cp10 125371069278 125371069279 IN IP4 172.16.2.42
> s=SIP Call
> c=IN IP4 172.16.2.42
> t=0 0
> m=audio 34972 RTP/AVP 8 0
> b=AS:64
> a=rtpmap:8 PCMA/8000/1
> a=rtpmap:0 PCMU/8000/1
> a=ptime:20
>
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_originate_disposition=SUCCESS
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_bridge_channel=sofia/external/0914392122
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_bridge_uuid=de716bd0-a840-11de-8ae7-5585e27e6446
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_signal_bond=de716bd0-a840-11de-8ae7-5585e27e6446
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_sip_hangup_phrase=OK
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_bridge_hangup_cause=NORMAL_CLEARING
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_hangup_cause=NORMAL_CLEARING
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_hangup_cause_q850=16
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_digits_dialed=none
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_last_app=bridge
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_last_arg=[service_number=012468601,dialed_number=0914392122]sofia/gateway/gw1/0914392122
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_caller_id="016659280" <016659280>
> *2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_duration=0
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375 variable_billsec=0
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_progresssec=0
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375 variable_answersec=0
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_progress_mediasec=0
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_flow_billsec=0
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375 variable_mduration=0
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375 variable_billmsec=0
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_progressmsec=0
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_answermsec=0
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_progress_mediamsec=0
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_flow_billmsec=0
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375 variable_uduration=0
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375 variable_billusec=0
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_progressusec=0
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_answerusec=0
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_progress_mediausec=0
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_flow_billusec=0*
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_sip_hangup_disposition=send_bye
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_rtp_audio_in_raw_bytes=341764
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_rtp_audio_in_media_bytes=341764
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_rtp_audio_in_packet_count=1987
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_rtp_audio_in_media_packet_count=1987
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_rtp_audio_in_skip_packet_count=10
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_rtp_audio_in_jb_packet_count=0
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_rtp_audio_in_dtmf_packet_count=0
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_rtp_audio_in_cng_packet_count=0
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_rtp_audio_in_flush_packet_count=0
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_rtp_audio_out_raw_bytes=304440
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_rtp_audio_out_media_bytes=304440
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_rtp_audio_out_packet_count=1770
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_rtp_audio_out_media_packet_count=1770
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_rtp_audio_out_skip_packet_count=0
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_rtp_audio_out_dtmf_packet_count=0
> 2009-09-23 14:59:22.323094 [INFO] mod_albatross.c:2375
> variable_rtp_audio_out_cng_packet_count=0
>
>
>
>
>
> _______________________________________________
> 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/20090924/9217fa1e/attachment-0002.html 


More information about the FreeSWITCH-users mailing list