cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6665
Views
15
Helpful
17
Replies

SIP Trunk down after inactivity

Turbo727
Level 1
Level 1

Hi,

I have recently set up SIP trunk for a client. it had worked fine until about two days later since it was registered. The SIP trunk went down and never tried to re-register. in the peirod of time, there was no call activity. I had to reboot the router to bring the trunk back up.

anyone knows if there is a timer setting, which could stop the trunk registering with SIP provider after inactivity.

Many thanks.

17 Replies 17

Please explain the infrastrucutre more e.g. what are the devices use, how are they connected, what is the version used in the devices.

Generally speaking, SIP Trunks don't register anyware. They are triggered when destenation number is matched.

"Please rate useful posts"

Turbo727
Level 1
Level 1

Thanks for the reply.

To clarify the situation, we have cisco cube router for the sip trunk working with CUCM 8.6. it is registered with the telco. everything worked fine. but it goes down or unregisteres itself about every two days.

show sip-ua register status shows the service is down. everytime when i reboot the router, it registers again for next two day.

Line                             peer       expires(sec) registered P-Associ-URI

================================ ========== ============ ========== ============

xxxxx                       -1         153          no        Line                             peer       expires(sec) registered P-Associ-URI
================================ ========== ============ ========== ============
xxxxx                       -1         153          no        

Turbo727
Level 1
Level 1

looks like it is not due to inactivity. even i make call periodically, say 4-5 hours, it disconnects and never re-establish sip connection with the telco.

any suggestion would be highly appreciated.

Hi

What about the parameters in the sip-ua configuration

sip-ua

retry invite 2

retry register 3

retry options 2

timers expires 60000

timers connect 100

timers register 1000

Regards

cc

Please rate all useful posts Regards Chrysostomos ""The Most Successful People Are Those Who Are Good At Plan B""

Turbo727
Level 1
Level 1

here is my config. any debug commands i could use to find out the cause?

set pstn-cause 47 sip-status 486
retry invite 2
retry response 3
retry bye 3
retry prack 6
retry register 2
timers expires 300000
registrar dns:nrw.com.au expires 3600
sip-server dns:x.x.x

connection-reuse
g729-annexb override

Hi

debug ccsip messages

debug ccsip errors

debug ccsip events

Did you call your provider to monitor the sip trunk?

Did you check if you hit a bug with the current ios software?

Did you try to upgrade the ios ?

Regards

Please rate all useful posts Regards Chrysostomos ""The Most Successful People Are Those Who Are Good At Plan B""

Hi

Have you had any luck with this issue, judging by your config I think we are using the same provider. I have this same problem with a new SIP trunk.

I have logged a fault with the provider and I have raised a TAC case as well.

Danny Hain
Level 1
Level 1

Hi

I have had some progress with this issue, After debugging the issue I found that the issue is caused be a DNS failure (see debug below).

Running a "clear ip host *" resolves the issue without a reload.

I have tried increasing the number of DNS queries to 5 instead of 2 using the commaind "ip domain retry 5", I'll let you know if this solves the issue.

009666: Sep 25 08:12:28.190 EST: //-1/xxxxxxxxxxxx/SIP/Event/sipSPIEventInfo: Queued event from SIP SPI : SIPSPI_EV_OUTBOUND_REGISTER

009667: Sep 25 08:12:28.190 EST: //-1/xxxxxxxxxxxx/SIP/Event/sipSPIEventInfo: Queued event from SIP SPI : SIPSPI_EV_DNS_RESOLVE

009668: Sep 25 08:12:28.190 EST: //-1/xxxxxxxxxxxx/SIP/Error/sip_dns_type_a_query:

TYPE A query failed for XXXXXXXX.com

009669: Sep 25 08:12:28.190 EST: //-1/xxxxxxxxxxxx/SIP/Error/_send_dns_fail:

DNS Query for sbc-qld.nipt.telstra.com failed

009670: Sep 25 08:12:28.190 EST: //2101/000000000000/SIP/Error/act_register_dns_resolved:

DNS Query failed for query_type:1

009671: Sep 25 08:12:28.190 EST: //2101/000000000000/SIP/Error/ccsip_api_register_result_ind:

Message Code Class 4xx Method Code 100 received for REGISTER

009672: Sep 25 08:12:28.190 EST: //2101/000000000000/SIP/Error/sipSPIRegPthruProcessResponse:

Error NO RPCB

009673: Sep 25 08:12:40.379 EST: //-1/xxxxxxxxxxxx/SIP/Error/sipConnectionManagerUnregisterCtxtInConnection:

Could not find conn holder for addr=10.28.248.2

009674: Sep 25 08:14:23.293 EST: //-1/xxxxxxxxxxxx/SIP/Event/sipSPIEventInfo: Queued event from SIP SPI : SIPSPI_EV_OUTBOUND_REGISTER

009675: Sep 25 08:14:23.293 EST: //-1/xxxxxxxxxxxx/SIP/Event/sipSPIEventInfo: Queued event from SIP SPI : SIPSPI_EV_DNS_RESOLVE

009676: Sep 25 08:14:23.293 EST: //-1/xxxxxxxxxxxx/SIP/Error/sip_dns_type_a_query:

TYPE A query failed for XXXXXXXXX.com

009677: Sep 25 08:14:23.293 EST: //-1/xxxxxxxxxxxx/SIP/Error/_send_dns_fail:

DNS Query for sbc-qld.nipt.telstra.com failed

009678: Sep 25 08:14:23.293 EST: //2102/000000000000/SIP/Error/act_register_dns_resolved:

DNS Query failed for query_type:1

009679: Sep 25 08:14:23.293 EST: //2102/000000000000/SIP/Error/ccsip_api_register_result_ind:

Message Code Class 4xx Method Code 100 received for REGISTER

009680: Sep 25 08:14:23.293 EST: //2102/000000000000/SIP/Error/sipSPIRegPthruProcessResponse:

Error NO RPCB

did that solve the problem?  i am facing the same issue.

Hi,

Unfortunatly no, it appears we have hit an IOS bug.

The solution is to downgrade to 15.2.1T2 IOS, unfortunatly I am unable to do this as it will break SIP SRST due to a lack of the command "connection-reuse via-port" under SIP-UA.

The work around I devised was to install a static host entry for the SIP proxy in the running config. I did find that the static entry wouldn't take unless I cleared the dynamic entries first.

Hi,

Just wondering about the Bug ID, we are having the same problem.

HI

The Bug ID is CSCub30751.

I have been told that the fix for this bug will be int 15.3T which is due for release in December.

Hi,

Cisco has advised me that the fix for this problem is due in March 2013.

Also I have request that some snmp stuff be added to allow sip-ua registration monitoring

Enhancement Request ID is CSCud86617

Hi Guys,

Any update on this? I see that the bug details shows that the issue is fixed 15.3(2)T but its still not available for download any idea when it would be made available?

Hassan