Thanks!

Is normaly to have a lot of records but they must to have only one
user_agent field.

2012/12/21 Duane Larson <[email protected]>:
> You can do an AVPop query
> http://www.opensips.org/html/docs/modules/1.8.x/avpops.html#id292750
>
> But what if there are multiple location records for the same user?
>
>
>
>
> On Thu, Dec 20, 2012 at 3:54 PM, Dragomir Haralambiev <[email protected]>
> wrote:
>>
>> $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 <[email protected]>:
>> > http://www.opensips.org/Resources/DocsCoreVar18#toc92
>> >
>> > Is that what you want?
>> >
>> > On Thu, Dec 20, 2012 at 2:59 PM, Dragomir Haralambiev
>> > <[email protected]>
>> > 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
>> >> [email protected]
>> >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>> >
>> >
>> >
>> >
>> > --
>> > --
>> > *--*--*--*--*--*
>> > Duane
>> > *--*--*--*--*--*
>> > --
>> >
>> > _______________________________________________
>> > 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
>
>
>
>
> --
> --
> *--*--*--*--*--*
> Duane
> *--*--*--*--*--*
> --
>
> _______________________________________________
> 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

Reply via email to