Hi Paul

I apologize for my imprecise email.

Let's imagine this simple use case:

- an application has been configured with an outbound proxy, a username,
password, domain, etc.

- when the application starts, it detects there are several IP addresses
available on the local host (eg. one for LAN, other Wi-Fi, and another one
from a 3G dial-up). Only one of those local addresses may route correctly to
the outbound proxy and then to the registrar.

My concern is to make my application to discover the right local binding
that will give me access to the remote SIP platform. I don't want the user
to choose manually which network adapter should be used.

Obviously I can't use 0.0.0.0 as a local binding because I need to know
beforehand the IP address to include in the SIP messages (eg. Contact
header).

Regards,
Pascal


On Wed, Jun 11, 2008 at 2:58 PM, Paul Kyzivat <[EMAIL PROTECTED]> wrote:

> I must not understand what you are asking, because it doesn't seem to make
> any sense to me.
>
> Are you asking how to find a local proxy, through which to forward requests
> to a service you already have a URI for?
>
> Why are you sending *fake* REGISTER requests?
>
> You do mention 3G, which may be causing confusion because IMS has its own
> rules for doing SIP which are at best a strange dialect of SIP. If you are
> trying to decide between using IMS and not using IMS then I can see how you
> might have some difficulty. But if you are just using 3G as an IP service,
> then it might not provide any special issues.
>
>        Paul
>
> Pascal Maugeri wrote:
>
>> Hi
>>
>> I need to find the local address to be used on my host to access to a SIP
>> service. May host may have for instance an IP address for LAN and another
>> one for 3G.
>> Of course I know the address of the distant registrar and proxy.
>>
>> What I do currently is to scan all the available addresses, and build a
>> "fake" REGISTER packet, then send it to the registrar, and expect a
>> response
>> to make a decision.
>>
>> Is there a better way to do that ? Can I send a SIP INFO packet for
>> instance
>> before being registered ?
>>
>> Best regard,
>> Pascal
>> _______________________________________________
>> Sip-implementors mailing list
>> [email protected]
>> https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors
>>
>>
_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

Reply via email to