Git Product home page Git Product logo

Comments (22)

olivluca avatar olivluca commented on June 12, 2024

You can download a precompiled sdk for your platform (which one, btw?) and follow the instructions here:
https://openwrt.org/docs/guide-developer/using_the_sdk

from danube-voip.

Wapitiii avatar Wapitiii commented on June 12, 2024

Alright, i will do that, i want to try it on my Easybox 904 xDSL i don't know what platform it is (i think as it says in the wiki "Lantiq XWAY™ VRX288") im also not sure if it even would work on my hardware.

from danube-voip.

olivluca avatar olivluca commented on June 12, 2024

Well, looking at the makefile for ltq-tapi I see that it should work with the xrx200.
Good luck.

from danube-voip.

Wapitiii avatar Wapitiii commented on June 12, 2024

So, i've got it compiled with the precompiled sdk for my platform, the only thing that worked to install was sofia-sip the others didn't work. Any idea how i could fix it? Also when compiling with the latest precompied sdk i've got the same error as #12 , i just used an older version and it worked.
image

from danube-voip.

olivluca avatar olivluca commented on June 12, 2024

I only found this message on the forum, unfortunately no solution.

from danube-voip.

Wapitiii avatar Wapitiii commented on June 12, 2024

I found the error, it wanted to get a package, and i wasn't connected to the internet 🤦🏻‍♂️. Now it installs.

image

Also here are the packages for the lantiq xrx200 (if anyone needs them):
danube-voip-lantiq-xrx200-packages.zip

Thanks for guiding me to the wiki with the sdk stuff.

from danube-voip.

olivluca avatar olivluca commented on June 12, 2024

Apart from compiling and installing, does it work?

from danube-voip.

Wapitiii avatar Wapitiii commented on June 12, 2024

Nope, doesn't want to connect to the voip provider and the fxs port also doesn't work.

On my Easybox 803A it works as expected (it tries to connect). On the Easybox 904 not, maybe because it uses 1 core for VoIP. But i am not an expert on it. But VoIP should work with Asterisk (which i wanted to avoid)

from danube-voip.

olivluca avatar olivluca commented on June 12, 2024

Maybe you need a different firmware/parameters/device name , i.e. the defines in ab_basic.c

#define AB_DRIVER_DEV_NODE "/dev/sgatab"
#define TAPI_AUDIO_DEV_NUM 2
#define TAPI_LL_DEV_FIRMWARE_NAME   "/lib/firmware/danube_firmware.bin" 
#define TAPI_LL_BBD_NAME   "/lib/firmware/danube_bbd_fxs.bin"

(just guessing)

from danube-voip.

Wapitiii avatar Wapitiii commented on June 12, 2024

Yeah, seems like i need to set the right .bin files there with the name.

image

Need to figure out which one is the right .bin with trial and error. I'll report back if i got new updates.

from danube-voip.

Wapitiii avatar Wapitiii commented on June 12, 2024

Ok, got it working even my telephone detects it now.

from danube-voip.

olivluca avatar olivluca commented on June 12, 2024

Just for your information, in my router that file (that appears to be missing in yours) comes from kmod-ltq-vmmc

root@voip:~# opkg search /lib/firmware/danube_firmware.bin
kmod-ltq-vmmc - 4.14.171+1.9.0-3

The firmware files used by asterisk apparently are these

from danube-voip.

olivluca avatar olivluca commented on June 12, 2024

Ok, got it working even my telephone detects it now.

What did you to to make it work?

from danube-voip.

Wapitiii avatar Wapitiii commented on June 12, 2024

I've took the already included firmware files called "voice_ar9_firmware.bin" and "vr9_bbd_fxs.bin" and renamed it to "danube_firmware.bin" and "danube_bbd_fxs.bin". (With included i mean they were already in the /lib/firmware/ folder).
Now i'll try to connect to my VoIP provider and try to call with it.

from danube-voip.

olivluca avatar olivluca commented on June 12, 2024

Oh, that saves me the trouble of making the path configurable 😅 though it will break whenever you upgrade the package providing the firmware (in any case I never saw updates to the firmware).

from danube-voip.

Wapitiii avatar Wapitiii commented on June 12, 2024

So, i configured it, and now i have another issue, somehow i can't call anyone and also weird is that "From:" and "To:" has the same telephone number. And it errors out to a "403 Contact User und Anrufernummer verschieden" which is in english "403 Authentication User Name does not match account name". Maybe i misconfigured it?
image

Well i was a bit dumb, i thought the "config account 'XXX'" was just some note where i could name it whatever i wanted, seems like i needed to enter in the "XXX" the account username 🤦🏻‍♂️ . Now thankfully it gives a "200 OK"

from danube-voip.

olivluca avatar olivluca commented on June 12, 2024

No actually the XXX is a descriptive text that isn't used anywhere else, the username is in the "option user"

from danube-voip.

Wapitiii avatar Wapitiii commented on June 12, 2024

Huh, thats weird, after changing it to the user name it doesn't give me the 403 anymore.

Before:
image

After:
image

from danube-voip.

Wapitiii avatar Wapitiii commented on June 12, 2024

But still, i want to thank you for this wonderful program, it just made VoIP on OpenWRT much easier for me. I will probably make a video about it when i have the time.

from danube-voip.

olivluca avatar olivluca commented on June 12, 2024

Huh, thats weird, after changing it to the user name it doesn't give me the 403 anymore.

Well, I can assure it that it's just descriptive, maybe it was a temporary glitch. Some sip providers don't allow more than one simultaneous registration, maybe the other router you were trying hadn't timed out yet.

from danube-voip.

Wapitiii avatar Wapitiii commented on June 12, 2024

It could be also that, but i didn't use the other router for hours now, so i could cross that. At least it works now, will try it running for a while. The only issue that i have noticed is that i can't reject a oncoming call.

from danube-voip.

olivluca avatar olivluca commented on June 12, 2024

The only issue that i have noticed is that i can't reject a oncoming call.

I don't think that's even possible with an analogue phone, I mean, you either pick up or you don't.

from danube-voip.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.