I managed to get phusionpbx working. I can register a softphone, i can even call another extention. But when i pick up the phone i get no audio.
i checked several forum posts, i removed -nonat from the deamon opts, etc etc.
tcpdump says this:
�ò�^B^@^D^@^@^@^@^@^@^@^@^@^@^@^D^@^T^A^@^@���d��^G^@.^D^@^@.^D^@^@^H^@^@^@^@^@^@^B^@^A^@^Fr�A�ߪ^@^@E^@^D^Z l^@^@5^QŚM�Y�
A^A^G��^S�^D^F7PINVITE sip:101@pbx.URL SIP/2.0
Via: SIP/2.0/UDP 192.168.178.103:49079;branch=z9hG4bK-524287-1---c69f934f29080d78;rport
Max-Forwards: 70
Contact: <sip:103@XXX.XXX.XXX:49079;global=true>
To: <sip:101@pbx.URL>
From: "ME"<sip:103@pbx.URL>;tag=c11a1975
Call-ID: ErhmPqNQpv10f36zD7Rnow..
CSeq: 1 INVITE
Session-Expires: 1800
Min-SE: 90
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, SUBSCRIBE, UPDATE, INFO, MESSAGE
Content-Type: application/sdp
Supported: path, replaces, timer, norefersub
User-Agent: SessionTalk 7.0.4
Content-Length: 399
And i think this is where things go wrong. the audio channel is send to the wrong endpoint? 192.168.178.103 is the internal IP of my softphone, where XXX.XXX.XXX is my ecxternal IP, and pbx.URL is the domain of the voip server. I would think the Via: SIP/2.0/UDP should contain my public IP instead of the private one?
i checked several forum posts, i removed -nonat from the deamon opts, etc etc.
tcpdump says this:
�ò�^B^@^D^@^@^@^@^@^@^@^@^@^@^@^D^@^T^A^@^@���d��^G^@.^D^@^@.^D^@^@^H^@^@^@^@^@^@^B^@^A^@^Fr�A�ߪ^@^@E^@^D^Z l^@^@5^QŚM�Y�
A^A^G��^S�^D^F7PINVITE sip:101@pbx.URL SIP/2.0
Via: SIP/2.0/UDP 192.168.178.103:49079;branch=z9hG4bK-524287-1---c69f934f29080d78;rport
Max-Forwards: 70
Contact: <sip:103@XXX.XXX.XXX:49079;global=true>
To: <sip:101@pbx.URL>
From: "ME"<sip:103@pbx.URL>;tag=c11a1975
Call-ID: ErhmPqNQpv10f36zD7Rnow..
CSeq: 1 INVITE
Session-Expires: 1800
Min-SE: 90
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, SUBSCRIBE, UPDATE, INFO, MESSAGE
Content-Type: application/sdp
Supported: path, replaces, timer, norefersub
User-Agent: SessionTalk 7.0.4
Content-Length: 399
And i think this is where things go wrong. the audio channel is send to the wrong endpoint? 192.168.178.103 is the internal IP of my softphone, where XXX.XXX.XXX is my ecxternal IP, and pbx.URL is the domain of the voip server. I would think the Via: SIP/2.0/UDP should contain my public IP instead of the private one?