Hello,
I am new here, and i am not familiar with asterisk and freepbx, i’ve just started a project that consist of the deployment of a telephony solution inside an aircraft, with SIP trunking to allow calls from and to ground.
First, sorry for my english, i am french ( ) I will to try to explain the best as possible my issue :
- I have already done some tests with juste asterisk ( 13 LTS on a debian stretch ) and do some configurations to have some internal call, voicemail, and siptrunk. I quickly saw that it is not a good way, and it is better to use a frontend to manage asterisk -> freepbx
- I have installed freepbx on 2 VMs : one with debian 9 and asterisk 16LTS + FreePBX 15 compiled and installed with the procedure given on the freepbx wiki. Another VM installed directly with the official ISO ( centos based)
I have read the freepbx to try to configure just internal calls but , as I said the subject is new for me, I wasnt able to do a call between 2 SIP client ( linphone on desktop + linphone android ).
The call happens, but there is no sound between each SIP client. Here is what I have done :
- I have added 2 extensions with type = pjsip , 1001 and 1002 ( secret 0000 just for test )
- I have added an outbound route with dial pattern 1XXX
With this, I am able to register my 2 SIP clients on the server, and make a call. But when I answer the call, there is no sound.
If I use my third VM with debian stretch and asterisk 13 LTS , It works well, I have just declared two phone in sip.conf , and a context in extension.conf like this :
sip.conf :
[1000]
type=friend
context=internal
host=dynamic
secret=0000
disallow=all
allow=ulaw
extension.conf :
[internal]
exten =>
_1XXX,1,Dial(SIP/${EXTEN},10)
same => n,Hangup()
With just this, I am able to make a call and have sound to speak and hear each other.
I guess I’m wrong in FreePBX configuration, but I don’t find any basic sample to make a configuration that allow calls in internal.
Maybe can you help me ? ( a link with a configuration sample, or explain what is wrong ? )
Juste another thing :
I tried after to activate voicemail for the 2 extensions, and I hear the voicemail when I make a call without hangup. I let a message, and then I go on UCP ( user account ) and configure the portal, I can see the history of call, there is a voicemail, but if I go into voicemail panel, I have 0 message everywhere.
Thanks a lot for you help !