[Users] uac_replace_from function

unplug maillisting at gmail.com
Fri Jan 6 12:08:34 CET 2006


I am using uac_replace_from function as below.

# replace only display and do not touch uri
uac_replace_from("35418474","");

After running uac_replace_from function, I get the following message.

U 203.193.4.242:5060 -> 203.193.4.226:5060
SIP/2.0 183 Session Progress.
Via: SIP/2.0/UDP
203.193.4.226;branch=z9hG4bKaed7.46cc4101.0,SIP/2.0/UDP
10.0.0.52:5060;rport=5060;received=210.184.4.31;branch=z9hG4bKHNHpldVsKca6IYUS.
From: "35418474"<sip:882754853589 at ow01.owtel.com>;tag=sBl2gLH6O1myyqL5.
To: "92588819" <sip:92588819 at ow01.owtel.com>;tag=47C61DF4-26CD.
Date: Fri, 06 Jan 2006 10:41:17 GMT.
Call-ID: yTCQvS56ZCZXCHgt at 10.0.0.52.
Server: Cisco-SIPGateway/IOS-12.x.

In the normal message, sip message, there is a space between display
name and uri.
ie. From: "35418474" <sip:882754853589 at ow01.owtel.com>
However, after I apply uac_replace_from function, there is a space
there.  How can I add a space such that it looks like a normal sip
message?  Does the space will affect the caller display?




More information about the Users mailing list