I know this is old code but I'm trying to help a buddy migrate his old
opensips to the latest version.  This dp_translate removes +1 from sip:+1
FROM header.  If the uac is enabled, the system will crash once uac_replace
gets hit.  Logs show the xlog is presenting the correct information for the
avp so it's not a malformed var from the looks of it.  All required modules
are loaded as required.  Opensips starts with no issue.

Log output from xlog
Normalizing FROM to sip:[email protected]

                        if ( dp_translate ("9", "$fu/$avp(from)")) {
                                uac_replace_from("$avp(from)");
                                xlog("L_INFO", "Normalizing FROM to
$avp(from) \n" );
                        }

Here are the errors we're receiving when uac_replace is hit.

CRITICAL:core:receive_fd: EOF on 10
INFO:core:handle_sigs: child process 26719 exited by a signal 11
INFO:core:handle_sigs: core was not generated
INFO:core:handle_sigs: terminating due to SIGCHLD

3.4.9 runs a variant of this with no issues.  If anyone can lend some
thought on why it's crashing, that would be awesome.  TIA

Jeff
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to