I am having trouble receiving calls on my vitalpbx mobile app on my samsung galaxy.
The app is registered, but when I try to call the app, I see a sip response of 488 which I assume is a codec mismatch issue.
See invite:
Via: SIP/2.0/UDP pbx.ip.address:5060;rport;branch=z9hG4bKPj55e8fdc1-83bf-4305-bef9-e1c82720678b
From: "Sam 1" <sip:150@pbx.ip.address>;tag=0e15ef09-97f9-4300-a856-ee50254daffe
To: <sip:106@phone.ip.address>
Contact: <sip:asterisk@pbx.ip.address:5060>
Call-ID: ad5d8f84-fc5f-47ae-870f-a3d27db6dc0f
CSeq: 25215 INVITE
Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER
Supported: 100rel, timer, replaces, norefersub, histinfo
Session-Expires: 1800
Min-SE: 90
P-Asserted-Identity: "Sam 1" <sip:150@pbx.ip.address>
Remote-Party-ID: "Sam 1" <sip:150@pbx.ip.address>;party=calling;privacy=off;screen=no
CALL-TYPE: LOCAL
APPLICATION: NONE
Max-Forwards: 70
User-Agent: VitalPBX
Content-Type: application/sdp
Content-Length: 259
v=0
o=- 497386614 497386614 IN IP4 pbx.ip.address
s=Asterisk
c=IN IP4 pbx.ip.address
t=0 0
m=audio 11132 RTP/AVPF 9 3 101
a=rtpmap:9 G722/8000
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=maxptime:150
a=sendrecv
Response
2021/12/28 10:10:55.036023 phone.ip.address:8695 -> pbx.ip.address:5060
SIP/2.0 488 Not Acceptable Here
Via: SIP/2.0/UDP pbx.ip.address:5060;rport=5060;received=pbx.ip.address;branch=z9hG4bKPj55e8fdc1-83bf-4305-bef9-e1c82720678b
Call-ID: ad5d8f84-fc5f-47ae-870f-a3d27db6dc0f
From: "Sam 1" <sip:150@pbx.ip.address>;tag=0e15ef09-97f9-4300-a856-ee50254daffe
To: <sip:106@phone.ip.address>;tag=dSPW3IkkLH0qol2g7tYhJL9wLfdUcGRg
CSeq: 25215 INVITE
Content-Length: 0
Ack
2021/12/28 10:10:55.036533 pbx.ip.address:5060 -> phone.ip.address:8695
ACK sip:106@phone.ip.address:8695 SIP/2.0
Via: SIP/2.0/UDP pbx.ip.address:5060;rport;branch=z9hG4bKPj55e8fdc1-83bf-4305-bef9-e1c82720678b
From: "Sam 1" <sip:150@pbx.ip.address>;tag=0e15ef09-97f9-4300-a856-ee50254daffe
To: <sip:106@phone.ip.address>;tag=dSPW3IkkLH0qol2g7tYhJL9wLfdUcGRg
Call-ID: ad5d8f84-fc5f-47ae-870f-a3d27db6dc0f
CSeq: 25215 ACK
Max-Forwards: 70
User-Agent: VitalPBX
Content-Length: 0
Here’s my troubleshooting steps I already took:
- Added all codecs under the pjsip settings in vitalpbx
- In the app I tried moving up alaw and ulaw to the top and enabling them, but it keeps on resetting after I exit the settings.
Your assistance is appreciated