How to get the sdp attribute when i receive 200 OK

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

 



On Mon, Nov 2, 2009 at 4:31 PM, CharlesFan <CharlesFan at calarm.cn> wrote:
> Hi .
>
>
>
> When I send ?INVATE? message to other client. I append ?alt? attribute int
> sdp, ?a=alt: 1 1.0 user xxxx 192.168.100.2 1000?
>
>
>
> It is means ?a=alt:1 1.0 user xxx <local ip> <local port>?
>
>
>
> How to get the sdp attribute on the ?on_call_state()?, and How to change the
> taget media port in this function.
>
>

You can fllow this FAQ entry on how to extract message elements from
pjsip_event: http://trac.pjsip.org/repos/wiki/FAQ#pjsip_event

I'm not sure I understand what you mean by changing the target port.

Cheers
 Benny



[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