Hello,
I have an Adtran 908e 3rd Gen that I have a SIP transparent proxy setup on. Everything seems to be working correctly, only I can not seem to set the server registration refresh rate.
I have the following set:
sip proxy register rate-adaption
sip proxy register rate-adaption server-expires 3600
sip proxy register rate-adaption user-expires 300
but no matter what, the registration is being sent back to the SIP server every 30 seconds.
I see the following:
ADT908E#sh sip proxy registration
- Grant - Last Server Next Server
User Reg Server User Registration Registration Flags
---------------------- --- -------- ------ --------------- --------------- -----
xxxxxxxxxx Yes 30 30 Nov 16 19:11:46 Nov 16 19:12:16 -RT-
The Polycom phone itself is set to 3600 as a default. After making the changes to the rate-adaption, I have rebooted both the phone and the router, but have had no luck.
Thank you,
Jeremy Van Bortel
The server expire time can be over ridden based on what the server sends back in the 200 OK.
Do the following:
Enter debug sip stack messages
Then enter
sip trunk-registration force-register
then look at the RX 200 OK from the sip server and at the Expires header. Here is example below, you can see that it is set to 3600, So even if you request 3600, the sip server can over ride it with a smaller value.
13:25:38.881 SIP.STACK MSG Rx: UDP src=10.65.145.85:5060 dst=10.65.145.86:5060
13:25:38.881 SIP.STACK MSG SIP/2.0 200 OK
13:25:38.881 SIP.STACK MSG From: <sip:5509631001@10.65.145.86:5060;transport=UDP>;tag=4fc694d8-7f000001-13c4-13af8f-33a00899-13af8f
13:25:38.881 SIP.STACK MSG To: <sip:5509631001@10.65.145.85:5060;transport=UDP>;tag=520a928-7f000001-13c4-3760d5-2d02eb2c-3760d5
13:25:38.882 SIP.STACK MSG Call-ID: 4fd68010-7f000001-13c4-51-556a5538-51
13:25:38.882 SIP.STACK MSG CSeq: 788 REGISTER
13:25:38.882 SIP.STACK MSG Contact: <sip:5509631001@10.65.145.86:5060;transport=UDP>
13:25:38.882 SIP.STACK MSG Expires: 3600
13:25:38.882 SIP.STACK MSG Via: SIP/2.0/UDP 10.65.145.86:5060;branch=z9hG4bK-13af8f-4ce5c86c-df3dcfa
13:25:38.882 SIP.STACK MSG Supported: 100rel,replaces
13:25:38.882 SIP.STACK MSG Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, PRACK, REFER, REGISTER
13:25:38.883 SIP.STACK MSG User-Agent: ADTRAN_NetVanta_7100/R11.4.4.E
13:25:38.884 SIP.STACK MSG Content-Length: 0
-Mark
Hi Mark,
Here is what I see on the debug, the Expires timer is set to 3600, yet I see still the Adtran sending the registrations every 30 seconds to our sip server. My goal is to have the Adtran respond back to the Polycom phones every 300 seconds, but continue to register to our SIP server at the 3600 second rate that is set in the Polycom config.
19:27:34.768 SIP.STACK MSG Tx: UDP src=10.1.10.2:5060 dst=xxx.xxx.xxx.xxx:7281
19:27:34.768 SIP.STACK MSG REGISTER sip:commercial.onestreamnetworks.com SIP/2.0
19:27:34.768 SIP.STACK MSG From: "Jeremy Van Bortel"<sip:xxxxxxxxxx@our-sip-server.com>;tag=288D12E-DEDA39B7
19:27:34.768 SIP.STACK MSG To: <sip:xxxxxxxxxx@our-sip-server.com>
19:27:34.768 SIP.STACK MSG Call-ID: 9e88288c-ba02cb35-23e1ab4e@10.1.20.51
19:27:34.769 SIP.STACK MSG CSeq: 13 REGISTER
19:27:34.769 SIP.STACK MSG Via: SIP/2.0/UDP 10.1.10.2;branch=z9hG4bKe35b72a3B910BDC
19:27:34.769 SIP.STACK MSG Contact: <sip:xxxxxxxxxx@10.1.10.2;adtnpxyid-1i63eb0b=14b8059>;methods="INVITE, ACK, BYE, CANCEL, OPTIONS, INFO, MESSAGE, SUBSCRIBE, NOTIFY, PRACK, UPDATE, REFER"
19:27:34.769 SIP.STACK MSG User-Agent: PolycomVVX-VVX_310-UA/5.0.1.4068
19:27:34.769 SIP.STACK MSG Accept-Language: en
19:27:34.769 SIP.STACK MSG Max-Forwards: 70
19:27:34.769 SIP.STACK MSG Expires: 3600
19:27:34.770 SIP.STACK MSG Content-Length: 0
19:27:34.770 SIP.STACK MSG
19:27:34.805 SIP.STACK MSG Rx: UDP src=xxx.xxx.xxx.xxx:7281 dst=10.1.10.2:5060
19:27:34.805 SIP.STACK MSG SIP/2.0 200 OK
19:27:34.806 SIP.STACK MSG From: "Jeremy Van Bortel"<sip:xxxxxxxxxx@our-sip-server.com>;tag=288D12E-DEDA39B7
19:27:34.806 SIP.STACK MSG To: <sip:xxxxxxxxxxx@our-sip-server.com>;tag=aprqsdrhqoda2qg03-45cvto20000q0
19:27:34.806 SIP.STACK MSG Call-ID: 9e88288c-ba02cb35-23e1ab4e@10.1.20.51
19:27:34.806 SIP.STACK MSG CSeq: 13 REGISTER
19:27:34.806 SIP.STACK MSG Via: SIP/2.0/UDP 10.1.10.2;received=xxx.xxx.xxx.xxx;branch=z9hG4bKe35b72a3B910BDC;rport=1049
19:27:34.806 SIP.STACK MSG Contact: <sip:xxxxxxxxxxx@10.1.10.2;adtnpxyid-1i63eb0b=14b8059>;expires=30
Thank you,
Jeremy
Jeremy,
As per our phone call, when proxy wasn’t turned on, 30 seconds would be ok with phones, but when you use transparent proxy, the sip server will need to be changed to 3600 or something way higher than 30 seconds. Then set the phone side to 300 seconds for example.
In the debug you send, the server sets the expires to 30 seconds in the CONTACT header:
19:27:34.806 SIP.STACK MSG Contact: <sip:xxxxxxxxxxx@10.1.10.2;adtnpxyid-1i63eb0b=14b8059>;expires=30
Let us know if you have any other questions.
-Mark