[Serusers] divert call to PSTN-number?
Klaus Darilion
klaus.mailinglists at pernau.at
Wed May 11 16:36:35 CEST 2005
Samuel Osorio Calvo wrote:
> Hi,
>
>
>>I'm not sure, but I think you can handle it this way. You can add an
>>alias sip:mobilenumber at gateway to the user, and an alias to itself.
>>Then, after lookup(alias) you will have 2 brachnes, the original one and
>>the mobilenumber at gateway. Then, lookup(location) will add the branches
>
>>from the location table.
>
> Unfortunately, I think it won't work because the first lookup (in aliases) will rewrite the first contact as Req-URI and the second binding will be added as an extra branch.
> When you make the second lookup (in location), only the Req-URI is checked in the location table (which is the one rewritten by the first lookup), loosing the branch obtained in the first lookup (aliases).
>
> Please, correct me if I'm wrong...
Yes, but if you have 2 aliases:
1. sip:a at a -> sip:a at a
2. sip:a at a -> sip:number at gateway
this should work - once I had misconfiured my aliases in this way and
behave like this. Nevertheless, using a permanent entry in the location
table is a much cleaner approach.
regards,
klaus
More information about the sr-users
mailing list