sip commandline client compatible with 3cx ?

Status
Not open for further replies.

rolandkl

Forum User
Joined
Apr 28, 2020
Messages
9
Reaction score
0
hello,

can somebody recommend a 3cx compatible commandline client?

we are porting our pbx to 3cx and have a scripting/notification which makes a phonecall via "sipcmd" from commandline, to make alarm calls on mobile phone.

unfortunately, sipcmd/sipcmd2 from github does not work anymore with 3cx, as 3cx extensions have different name field for registration & authentication ( http://wiki.snom.com/Settings/user_pname )

i.e. in freepbx i simply had "$extension" and "$extensionpassword" and simply used "-u" and "-c" in sipcmd.

now there is "$extension" "$auth-id-belonging-to-extenskion" and "$password", as a 3cx extension can be used in parallel from multiple sip clients concurrently.

i don't get sipcmd/sipcmd2 to work with 3cx and also fail getting pjsua commandline client to work , sending an audiofile to the phonecall-receiver.

maybe somebody knows how to do that.

thank you
roland
 
If you use a dedicated extension for this tool, you can set the auth ID to the extension number under Phone Provisioning. This way, the system will only require user ID and password. We do this for old legacy phones.
 
sounds like a good hint, unfortunately it does not work for me. i see some "SIP/2.0 481 Call Leg/Transaction Does Not Exist" in tcpdump and have no clue why it fails.

i'm also getting the following warning message in extension view, so apparently it's not enivsaged by 3cx to override AuthID by extension number ?

1615897773198.png
 
Status
Not open for further replies.