| Summary: | ASTERISK-25342: res_pjsip: Repeated usage of pj_gethostip may block | ||
| Reporter: | Joshua C. Colp (jcolp) | Labels: | |
| Date Opened: | 2015-08-25 06:19:58 | Date Closed: | 2015-08-27 15:44:04 | 
| Priority: | Minor | Regression? | No | 
| Status: | Closed/Complete | Components: | |
| Versions: | 13.5.0 | Frequency of Occurrence  | |
| Related Issues:  | |||
| Environment: | Attachments: | ||
| Description: | A few modules in the PJSIP support currently call pj_gethostip a lot. Depending on the environment this can cause a DNS query to occur as it looks up the local hostname. If the DNS server is having issues or the network is having issues then the pj_gethostip function can block for a short period of time.
 This issue is for doing the lookup only once at startup/load and using a cached value instead.  | ||
| Comments: | |||