VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
julien at jsansonnens.ch Guest
|
Posted: Wed Feb 03, 2016 2:44 am Post subject: [asterisk-users] Dial command: channel type detection |
|
|
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
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
webaccounts173 at jgoe... Guest
|
Posted: Wed Feb 03, 2016 4:01 am Post subject: [asterisk-users] Dial command: channel type detection |
|
|
Quote: | 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.
| Why can't you evaluate the CHANNEL variable with something like
Set(TECHNOLOGY=${CUT(CHANNEL,/,1)})? One could also initially use a special context for IAX
channels and set a variable. It depends on what you want to do.
jg
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|