Asterisk Ports question
Posted on 2009-05-17
I have one Asterisk server, and then 2 sip peers over the WAN, at different remote locations. They are a linksys spa942 phone and a linksys pap2 ATA. My Asterisk box is using port 5060 to communicate with the spa942 over the wan, which is normal. But then it is using 5061, to communicate with the pap2 ata. Why is it using 5061, if my linksys PAP2 is set on 5060? I had to change the port on the linksys PAP2, to 5061 in order to receive inbound calls. Originally PAP2 was set to use 5060 and would register fine with asterisk, could place calls but could NOT receive calls. So I did a SIP SET DEBUG on asterisk and saw when it was sending data to the Linksys PAP2, it was sending on port 5061. Is this something Asterisk does when it has multiple peers?