Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enabling FXS port based analog telephony with chan_lantiq and asterisk13 #17

Open
ORippler opened this issue Nov 25, 2018 · 6 comments
Open

Comments

@ORippler
Copy link

ORippler commented Nov 25, 2018

Hey,

I want to use the FXS plug of the Easybox as outlined here.
However, recommended installation via opkg fails with:

opkg_install_cmd: Cannot install package asterisk15.

so I guess I will have to build my own image. Do you have any experience regarding FXS telephonie and the EasyBox? Especially, since on the OpenWRT page it states that the analog telephone line should work and it's referenced in #6.

I installed the latest snapshot (SNAPSHOT, r8430-b904437c2d) via the fullimage.img method.

Best,

@ORippler ORippler changed the title Asterisk with Compiling with Asterisk and FXS support Nov 25, 2018
@ORippler
Copy link
Author

Is the newest snapshot maybe compiled without asterisk?

I guess I will try another day, and start here for configuration

@ORippler
Copy link
Author

ORippler commented Dec 3, 2018

Just a quick update: I managed to install asterisk and register my VOIP-provider.
However, I cannot seem to properly setup a working dialplan/provider-context:

  • For incoming calls, i get an authentication failure (chan_sip.c:25611 handle_request_invite: Failed to authenticate device). I suspect the fault here may lie in my sip.conf
  • For outgoing calls, I get an app_stack.c:594 gosub_exec: Attempt to reach a non-existent destination for Gosub: (Context:tel1_out, Extension:out_sipgate, Priority:2). When upping verbosity/debug level, I see that the phone is circuit-busy

For the configuration, I used this post at IP-phone for reference regarding SIP configuration, and the chan_lantiq post on OpenWRT for the dialplan.

@majuss would you mind posting your configuration?

@majuss
Copy link

majuss commented Dec 3, 2018

@ORippler sorry I'am not using the fixed line.

@ORippler
Copy link
Author

ORippler commented Dec 3, 2018

Hmm okay. Based on the OpenWRT Project page I just assumed it to be working...

Did anyone manage to successfully use the analog phone line yet?

@ORippler ORippler changed the title Compiling with Asterisk and FXS support Enabling FXS port based analog phone line with chan_lantiq and asterisk13 Dec 3, 2018
@ORippler ORippler changed the title Enabling FXS port based analog phone line with chan_lantiq and asterisk13 Enabling FXS port based analog telephony with chan_lantiq and asterisk13 Dec 3, 2018
@majuss
Copy link

majuss commented Dec 4, 2018

The newest Snapshot should not boot at all. Did it booted for you!?

Use some older snapshot without _smp compiled in. This should work correctly with SIP but you wont get more than ~66 Mbit via DSL.

@ORippler
Copy link
Author

ORippler commented Dec 4, 2018

Yeah I use the snapshot from 02/11 and installed all asterisk-related packages marked as compiled in the config via opkg from a pen-drive (funnily images i compile under fa8e9a8 with the same config provided with the snapshot don't boot or alternatively reboot every ~1min). Once #13 is fixed i expect snapshots to boot again.

I am currently struggling with parametrizing SIP, and was looking for help in that regard :)
Based on the fact that I can communicate with asterisk over the analog phone (e.g. Dialing a number resulsts in asterisk throwing exceptions) I guess that chan_lantiq works and I just didn'T get parameters correctly yet

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

No branches or pull requests

2 participants