[Users] uac_replace_from function

Bogdan-Andrei Iancu bogdan at voice-system.ro
Mon Jan 9 19:20:15 CET 2006


Hi,

indeed, there was a bug in calculating the position of the new display 
name - it;s fixed now on the cvs head - please give it a try and let me 
know if works ok now.

regards,
bogdan

Daniel-Constantin Mierla wrote:

> It might be a bug in the module, please send the original SIP reply as 
> well, to be able to trace the problem quicker.
>
> Daniel
>
>
> On 01/06/06 13:08, unplug wrote:
>
>> 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?
>>
>> _______________________________________________
>> Users mailing list
>> Users at openser.org
>> http://openser.org/cgi-bin/mailman/listinfo/users
>>
>>   
>
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>





More information about the Users mailing list