[asterisk-users] Dial command: channel type detection

Julien Sansonnens julien at jsansonnens.ch
Wed Feb 3 01:43:18 CST 2016


Hi,

Some of my users connect to my asterisk box using SIP, other using iax
(in users.conf, I set "hasiax=yes" for those users).

How do I detect which protocol some user is using ? I cannot find any
variable which contains that information.

Reason is: I need this information for the Dial() command to work with
all my users, as the protocol is needed when using this command.

Thanks a lot, regards,
Julien Sansonnens



More information about the asterisk-users mailing list