Skip to content
This repository has been archived by the owner on Sep 25, 2024. It is now read-only.

its not working #6

Open
addyuchiha opened this issue Nov 29, 2023 · 2 comments
Open

its not working #6

addyuchiha opened this issue Nov 29, 2023 · 2 comments

Comments

@addyuchiha
Copy link

I mean i run example.py and I have entered my details but if i make a call and enter phone number on which I want to call nothing happens

output:
`addy@Addy-PC:~/Telephony-AI/softphone$ /bin/python3 /home/addy/Telephony-AI/softphone/example.py
12:42:04.901 os_core_unix.c !pjlib 2.9-svn for POSIX initialized
12:42:04.902 sip_endpoint.c .Creating endpoint instance...
12:42:04.902 pjlib .select() I/O Queue created (0x55b521039000)
12:42:04.902 sip_endpoint.c .Module "mod-msg-print" registered
12:42:04.902 sip_transport.c .Transport manager created.
12:42:04.902 pjsua_core.c .PJSUA state changed: NULL --> CREATED
Softphone is now ready...

+-Menu-------------+
| m = make call |
| h = hangup call |
| a = answer call |
| q = quit |
+------------------+

m
Number with country code 00x (ex: 0014446665555)> 00918840xxxxxx

+-Menu-------------+
| m = make call |
| h = hangup call |
| a = answer call |
| q = quit |
+------------------+

`

same thing will happen when I enter a real number

@nicolaipre
Copy link
Owner

nicolaipre commented Nov 29, 2023

Hi.

  1. Did you follow the installation guide to get the correct fork installed?

  2. Have you confirmed that your VoIP configuration is valid and that it works? I would recommend that you test that first with a different VoIP client such as Zoiper.

Edit:
Matter of fact, it actually seems that they got audio frame capture merged into the upstream project earlier this year: pjsip/pjproject#3569.

That means you should be able to install everthing from the official project and still have support for capturing audio, so you can ignore the first question.

And as I mentioned on the other issue; if you are looking for a pure python softphone implementation, have a look at https://github.com/tayler6000/pyVoIP which is built in pure python istead of using bindings.

@addyuchiha
Copy link
Author

then what is the installation process, what should I do?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants