diff options
author | Benny Prijono <bennylp@teluu.com> | 2006-02-09 09:30:09 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2006-02-09 09:30:09 +0000 |
commit | 8b393ca1ada4b881c95a947e65c4bc17b5a998c0 (patch) | |
tree | 43ae16b41907f1e0509aaf17082b6a9426d4fcfb /pjsip/src/pjsua/pjsua_reg.c | |
parent | 5a80ef93b88daf113b1bfb805041342c6be5b6ab (diff) |
Setting svn:eol-style attribute
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@167 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/src/pjsua/pjsua_reg.c')
-rw-r--r-- | pjsip/src/pjsua/pjsua_reg.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/pjsip/src/pjsua/pjsua_reg.c b/pjsip/src/pjsua/pjsua_reg.c index 2afb48d6..0a76750d 100644 --- a/pjsip/src/pjsua/pjsua_reg.c +++ b/pjsip/src/pjsua/pjsua_reg.c @@ -18,8 +18,20 @@ */ #include "pjsua.h" + +/* + * pjsua_reg.c + * + * Client registration handler. + */ + #define THIS_FILE "pjsua_reg.c" + +/* + * This callback is called by pjsip_regc when outgoing register + * request has completed. + */ static void regc_cb(struct pjsip_regc_cbparam *param) { /* @@ -97,6 +109,8 @@ pj_status_t pjsua_regc_init(void) pjsip_regc_set_credentials( pjsua.regc, pjsua.cred_count, pjsua.cred_info ); + + pjsip_regc_set_route_set( pjsua.regc, &pjsua.route_set ); } return PJ_SUCCESS; |