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

marek cervajs64 at gmail.com
Fri Sep 17 07:50:19 CDT 2021


${CHANNEL(channeltype)}

Dne 17/09/2021 v 14:41 marek napsal(a):
> 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
>



More information about the asterisk-users mailing list