Handling 302 w/pjsua API

PC
P.J. Cast.
Thu, Jan 17, 2008 5:48 PM

Awesome, that is extremely helpful.

Thanks

--- Benny Prijono bennylp@pjsip.org wrote:

On 1/17/08, P.J. Cast. pjcast@yahoo.com wrote:

From the on_call_state callback, when state is

disconnected, and last_status is 302, I check the
remote_contact string of pjsua_call_info, but it
contains only the original contact of the first

few

signaling messages, but not the new destination
location. Am I doing something wrong? Is there

another

method I should be using to get access to fields
(would probably help with receiving other custom
headers)? I'll look through the doc's some more,

but a

quick hint would be awesome ;-)

I think this deserves a longer explanation, so I've
just created a wiki page
to explain this. You can start from
http://trac.pjsip.org/repos/wiki/FAQ#pjsip_event

cheers,
-benny

Thanks


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org

  ____________________________________________________________________________________

Looking for last minute shopping deals?
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping

Awesome, that is extremely helpful. Thanks --- Benny Prijono <bennylp@pjsip.org> wrote: > On 1/17/08, P.J. Cast. <pjcast@yahoo.com> wrote: > > > > >From the on_call_state callback, when state is > > disconnected, and last_status is 302, I check the > > remote_contact string of pjsua_call_info, but it > > contains only the original contact of the first > few > > signaling messages, but not the new destination > > location. Am I doing something wrong? Is there > another > > method I should be using to get access to fields > > (would probably help with receiving other custom > > headers)? I'll look through the doc's some more, > but a > > quick hint would be awesome ;-) > > > I think this deserves a longer explanation, so I've > just created a wiki page > to explain this. You can start from > http://trac.pjsip.org/repos/wiki/FAQ#pjsip_event > > cheers, > -benny > > > Thanks > > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > ____________________________________________________________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
BP
Benny Prijono
Mon, Jan 21, 2008 12:13 PM

Latest info on this. Since I've been getting few "complaints" regarding
pjsua/pjsua-lib not handling redirection response, I decided to implement
this in pjsua-lib (https://trac.pjsip.org/repos/ticket/456).

Stay tuned. :)

On 1/17/08, P.J. Cast. pjcast@yahoo.com wrote:

Awesome, that is extremely helpful.

Thanks

--- Benny Prijono bennylp@pjsip.org wrote:

On 1/17/08, P.J. Cast. pjcast@yahoo.com wrote:

From the on_call_state callback, when state is

disconnected, and last_status is 302, I check the
remote_contact string of pjsua_call_info, but it
contains only the original contact of the first

few

signaling messages, but not the new destination
location. Am I doing something wrong? Is there

another

method I should be using to get access to fields
(would probably help with receiving other custom
headers)? I'll look through the doc's some more,

but a

quick hint would be awesome ;-)

I think this deserves a longer explanation, so I've
just created a wiki page
to explain this. You can start from
http://trac.pjsip.org/repos/wiki/FAQ#pjsip_event

cheers,
-benny

Thanks


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org

   ____________________________________________________________________________________

Looking for last minute shopping deals?
Find them fast with Yahoo! Search.
http://tools.search.yahoo.com/newsearch/category.php?category=shopping


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

Latest info on this. Since I've been getting few "complaints" regarding pjsua/pjsua-lib not handling redirection response, I decided to implement this in pjsua-lib (https://trac.pjsip.org/repos/ticket/456). Stay tuned. :) On 1/17/08, P.J. Cast. <pjcast@yahoo.com> wrote: > > Awesome, that is extremely helpful. > > Thanks > > --- Benny Prijono <bennylp@pjsip.org> wrote: > > > On 1/17/08, P.J. Cast. <pjcast@yahoo.com> wrote: > > > > > > >From the on_call_state callback, when state is > > > disconnected, and last_status is 302, I check the > > > remote_contact string of pjsua_call_info, but it > > > contains only the original contact of the first > > few > > > signaling messages, but not the new destination > > > location. Am I doing something wrong? Is there > > another > > > method I should be using to get access to fields > > > (would probably help with receiving other custom > > > headers)? I'll look through the doc's some more, > > but a > > > quick hint would be awesome ;-) > > > > > > I think this deserves a longer explanation, so I've > > just created a wiki page > > to explain this. You can start from > > http://trac.pjsip.org/repos/wiki/FAQ#pjsip_event > > > > cheers, > > -benny > > > > > > Thanks > > > > > > _______________________________________________ > > Visit our blog: http://blog.pjsip.org > > > > pjsip mailing list > > pjsip@lists.pjsip.org > > > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > > > > > > ____________________________________________________________________________________ > Looking for last minute shopping deals? > Find them fast with Yahoo! Search. > http://tools.search.yahoo.com/newsearch/category.php?category=shopping > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >