[OpenSIPS-Users] [OpenSER-Users] About openser redirect - forward

David Villasmil david.villasmil.work at gmail.com
Fri Aug 29 15:14:45 CEST 2008


I see the redirect from the server to the UAC, but the UAC never (should
it?)  acks the server, and never tries to regoster at the other domain.

I'll try only for INVITE, then...

On Fri, Aug 29, 2008 at 2:36 PM, Bogdan-Andrei Iancu <bogdan at voice-system.ro
> wrote:

> note that most of the devices are not able to handle a redirect for a
> REGISTER - typically they do it for INVITE.
>
> Anyhow, do you see the outgoing 302 replay with the redirect contact?
>
> Regards,
> Bogdan
>
> David Villasmil wrote:
>
>> Yes a REGISTER
>>
>> On Fri, Aug 29, 2008 at 12:23 PM, Bogdan-Andrei Iancu <
>> bogdan at voice-system.ro <mailto:bogdan at voice-system.ro>> wrote:
>>
>>    David,
>>
>>    are you trying to redirect a REGISTER??
>>
>>    Regards,
>>    Bogdan
>>
>>    David Villasmil wrote:
>>
>>        I've tried using the redirect with twinkle, but it doesn't
>>        work... my script is:
>>
>>        if($au=~"^username.*"){
>>           xlog("L_ERR","PROXY: REDIRECT $au TO sip.domain.com
>>        <http://sip.domain.com> <http://sip.domain.com>\n");
>>           $ru = "sip:sip.domain.com <http://sip.domain.com>
>>        <http://sip.domain.com>";
>>
>>           sl_send_reply("302", "Redirect to SIP provider");
>>           exit;
>>        }
>>
>>
>>        log output
>>
>>        Aug 26 07:09:28 sip99 /sbin/openser[12944]: PROXY: REDIRECT
>>        username TO sip.yip.com.br <http://sip.yip.com.br>
>>        <http://sip.yip.com.br>
>>
>>
>>        tshark trace
>>
>>         192.168.1.253 <http://192.168.1.253> <http://192.168.1.253>
>>        -> sip2.domain.com <http://sip2.domain.com>
>>        <http://sip2.domain.com> SIP Request: REGISTER
>>        sip:sip.domain.com <http://sip.domain.com> <http://sip.domain.com>
>>         sip2.domain.com <http://sip2.domain.com>
>>        <http://sip2.domain.com> -> 192.168.1.253
>>        <http://192.168.1.253> <http://192.168.1.253> SIP Status: 100
>>        Trying    (0 bindings)
>>         sip2.domain.com <http://sip2.domain.com>
>>        <http://sip2.domain.com> -> 192.168.1.253
>>        <http://192.168.1.253> <http://192.168.1.253> SIP Status: 302
>>        Redirect to SIP provider    (1 bindings)
>>          sip2.domain.com <http://sip2.domain.com>
>>        <http://sip2.domain.com> -> sip.domain.com
>>        <http://sip.domain.com> <http://sip.domain.com> SIP Request:
>>        REGISTER sip:sip.domain.com <http://sip.domain.com>
>>        <http://sip.domain.com>
>>
>>
>>        Why do I get the register coming from openser (sip2.domain.com
>>        <http://sip2.domain.com> <http://sip2.domain.com>)?
>>
>>
>>
>>
>>
>>        On Tue, Aug 26, 2008 at 10:47 AM, Bogdan-Andrei Iancu
>>        <bogdan at voice-system.ro <mailto:bogdan at voice-system.ro>
>>        <mailto:bogdan at voice-system.ro
>>        <mailto:bogdan at voice-system.ro>>> wrote:
>>
>>           Victor Pascual Ávila wrote:
>>           > On Tue, Aug 26, 2008 at 10:00 AM, Johansson Olle E
>>           <oej at edvina.net <mailto:oej at edvina.net>
>>        <mailto:oej at edvina.net <mailto:oej at edvina.net>>> wrote:
>>           >
>>           >> And a potential security issue. The RFC says that the
>>        user has to
>>           >> approve,
>>           >> but I haven't found any such application yet.
>>           >>
>>           >
>>           > As Iñaki mentioned, twinkle does so.
>>           >
>>           Even the old Kphone, when receiving a 3xx reply asks for a
>>           confirmation
>>           from user before doing the redirect.
>>
>>           Regards,
>>           Bogdan
>>
>>           _______________________________________________
>>           Users mailing list
>>           Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>>        <mailto:Users at lists.opensips.org
>>        <mailto:Users at lists.opensips.org>>
>>
>>           http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20080829/63eca02d/attachment.htm 


More information about the Users mailing list