Request URI in INVITE when using proxy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>
> On 22/09/2008 00:16, Benny Prijono wrote:
> > On Sat, Sep 20, 2008 at 9:13 AM, Filippo Zangheri <
> filippo.zangheri at yahoo.it
> >> wrote:
> >
> >> On 20/09/2008 09:01, Gang Liu wrote:
> >>> if you add lr to proxy url and don't use global outbount, I think the
> >> result
> >>> is the same.
> >> Actually, here I'm observing a different behaviour. Using this
> >> configuration:
> >>
> >>  --ip-addr=127.0.0.100 --local-port=6000 --proxy "sip:127.0.0.10;lr"
> >>
> >>
> >> When the pjsua wants to establish a new call (by pressing 's'), it will
> >> directly
> >> send the INVITE to the callee. It will not pass it to the proxy. Just
> >> tested.
> >>
> >>
> >> But I think there's an implementation problem in pjsua_app.c, because
> even
> >> when I
> >> specify a registrar URI with --registrar "sip:127.0.0.10" and I type
> 'rr',
> >> to
> >> re-register, an error message appears on the screen stating that a
> >> registrar URI
> >> is not specified:
> >>
> >>  >>> rr
> >>  09:57:05.422    pjsua_acc.c Registrar URI is not specified
> >>
> >>
> >> Could you check it out please?
> >>
> >> I'm referring to at pjsua v0.9.0 with pjproject-0.9.0 unmodified.
> >>
> >>
> > The --proxy and --registrar options are account options, and for an
> account
> > to be created, you need to specify --id argument. Without this those
> > arguments are ignored.
>
>
Benny,

I have one question about this.
I have an host named proxy.azzu.com.br that points to 2 openser 1.3.2
servers
when I use the name proxy.azzu.com.br the api dont pass in the challange
every
time because it sends the first package to the openser 1 and the second to
the openser 2
many times, but when it sends the package two times to the same openser it
register,
its clear that the package have to be sendo to the same openser two times.
So to solve this problem in my application I first resolved the name (with
return one of the two
ips for me) and then set the ip as the proxy of the account.
I also set lr and UDP

"sip:proxy.azzu.com.br;lr;transport=UDP" -> a string like this didnt work
because of the two ips returning: Maximum number of stale retries exceeded
(PJSIP_EAUTHSTALECOUNT) [status=171111]
"sip:201.48.113.131;lr;transport=UDP" -> works since a resolved and got one
ip as the ip that account will register

the other data about account:
sipId: sip:1201****@azzu
registrar sip:azzu
realm azzu or *
username 1201****
passoword <password>

Did I made anything wrong for the hostname didn't work? or the api isn't
deal with this yet?

Thanks for help


-- 
Lucas Rosa Galego
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080922/3b8c47c4/attachment.html 


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux