[pjsip] How to distinguish call as an inbound/outbound

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

 



This assertion is only true during the call setup (*first* 18x|200-INVITE).
Afterwards you can't rely on that information for the duration of the call!
When a re-invite (hold e.g.) occurs the role might be different etc..
Cheers
Alain

Juozas Dovydaitis wrote:
> try looking at
> 
> pjsua_call_info  parameter role. if it is PJSIP_ROLE_UAS - then the call 
> is inbound
> 
> logan wrote:
>> Hi All,
>>
>> Is there any way or API through which I can tell from the pjsua_call_id if 
>> the call was inbound or outbound?
>>
>> Thanks.
>>
>> Best Regards,
>> Hitesh 
>>
>>
>> _______________________________________________
>> Visit our blog: http://blog.pjsip.org
>>
>> pjsip mailing list
>> pjsip at lists.pjsip.org
>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>>
>>   
> 
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
> 
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
> 

-- 
Dipl.-Ing. Alain Totouom, Uhlandstr. 39, D-76135 Karlsruhe
+49 721 204 2742 (Phone)
+49 721 204 2743 (Fax)
+49 177 794 2844 (Cell)

1024D/A9F85A52 2000-01-18 Dipl.-Ing. Alain Totouom <totouom at gmx.de>
PGP Fingerprint   DA18 0DF2 FBD2 5F67 0656 452D E3A2 7531 A9F8 5A52



[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