uppaljs / siphon

Automatically exported from code.google.com/p/siphon
0 stars 1 forks source link

siphone is not sending invite in reply to 407 to server over tcp #594

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hello All,

I am using siphone with tcp. It is registered properly. But when i make a call 
via tcp this function is not called in sip_inv.c:

pj_status_t pjsip_inv_uac_restart
(
pjsip_inv_session *
inv,

pj_bool_t
new_offer

)

Thus over TCP invite is not resending. So outgoing call is not connecting.
I think the scenario is when i make a call  over tcp my siphon sends an invite  
thus server sends 407 back to siphon . In  reply to 407 my siphon is not 
sending invite  with credentials  by using above function. But by debugging i 
came to know that siphon is setting credentials by using this function in 
pjsua_call.c:

pjsip_auth_clt_set_credentials( &dlg->auth_sess,
                    acc->cred_cnt, acc->cred);

but even after setting the credentials why siphon is not sending invite?

So please suggest me some solution for this issue.

Thanks and Regards

Original issue reported on code.google.com by gourashi...@gmail.com on 22 Oct 2014 at 6:28

Attachments: