The answer to your question at the end is yes.

--
Alex Balashov - Principal
Evariste Systems LLC
1170 Peachtree Street
12th Floor, Suite 1200
Atlanta, GA 30309
Tel: +1-678-954-0670
Fax: +1-404-961-1892
Web: http://www.evaristesys.com/

On Sep 10, 2010, at 3:30 PM, Alex rsm <alex-rsm@hotmail.com> wrote:

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
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users