-
Notifications
You must be signed in to change notification settings - Fork 234
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
createAccount iOS not complete registration #238
Comments
+1 |
@bhtak To fix it, update the VialerPJSIP.framework in the node_modules/react-native-pjsip with a more updated version. |
@dariomalfatti-centropaghe Thank you for the advice. |
@bhtak replace the content of VialerPJSIP.framework with the latest one. |
@dariomalfatti-centropaghe Thank you very much. I'll try. |
@dariomalfatti-centropaghe |
I have the same problem too. But if I manually copy the folder, the application no longer runs. |
You should have this folder and file copyed from this: node_modules/react-native-pjsip/ios/VialerPJSIP.framework/Headers This workend to me but I've a different RN version (0.65.1) |
@dariomalfatti-centropaghe I need your help , having the same problem this work on android smoothly but on ios the status remains 'trying'. I tried every thing but not able to register account , i aslo replace the files you asked but its never changes its status please help me .
}; Via: SIP/2.0/UDP 10.212.134.200:60186;rport;branch=z9hG4bKPj-ZhyDHRBBdM6vPtHqrTpXhsewRZiNw4M Max-Forwards: 70 From: "flashlead" sip:[email protected];tag=URnNe.hAsCVna6zVFg4riv50HGjtDnR8 To: "flashlead" sip:[email protected] Call-ID: 34O09a6uPrsOBRF5QfqFY-NkOGBPVLYG CSeq: 13285 REGISTER Contact: "flashlead" sip:[email protected]:60186;ob Expires: 2592000 Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO Content-Length: 0 --end msg-- |
@abdullahrehan430 I think you have always to set the proxy property within the configuration in this way:
Where |
@dariomalfatti-centropaghe tried but same response it never changes. |
@abdullahrehan430 in the proxy property you must wrap the value with < > ("<sip:192.168.0.250;transport=udp>"). |
@dariomalfatti-centropaghe |
If with android works, configuration's parameters are ok. Sorry but I don't have any project to share, I'm not part of pjsip team, I just found a solution with missing registration on iOS that worked to me and I shared it above. Try to check the Vialer within the node_modules/react-native-pjsip/ios folder as descrived above because seems to be the same problem. I did't modify appdelegate.m just follow the README.md of this project |
@dariomalfatti-centropaghe first of all i am very thanksful for your time it's really save me . Yes you are right the issue with library. I download the whole Vialer library and from there i copy the files as you described above but the issue is that it contains only the reference of file stored on Git LFS . When i download the file and replace it start like a magic. Very very thanks for your time. |
@abdullahrehan430 I'm realy glad it helped you too! Enjoy! |
Hi bro, the errors: ` Showing All Messages Undefined symbol: _pjsip_get_status_text Undefined symbol: _pjsua_acc_set_registration Undefined symbol: _pjsua_acc_add Undefined symbol: _pjsua_vid_dev_get_info Undefined symbol: _pjsua_vid_enum_wins Undefined symbol: _pjsua_transport_config_default Undefined symbol: _pjsua_conf_connect Undefined symbol: _pjsip_generic_string_hdr_create Undefined symbol: _pjsua_enum_codecs Undefined symbol: _pjsua_codec_set_priority Undefined symbol: _pj_pool_factory_default_policy Undefined symbol: _pjsua_config_default Undefined symbol: _pj_caching_pool_init Undefined symbol: _pj_pool_create Undefined symbol: _pjsua_call_make_call Undefined symbol: _pjsua_vid_win_set_size Undefined symbol: _pjsua_acc_config_default Undefined symbol: _pjsua_vid_preview_param_default Undefined symbol: _pjsua_acc_del Undefined symbol: _pjsua_acc_get_config Undefined symbol: _pjsua_update_stun_servers Undefined symbol: _pjsua_set_snd_dev Undefined symbol: _pjsua_acc_modify Undefined symbol: _pjsua_logging_config_default Undefined symbol: _pjsua_media_config_default Undefined symbol: _pjsua_set_no_snd_dev Undefined symbol: _pjsua_conf_disconnect Undefined symbol: _pjsua_init Undefined symbol: _pjsua_transport_create Undefined symbol: _pjsip_generic_string_hdr_init2 Undefined symbol: _pj_list_insert_before Undefined symbol: _pjsua_start Undefined symbol: _pj_str Undefined symbol: _pjsua_call_dial_dtmf Undefined symbol: _pjsua_call_set_hold Undefined symbol: _pjsua_vid_dev_count Undefined symbol: _pjsua_call_xfer_replaces Undefined symbol: _pjsua_call_xfer Undefined symbol: _pjsua_vid_preview_start Undefined symbol: _pj_pool_release Undefined symbol: _pjsua_pool_create Undefined symbol: _pjsua_call_answer2 Undefined symbol: _pjsua_vid_preview_get_win Undefined symbol: _pjsua_create Undefined symbol: _pjsua_call_get_info Undefined symbol: _pjsua_call_reinvite Undefined symbol: _pjsua_msg_data_init Undefined symbol: _pjsua_vid_win_get_info Undefined symbol: _pjsua_call_setting_default Undefined symbol: _pjsua_vid_dev_set_setting Undefined symbol: _pjsua_call_hangup |
@utnhim hye brother , I think the issue is here you downloaded the wrong library , and also make sure on vialerPjsip.framework/VialerPsjip (on github) you have download the file not the referance. |
Hi, how were you able to run this in ios? Im getting this error: |
On iOs, createAccount not complete the registration. It starts the registration with the SIP server but when the client should send the credentials it stay looked. Account registration stay in 'PJSIP_SC_TRYING' status.
Few months ago, it worked like a charm but now, after few Apple update it doesn't and I cannot figure out why.
This is the log from SIP server:
Anybody had this strange behavior?
The text was updated successfully, but these errors were encountered: