| 792 | |
| 793 | |
| 794 | int t_write_unix(struct sip_msg* msg, struct tw_info* info, str* socket) |
| 795 | { |
| 796 | if (assemble_msg(msg, info) < 0) { |
| 797 | LM_ERR("failed to assemble_msg\n"); |
| 798 | return -1; |
| 799 | } |
| 800 | |
| 801 | if (write_to_unixsock(socket, TWRITE_PARAMS) == -1) { |
| 802 | LM_ERR("write_to_unixsock failed\n"); |
| 803 | return -1; |
| 804 | } |
| 805 | |
| 806 | /* make sure that if voicemail does not initiate a reply |
| 807 | * timely, a SIP timeout will be sent out */ |
| 808 | if (add_blind_uac() == -1) { |
| 809 | LM_ERR("add_blind failed\n"); |
| 810 | return -1; |
| 811 | } |
| 812 | return 1; |
| 813 | } |
nothing calls this directly
no test coverage detected