baresip / baresip-ios

Baresip for iOS
46 stars 33 forks source link

Invalid password (0 - 63 characters followed by newline) and outbound requires valid UUID! #33

Closed samirmagnates closed 3 years ago

samirmagnates commented 3 years ago

When trying to register I am getting an invalid password error

this is my Address:

let addr = "sip:\(username)@\(strSIPURL):18002;auth_pass=\(password);sipnat=outbound;outbound=\"sip:\(strSIPURL):18002;transport=udp\";answermode=manual;stunuser=311;audio_codecs=PCMU/8000/1,PCMA/8000/1;video_codecs=VP9,VP8,H264,H264;mwi=no;ptime=20;regint=3600;regq=0.5;pubint=0;"

My Log: Local network address: IPv4=:10.14.147.68 IPv6=:2405:204:898b:4f8c:43a:b442:843:8293 dl: mod: ./stdio.so (dlopen(//stdio.so, 6): image not found) module stdio.so: No such file or directory aucodec: PCMU/8000/1 aucodec: PCMA/8000/1 aufilt: vumeter auplay: coreaudio ausrc: coreaudio vidsrc: avcapture dl: mod: ./opengl.so (dlopen(//opengl.so, 6): image not found) module opengl.so: No such file or directory medianat: stun medianat: turn medianat: ice uuid: fopen() /uuid (Operation not permitted) dl: mod: ./uuid.so (dlopen(//uuid.so, 6): image not found) module uuid.so: No such file or directory account: creating accounts template /accounts dl: mod: ./account.so (dlopen(//account.so, 6): image not found) module account.so: No such file or directory contact: creating contacts template /contacts dl: mod: ./contact.so (dlopen(//contact.so, 6): image not found) module contact.so: No such file or directory Populated 2 audio codecs Populated 1 audio filter Populated 0 video codecs Populated 0 video filters account: video codec not found: VP9 account: video codec not found: VP8 account: video codec not found: H264 account: video codec not found: H264

Please enter password for 318@xx.bx.xxx.int.xx.org: Invalid password (0 - 63 characters followed by newline) `

Then I make the following changes to my address

let addr = "sip:\(username):\(password)@\(strSIPURL):18002;sipnat=outbound;outbound=\"sip:\(strSIPURL):18002;transport=udp\";answermode=manual;stunuser=311;audio_codecs=PCMU/8000/1,PCMA/8000/1;video_codecs=VP9,VP8,H264,H264;mwi=no;ptime=20;regint=3600;regq=0.5;pubint=0;"

and Getting the following error:

Local network address: IPv4=:10.14.147.68 IPv6=:2405:204:898b:4f8c:43a:b442:843:8293 dl: mod: ./stdio.so (dlopen(//stdio.so, 6): image not found) module stdio.so: No such file or directory aucodec: PCMU/8000/1 aucodec: PCMA/8000/1 aufilt: vumeter auplay: coreaudio ausrc: coreaudio vidsrc: avcapture dl: mod: ./opengl.so (dlopen(//opengl.so, 6): image not found) module opengl.so: No such file or directory medianat: stun medianat: turn medianat: ice uuid: fopen() /uuid (Operation not permitted) dl: mod: ./uuid.so (dlopen(//uuid.so, 6): image not found) module uuid.so: No such file or directory account: creating accounts template /accounts dl: mod: ./account.so (dlopen(//account.so, 6): image not found) module account.so: No such file or directory contact: creating contacts template /contacts dl: mod: ./contact.so (dlopen(//contact.so, 6): image not found) module contact.so: No such file or directory Populated 2 audio codecs Populated 1 audio filter Populated 0 video codecs Populated 0 video filters account: video codec not found: VP9 account: video codec not found: VP8 account: video codec not found: H264 account: video codec not found: H264

318@xxxrm.pbx.xxxxx.int.xxxx.org: Using sipnat: `outbound' ua: outbound requires valid UUID!

OS I am using : MacOS 10.15.2 Xcode Version : 10.3 baresip Version : baresip v0.6.5

alfredh commented 3 years ago

please clean up your config and dont load modules that you dont need.

do you need to load account.so ?

samirmagnates commented 3 years ago

let me remove it and try.

samirmagnates commented 3 years ago

Getting the same error...