[asterisk-users] check if call is from chan_sip or chan_pjsip

Jean Aunis jean.aunis at prescom.fr
Fri Sep 17 07:49:37 CDT 2021


Le 17/09/2021 à 14:41, marek a écrit :
> hi,
>
> i need check sip headers of incoming calls
>
> i have hybrid configuration with chan_sip and chan_pjsip enabled
>
> so i need check if incoming call is through chan_sip or chan_pjsip 
> because i cant use i.e. ${PJSIP_HEADER(read,something)} on chan_sip
>
> is there some function/application/variable?
>
> thanks
>
> Marek
>
>
Hi,

${CHANNEL(channeltype)} should give you the information.

Regards,

Jean





More information about the asterisk-users mailing list