Linksys P-RTP-Stat SIP header values (SFSIP-66)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8821 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
444c93c36e
commit
cff64f45c1
|
@ -13,6 +13,7 @@
|
|||
<template name="sql">INSERT INTO cdr VALUES ("${caller_id_name}","${caller_id_number}","${destination_number}","${context}","${start_stamp}","${answer_stamp}","${end_stamp}","${duration}","${billsec}","${hangup_cause}","${uuid}","${bleg_uuid}", "${accountcode}");</template>
|
||||
<template name="example">"${caller_id_name}","${caller_id_number}","${destination_number}","${context}","${start_stamp}","${answer_stamp}","${end_stamp}","${duration}","${billsec}","${hangup_cause}","${uuid}","${bleg_uuid}", "${accountcode}","${read_codec}","${write_codec}"</template>
|
||||
<template name="snom">"${caller_id_name}","${caller_id_number}","${destination_number}","${context}","${start_stamp}","${answer_stamp}","${end_stamp}","${duration}","${billsec}","${hangup_cause}","${uuid}","${bleg_uuid}", "${accountcode}","${read_codec}","${write_codec}","${sip_user_agent}","${call_clientcode}","${sip_rtp_rxstat}","${sip_rtp_txstat}","${sofia_record_file}"</template>
|
||||
<template name="linksys">"${caller_id_name}","${caller_id_number}","${destination_number}","${context}","${start_stamp}","${answer_stamp}","${end_stamp}","${duration}","${billsec}","${hangup_cause}","${uuid}","${bleg_uuid}","${accountcode}","${read_codec}","${write_codec}","${sip_user_agent}","${sip_rtp_p_rtp_stat}"</template>
|
||||
<template name="asterisk">"${accountcode}","${caller_id_number}","${destination_number}","${context}","${caller_id}","${channel_name}","${bridge_channel}","${last_app}","${last_arg}","${start_stamp}","${answer_stamp}","${end_stamp}","${duration}","${billsec}","${hangup_cause}","${amaflags}","${uuid}","${userfield}"</template>
|
||||
</templates>
|
||||
</configuration>
|
||||
|
|
|
@ -144,6 +144,10 @@ void sofia_handle_sip_i_bye(switch_core_session_t *session, int status,
|
|||
if ((tmp = sofia_glue_get_unknown_header(sip, "rtp-rxstat"))) {
|
||||
switch_channel_set_variable(channel, "sip_rtp_rxstat", tmp);
|
||||
}
|
||||
if ((tmp = sofia_glue_get_unknown_header(sip, "P-RTP-Stat"))) {
|
||||
switch_channel_set_variable(channel, "sip_p_rtp_stat", tmp);
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue