Hold, MOH, echo test, transfer not working after a fresh install

configuration
pjsip
asterisk
Tags: #<Tag:0x00007f4f425aafd0> #<Tag:0x00007f4f425aadf0> #<Tag:0x00007f4f425aac88>

(Gianluca) #1

Hi everyone,

I was setting up a fresh install of freepbx (already have a “personal test” running perfectly fine).
Pretty basic requirements, so I used quick create for pjsip extensions, with voicemail disbaled (not needed).

Now, I rebooted plenty of times, reinstalled fresh and still can’t wrap my head around why it is not working.

after an update configuration https://pastebin.freepbx.org/view/9366719a

echo test https://pastebin.freepbx.org/view/072bd82a

Call transfer results in a similar behaviour as echo test. Does not put on hold and cannot retrieve. It just hangs up after a few seconds.

Thanks a lot

G

(sorry for the split links, it’s the 1st time actually writing something here)
[You should be able to paste links now - mod]


#2

At the Asterisk command prompt, type
pjsip set logger on
make another echo test call, paste the Asterisk log (which will now include a SIP trace) and post the link here.


(Ricardo) #3

Disconnecting channel ‘PJSIP/202-0000000d’ for lack of audio RTP activity in 30 seconds


(Gianluca) #4

Here it is https://pastebin.freepbx.org/view/d293c114


(Gianluca) #5

Do you happen to maybe have any suggestions in regards to that?
I saw posts mentioning the same problem with remote installs and a firewall involved, though here it is on the same vlan… and not even considering outside calls.


(Gianluca) #6

And here some logs attempting a hold or transfer (in both cases snom phones just have the button “hanging” - aka opaque trying to do something)

https://pastebin.freepbx.org/view/c7c40a8f


#7

Line 49:
Contact: <sip:104.145.12.182:5060>
That address belongs to Sangoma and is the default external address on a new install.

Go to Asterisk SIP Settings and set Local Networks and External Address properly. Submit, Apply Config, then you must restart Asterisk.

Test. If you still have trouble, paste a new log.


(Gianluca) #8

Welp, above the screenshot of the previous config (perfectly fine). Just to be safe I did a save and apply.
Then powered off and started the VM again, your detail of restarting asterisk pushed me to do more than just a reboot (did that 2/3 times before).

Now it is as if nothing ever happened, all perfectly fine… the small things that drive most of us (I suppose) mad :joy:
Thanks a lot for the very quick help!


(system) closed #9

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.