diff options
author | Benny Prijono <bennylp@teluu.com> | 2006-03-17 18:01:27 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2006-03-17 18:01:27 +0000 |
commit | 0dcbe1ea68c039b92076083137062b4cc6363967 (patch) | |
tree | 3a47d1a6f6aff0e66e58d2850308dc67e258792c /pjsip-apps/src/pjsip-perf | |
parent | a53456a95969fe64e907bc7a5abcf4f1dcdce0ba (diff) |
Added samples (finally!!)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@328 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip-apps/src/pjsip-perf')
-rw-r--r-- | pjsip-apps/src/pjsip-perf/handler_call.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pjsip-apps/src/pjsip-perf/handler_call.c b/pjsip-apps/src/pjsip-perf/handler_call.c index 5683ffa9..bc7ae339 100644 --- a/pjsip-apps/src/pjsip-perf/handler_call.c +++ b/pjsip-apps/src/pjsip-perf/handler_call.c @@ -165,7 +165,7 @@ static pj_bool_t mod_call_on_rx_request(pjsip_rx_data *rdata) // TODO: Need to delete dialog } else { - status = pjsip_inv_send_msg(inv, response, NULL); + status = pjsip_inv_send_msg(inv, response); if (status != PJ_SUCCESS) app_perror(THIS_FILE, "Unable to send 100 response", status); } @@ -247,7 +247,7 @@ pj_status_t call_spawn_test( const pj_str_t *target, /* Send initial INVITE: */ - status = pjsip_inv_send_msg(inv, tdata, NULL); + status = pjsip_inv_send_msg(inv, tdata); if (status != PJ_SUCCESS) { app_perror( THIS_FILE, "Unable to send initial INVITE request", status); @@ -283,7 +283,7 @@ static void bye_callback( pj_timer_heap_t *ht, pj_timer_entry *e) return; } - status = pjsip_inv_send_msg(call_data->inv, tdata, NULL); + status = pjsip_inv_send_msg(call_data->inv, tdata); if (status != PJ_SUCCESS) { app_perror(THIS_FILE, "Unable to send BYE", status); return; @@ -391,7 +391,7 @@ pj_status_t call_handler_init(void) inv_cb.on_new_session = &call_on_forked; /* Initialize invite session module: */ - status = pjsip_inv_usage_init(settings.endpt, &mod_call, &inv_cb); + status = pjsip_inv_usage_init(settings.endpt, &inv_cb); if (status != PJ_SUCCESS) { app_perror( THIS_FILE, "Unable to initialize INVITE session module", status); |