add party=calling to rpid

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12165 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Mathieu Rene 2009-02-19 15:14:13 +00:00
parent 75e05d4ed1
commit f207e7d068

View File

@ -1308,7 +1308,7 @@ switch_status_t sofia_glue_do_invite(switch_core_session_t *session)
screen = "yes";
}
tech_pvt->rpid = switch_core_session_sprintf(tech_pvt->session, "Remote-Party-ID: \"%s\"<sip:%s@%s>;screen=%s;privacy=%s",
tech_pvt->rpid = switch_core_session_sprintf(tech_pvt->session, "Remote-Party-ID: \"%s\"<sip:%s@%s>;party=calling;screen=%s;privacy=%s",
tech_pvt->caller_profile->caller_id_name,
tech_pvt->caller_profile->caller_id_number, rpid_domain, screen, priv);