Ext. 3009 PJSIP Fox FAX 5060
Ext. 3031 SIP Fox Payphone 5062
Two questions:
Is there anything special I should do with the extensions?
I need a configuration for the HT502.
Yes, I’ve done my share of Google.
All of the “Do this” I’ve found so far doesn’t work.
Yes, I’m aware the HT502 is a “turd” but it supports rotary (pulse) dialing.
Ext. 3031 is a Bell System rotary dial pay phone.
Change extension 3031 to use pjsip (in advanced settings for the extension, Change SIP Driver). In FXS PORT2 settings, change Primary SIP Server to 192.168.1.32:5060
and set Outbound Proxy blank for both FXS ports. Test; if you have trouble, report whether each port is registered and what happens on attempted inbound and outbound calls.
For FXS port 2 (presently not registered) starting from the settings shown in your July 10 post, please change Primary SIP Server from 192.168.1.32:5062
to 192.168.1.32:5060
Also, delete the entry for Oubound Proxy (leave the box blank).
Leave local SIP port at 5062.
If you have trouble, report whether it shows registered and if not, what errors (if any) appear in the Asterisk log when it attempts to register.
Thank you.
I changed it to UDP.
That “kind of fixed it.”
I have dial tone on FXS2 now, and can call another extension from it.
However, calling that extension results in fast busy signal.
You need to look at the Session from a higher level, an initial 401 is always expected, what where the next exchanges. sngrep allows you to ‘drill down’ from the initial “session” (you are only interested in INVITES), which would expose all the packet exchanges , further each packet can then be more closely inspected. there is ‘help’ just a ? away
True, ? worked, but the help is much like a Unix man page. It assumes you already know what you’re doing and just need to be reminded the magic number (or letter as it were.)
Actually, I’m surprised I got as far as I did with the sngrep command.
I’ll be happy to harvest the information if you tell me how to get it.
Sorry, I can help with fishing lessons but I won’t do your fishing for you. because one ‘you’ easily becomes everyone. However one ‘you’ CAN be an ‘everyman’ and ultimately pay back.
When lost there is always the ‘paid for’ Support, linked to at the top of this page.
There should be no problem using Line 2 on these ATAs. The two lines of course need to have different extension numbers. They also need different local ports, though that is the default.
If the second line doesn’t register, please paste a log of the registration attempt at pastebin.freepbx.org, after setting: pjsip set logger on
or sip set debug on
according to extension type.
If it registers ok, paste logs for failing inbound and/or outbound calls.
Well, that’s just it. “Should be no problem” but it was.
They had two different extension numbers, Line-1 was pjsip 5060 and line-2 was sip 5061.
Line-1 would register, and line-2 never did on all four ATAs.
The screenshot you posted for the 502 had SIP Registration: No, so of course it wouldn’t register. The question is why it wouldn’t register when you set it to Yes (the default).
Please turn that on and provide a log (with SIP trace) of attempted registration. If the extension configuration has any non-default settings other than extension number and secret, please provide details.
Just because you do things wrong and do not understand does not mean the people helping you were wrong. Even @dicko
I do not have any 502’s in the wild with an active client. but I have the 704 all over the place as well as 802’s.
They all work without problem from default config and simply adding the SIP server and then the extension creds.
Your firmware as depicted in the screenshots looks original. That is a super basic issue.
Edit: I looked the dates up.
Seriously man. Not original, but dang near.
I had read elsewhere, a warning about updated software.
The possibility that something changes and no longer works.
In my case that would be responding to rotary pulse dialing.
“If it ain’t broke, don’t fix it.”
And it’s not just the HT502, I have three different Cisco ATAs, and guess what, they won’t do two lines either.
Either with the “default” config or with as found on the web “Do this and it works.” It doesn’t.
My “man cave” is at the other end of a Ubiquiti 5 GHz link, so I use Digium D-40 phones.
But I have three analog phones.
A 1919 Strowger candlestick, a Crosley reproduction pay phone, and an HP 8610 FAX machine.
So, there was a simple solution that’s been working quite well for the past two months.
The HT-502 for the rotary phone, and two of the Ciscos for the pay phone and FAX.
The problem with forums is there is always one “expert” that insists on giving half answers, then when you ask for a clarification determines you’re too stupid to help and says things like “I’m not going to do your work for you.”
Yeah, real helpful.