Hello,
I am having problems with music on hold on grandstream phones.
When I press Hold button on grandstream phone this is the debug of sip.
But nothing happens, no music.
Is it problem of asterisk or grandstream budget phone?
Sip read:
INVITE sip:1105@192.168.1.1 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.5;branch=z9hG4bK7fcd3a44e7721b41
From: <sip:450@192.168.1.5;user=phone>;tag=ff90fbbf11728f71
To: "1105" <sip:1105@192.168.1.1>;tag=as6b08008e
Contact: <sip:450@192.168.1.5;user=phone>
Supported: replaces
Call-ID: 5fd05f601927cf1067f0c06b443450c8@192.168.1.1
CSeq: 61043 INVITE
User-Agent: Grandstream BT100 1.0.5.23
Max-Forwards: 70
Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE
Content-Type: application/sdp
Content-Length: 268
v=0
o=450 8000 8001 IN IP4 192.168.1.5
s=SIP Call
c=IN IP4 0.0.0.0
t=0 0
m=audio 5004 RTP/AVP 18 4 99 0 8
a=sendonly
a=rtpmap:18 G729/8000
a=rtpmap:4 G723/8000
a=rtpmap:99 iLBC/8000
a=fmtp:99 mode=20
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=ptime:20
13 headers, 14 lines
Using latest request as basis request
Sending to 192.168.1.5 : 5060 (non-NAT)
We're at 192.168.1.1 port 13708
Answering with preferred capability 0x100 (g729)
Reliably Transmitting (no NAT):
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.5;branch=z9hG4bK7fcd3a44e7721b41
From: <sip:450@192.168.1.5;user=phone>;tag=ff90fbbf11728f71
To: "1105" <sip:1105@192.168.1.1>;tag=as6b08008e
Call-ID: 5fd05f601927cf1067f0c06b443450c8@192.168.1.1
CSeq: 61043 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <sip:1105@192.168.1.1>
Content-Type: application/sdp
Content-Length: 162
v=0
o=root 32600 32601 IN IP4 192.168.1.1
s=session
c=IN IP4 192.168.1.1
t=0 0
m=audio 13708 RTP/AVP 18
a=rtpmap:18 G729/8000
a=silenceSupp:off - - - -
to 192.168.1.5:5060
pbx*CLI>
Sip read:
ACK sip:1105@192.168.1.1 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.5;branch=z9hG4bKde44726bf0223f23
From: <sip:450@192.168.1.5;user=phone>;tag=ff90fbbf11728f71
To: "1105" <sip:1105@192.168.1.1>;tag=as6b08008e
Contact: <sip:450@192.168.1.5;user=phone>
Call-ID: 5fd05f601927cf1067f0c06b443450c8@192.168.1.1
CSeq: 61043 ACK
User-Agent: Grandstream BT100 1.0.5.23
Max-Forwards: 70
Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE
Content-Length: 0