I am a beginner with VitalPbx 4 more used to another well-known one and I have this concern on incoming calls but outgoing no problem.
The only parameter I need to add in another well known “context=from-pstn-toheader”.
But here I am lost
[2023-02-22 11:18:25] NOTICE res_pjsip/pjsip_distributor.c: Request ‘INVITE’ from ‘“+337XXXXXXXX” sip:07XXXXXXXX@sbc6.fr.sip.ovh;user=phone’ failed for ‘188.8.131.52:5060’ (callid: 08796-LKemail@example.com) - Failed to authenticate
Please share your trunk config, please obfuscate your passwords.
Thank you for your answer, here are screenshots.
Thanks for the answer,
With OVH French operator, we identify ourselves by the username which is the phone number.
I changed the configuration, it manages to authenticate but I have the following error:
[2023-02-23 19:50:41] SECURITY res_security_log.c: SecurityEvent=“ChallengeSent”,EventTV=“2023-02-23T19:50:41.028+0100”,Severity=“Informational”,Service=“PJSIP”,EventVersion=“1”,AccountID=“0033XXXXXXXXXX”,SessionID="firstname.lastname@example.org",LocalAddress=“IPV4/UDP/192.168.1.49/5060”,RemoteAddress=“IPV4/UDP/184.108.40.206/5060”,Challenge=“”
I just redid vitalpbx and redid the settings, here is the error:
[2023-02-25 12:12:24] NOTICE res_pjsip/pjsip_distributor.c: Request ‘INVITE’ from ‘“+33XXXXXXXX” sip:07XXXXXXXX@sbc6.fr.sip.ovh;user=phone’ failed for ‘220.127.116.11:5060’ (callid: 24624-VPemail@example.com) - Failed to authenticate
[2023-02-25 12:12:24] SECURITY res_security_log.c: SecurityEvent=“ChallengeResponseFailed”,EventTV=“2023-02-25T12:12:24.796+0100”,Severity=“Error”,Service=“PJSIP”,EventVersion=“1”,AccountID=“0033XXXXXXX”,SessionID=“24624-VPfirstname.lastname@example.org”,LocalAddress=“IPV4/UDP/192.168.1.49/5060”,RemoteAddress=“IPV4/UDP/18.104.22.168/5060”,Challenge=“1677323544/426777f4a076b5fec8ba65e56eec0ee8”,Response=“56ebc556ce234753c410564eede451bd”,ExpectedResponse=“”
you have to add math filed.
Thank you for your help, but I just tried it does not work.
I try otherwise.
anyway test with SNGREP! more helpfull.
Thank you for your help, after a lot of testing I went back to version 3.2 then I created in SIP with the following parameters:
it works very well on incoming and outgoing calls.
It does not work PJSIP it bothers me, yet I use it very well with your competitor in PJSIP surely a setting.
This doesnt help - @norman_namkoong
He went back to 3.0 to use chan_sip, i dont want to do that. Can someone post a todo on how to add this type of simple “insecure=port,invite” into 4.0 for pjsip? some simple tutorial?
Hi @Phonestream_LLC and welcome to the forums
Please create a new post describing your issue in detail