[OpenSIPS-Users] Get user_agent after lookup
    Dragomir Haralambiev 
    goup2010 at gmail.com
       
    Thu Dec 20 22:54:56 CET 2012
    
    
  
$ua - get user agent field from incoming SIP message.
I need to know user agent who will receive the local call.
The  location table contain this information in user_agent field.
I need to receive this field after run lookup("location","m") .
2012/12/20 Duane Larson <duane.larson at gmail.com>:
> http://www.opensips.org/Resources/DocsCoreVar18#toc92
>
> Is that what you want?
>
> On Thu, Dec 20, 2012 at 2:59 PM, Dragomir Haralambiev <goup2010 at gmail.com>
> wrote:
>>
>> Hello All,
>>
>> I rum save("location") wnen reseive REGISTER.
>> Ho to get user_agent field from location table after run
>> lookup("location","m") ?
>>
>> if ( lookup("location","m") ) {
>> ?????
>> }
>>
>> Thanks in advance,
>> PlayMen
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
>
> --
> --
> *--*--*--*--*--*
> Duane
> *--*--*--*--*--*
> --
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
    
    
More information about the Users
mailing list