Hello, I discovered that the function "uac_replace_to" does a segmentation fault.
Context: Opensips compiled for ARM system. The original request URI makes a fork to several users. When sending to PSTN, I've to rewrite To username because the PSTN gateway uses it instead of R-URI. As I've only 8MB in my system, I can't have anything else than the debugs in stdout ... and no core can be generated :( # config part : branch_route[1] { if (isflagset(FORK)) { xlog("L_NOTICE",". branch $T_branch_idx to $ru\r\n"); if (isflagset(TO_PSTN)) { uac_replace_to("$ru"); } } } # SIP message : INVITE sip:9...@sip.anywhere.com SIP/2.0 v: SIP/2.0/UDP 192.168.1.61:3072;branch=z9hG4bK-b44ix110y915;rport f: "Sam" <sip:10...@sip.anywhere.com>;tag=ydsi0kq193 t: <sip:9...@sip.anywhere.com> i: e825b352f45c-vqxs7wotw2g8 CSeq: 1 INVITE Max-Forwards: 42 m: <sip:10933@192.168.1.61:3072>;reg-id=1 User-Agent: snom821/8.7.3.19 Accept: application/sdp Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY, SUBSCRIBE, PRACK, MESSAGE, INFO, UPDATE Allow-Events: talk, hold, refer, call-info Supported: timer, replaces, from-change Session-Expires: 1800;refresher=uas Min-SE: 90 c: application/sdp l: 289 v=0 ... a=sendrecv # opensips debug logs : . branch 0 to sip:0663128...@sip.anywhere.com [Script Trace][line 340][me][core if] -> (INVITE e825b352f45c-vqxs7wotw2g8 FU=10933 RU=0663128505) [Script Trace][line 337][me][module uac_replace_to] -> (INVITE e825b352f45c-vqxs7wotw2g8 FU=10933 RU=0663128505) Dec 19 17:59:31 [25206] DBG:uac:replace_uri: uri to replace [sip:9...@sip.anywhere.com] Dec 19 17:59:31 [25206] DBG:uac:replace_uri: replacement uri is [sip:0663128...@sip.anywhere.com] Dec 19 17:59:31 [25206] DBG:uac:replace_uri: encode is=<AAAAAAl2X1FFV1QbRhspCxAbEh9LWE0GD3Jvd3NlLmNvbQ--> len=48 Segmentation fault If you know another way to replace $tU ? thanks a lot, Samuel MULLER _______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users