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 [email protected] 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 <[email protected]> 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 <[email protected]>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 < >> [email protected]> 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 >>> > [email protected] >>> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users >>> > >>> >>> >>> _______________________________________________ >>> Users mailing list >>> [email protected] >>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >>> >> >> >> >> -- >> Thanking You, >> Ashwini BR Naidu >> >> _______________________________________________ >> Users mailing list >> [email protected] >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> >> > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > -- Thanking You, Ashwini BR Naidu
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
