[OpenSIPS-Users] Regarding Uac_replace_from

ASHWINI NAIDU ashwini.naidu at gmail.com
Fri Sep 4 18:47:18 CEST 2009


Hi Bogdan,

   I have a scenario where one user Ashwini can have 2 phnos as her
accounts. When Ashwini calls from any of there 2 phnos or Ashwini the value
shd be deducted from the Ashwini at xxxx.com which is provided.

*Example:
Ashwini has 919xxxxxxxx92 and 919xxxxxxx19
If i call from 919xxxxxxxx92 my debit balance should be retrieved from
ashwini
*
This is the whole scenario. The call-controller is picking the original From
header value.

other than this is there any way to achieve the above scenario.


On Fri, Sep 4, 2009 at 7:36 PM, Brett Nemeroff <brett at nemeroff.com> wrote:

> Why not just use whatever value you are using as a parameter for
> uac_replace_from ?
>
>
> On Fri, Sep 4, 2009 at 8:07 AM, ASHWINI NAIDU <ashwini.naidu at gmail.com>wrote:
>
>> Hi Bogdan,
>>
>>     The whole scenario is i want the new from(after uac_replace_from)
>> header value to be used by the call controller. is there any way i can do
>> it.
>>
>>
>> On Fri, Sep 4, 2009 at 6:14 PM, Bogdan-Andrei Iancu <
>> bogdan at voice-system.ro> wrote:
>>
>>> Hi Ashwini,
>>>
>>> The variables that provide information from the SIP message (like $fu)
>>> get the values from the original received message, disregarding whatever
>>> changes you do .The only exception is $ru (and family) vars.
>>>
>>> Regards,
>>> Bogdan
>>>
>>>
>>> ASHWINI NAIDU wrote:
>>> > Hi all,
>>> >
>>> >
>>> >      I am trying to replace the from header using the
>>> > *uac_replace_from* in uac module. the thing i noticed the replacement
>>> > is happening in the* sip headers*. After using the *uac_replace_from*
>>> > and try to print the *$fu and $fU *the previous values before
>>> > replacement can be seen . can anyone tell me what is the problem?
>>> >
>>> >
>>> > --
>>> > Thanking You,
>>> > Ashwini BR Naidu
>>> >
>>> ------------------------------------------------------------------------
>>> >
>>> > _______________________________________________
>>> > Users mailing list
>>> > Users at lists.opensips.org
>>> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>> >
>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>
>>
>>
>> --
>> Thanking You,
>> Ashwini BR Naidu
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>


-- 
Thanking You,
Ashwini BR Naidu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20090904/9a630ddb/attachment-0001.htm 


More information about the Users mailing list