Hi,

Our openSER proxy is receiving SIP messages from PBX devices. The PBX includes its extension in the FROM field of the SIP message.
Is there any function in the openSER to strip off the PBX extension (anything after username and before @domain)?

Is uac_replace_from( ) function is the right one?

3d:13h:41m:33s INVITE sip:888-555-1212@10.0.0.1;user=phone SIP/2.0
Via: SIP/2.0/UDP 10.5.0.1;branch=z9hG4bKac1169001476
Max-Forwards: 70
From: <sip:8885551212;isub=37313132@10.5.0.1.>;tag=1c1168990861
To: <sip:8665551212@10.0.0.1;user=phone>
Call-ID: 1168989994392010134133@10.0.0.1
CSeq: 1 INVITE
Contact: <sip:4075857112@10.5.0.1>
Supported: em,timer,replaces,path,resource-priority,sdp-anat
Allow: REGISTER,OPTIONS,INVITE,ACK,CANCEL,BYE,NOTIFY,PRACK,REFER,INFO,SUBSCRIBE,UPDATE
User-Agent: CS-Pelloni/v.5.60A.021.004
Content-Type: application/sdp
Content-Length: 261
Thanks,
AR