[OpenSIPS-Users] uac_redirect question
zm23
zm23 at columbia.edu
Wed Aug 27 12:28:03 CEST 2008
Hi Bogdan,
There are multiple contacts returned by the gateway. In this
particular scenario there is one user at gw_ip and the other is
user at proxy_ip. The user part is same in both cases. I want to use
the contact with proxy's domain and if there is no such contact, then
use the gateway contact. I did end up using drop for the contacts
with gw_ip in the branch route but this would happen even if there
was no other branch.
Doesn't get_redirect() add the contacts as branches already? how can
I get the results from get_redirects in an avp?
Thanks.
--
Zahid
On Aug 27, 2008, at 4:25 AM, Bogdan-Andrei Iancu wrote:
> Iñaki Baz Castillo wrote:
>> El Wednesday 27 August 2008 10:03:13 Bogdan-Andrei Iancu escribió:
>>
>>> Once a branch is created, you cannot delete it - you have to send
>>> the
>>> request to it - at least this is the current approach.
>>>
>>
>> What would do a "drop()" into an "on_branch_route[X]?
>>
> hmm...that will be indeed an option.....:)
>
> But, I would prefer to change the uac_get_redirects() to return the
> contacts into some AVPs instead of directly pushing them into
> branches -
> doing this, you can do whatever changes over the URIs (from script)
> before pushing them into branches
>
> Regards,
> Bogdan
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
More information about the Users
mailing list