Help a n00b... please :)

Trying to get a VERY BASIC setup going with asterisk in an EC2 instance and a few softphones on my macbook. Can’t seem to get off the ground. Can someone provide a BASIC config for me?

FWIW, I can’t get any RTP packets to find their way back to my local machine (behind a NAT) I tried rtp_symmetric but that just made it impossible to register any extensions (SIP 401)

I don’t need help fixing the problem, just a basic pjsip.conf and extensions.conf and rtp.conf files…

Did you make sure you have NAT options configured properly?

Turns out my pfSense firewall is dropping the inbound RTP packets.

I have seen plenty of config files for setting up a port forward for an INTERNAL asterisk box, but in this case I have an EXTERNAL asterisk box with two SIP phones inside my LAN so I don’t know how port forwarding would work…


I spelled rtp_symmetric with 3 Ms

rtp_symmmetric doesn’t work very well…

@jcolp Why isn’t there some sort of LINT mechanism for the config files? Or at least a verbose parsing error?

There is. For example:

[Apr 19 13:43:48] ERROR[13526]: config_options.c:780 aco_process_var: Could not find option suitable for category 'instance2' named 'rtp_symmmetric' at line 478 of 
[Apr 19 13:43:48] ERROR[13526]: res_sorcery_config.c:408 sorcery_config_internal_load: Could not create an object of type 'endpoint' with id 'instance2' from configuration file 'pjsip.conf'

Is output on load of the given configuration.

As for LINTing, I assume you mean being able to examine the configuration before load to find errors. That’s just not a project anyone has undertaken.

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