| 163 | } |
| 164 | |
| 165 | static int determine_fromto_uri (struct to_body *fromto, str *source_string) { |
| 166 | if (fromto == NULL) { |
| 167 | LM_ERR("fromto is NULL!\n"); |
| 168 | return -1; |
| 169 | } |
| 170 | source_string->s = fromto->uri.s; |
| 171 | source_string->len = fromto->uri.len; |
| 172 | return 0; |
| 173 | } |
| 174 | |
| 175 | static int determine_fromto_user (struct to_body *fromto, str *source_string) { |
| 176 | struct sip_uri uri; |