Hello
I have two SIP operators. I’m having an issue when an incoming call to operator 1 is forwarded throught operator 2, bud the call fails. I need to add a prefix (+) before number FROM
From: sip:[email protected] → From: sip:[email protected]
My operator 1 use international number format without +
but operator 2 use international number format with +
I try to use extensions_custom.conf and modify specific outgoing route
[outrt-12-custom]
exten => _X.,1,NoOp( — TEST custom outgoing route — )
same => n,Set(ORIGINAL_CALLERID=${CALLERID(num)})
same => n,GotoIf($[“${ORIGINAL_CALLERID:0:1}”=“+”]?skip)
same => n,Set(CALLERID(num)=+${ORIGINAL_CALLERID})
same => n(skip),NoOp(FROM header modified: ${CALLERID(num)})
same => n,Goto(outrt-12,${EXTEN},1) ; Go back to original context
Bud my outrt-12-custom not working. I looking for in full.log text “TEST custom outgoing route” but not success.
FreePBX 17.0.19.24