http://wiki.freeswitch.org/wiki/Sofia.conf.xml#DTMF says that you can set a user variable, so e.g. when an inbound gateway ACLs as that user, you can set the dtmf type. As per the wiki, I set: <variable direction="inbound" name="dtmf-type" value="none"/> and do indeed see the variable in my log. However, in the SIP 200 that FS sends back, I still see this in the SDP: rtpmap:101 telephone-event/8000 I tried with sofia loglevel all 9 (I never used that before...) but didn't really see anything related to DTMF. Am I missing something here? -Avi
Try dtmf_type not dtmf-type. -Steve On 1 March 2013 09:25, Avi Marcus <avi@avimarcus.net> wrote:
http://wiki.freeswitch.org/wiki/Sofia.conf.xml#DTMF says that you can set a user variable, so e.g. when an inbound gateway ACLs as that user, you can set the dtmf type.
As per the wiki, I set: <variable direction="inbound" name="dtmf-type" value="none"/> and do indeed see the variable in my log.
However, in the SIP 200 that FS sends back, I still see this in the SDP: rtpmap:101 telephone-event/8000
I tried with sofia loglevel all 9 (I never used that before...) but didn't really see anything related to DTMF.
Am I missing something here?
-Avi
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
I tried both before, same thing. Does it really work when set in the user's directory xml file? -Avi On Fri, Mar 1, 2013 at 1:41 PM, Steven Ayre <steveayre@gmail.com> wrote:
Try dtmf_type not dtmf-type.
-Steve
On 1 March 2013 09:25, Avi Marcus <avi@avimarcus.net> wrote:
http://wiki.freeswitch.org/wiki/Sofia.conf.xml#DTMF says that you can set a user variable, so e.g. when an inbound gateway ACLs as that user, you can set the dtmf type.
As per the wiki, I set: <variable direction="inbound" name="dtmf-type" value="none"/> and do indeed see the variable in my log.
However, in the SIP 200 that FS sends back, I still see this in the SDP: rtpmap:101 telephone-event/8000
I tried with sofia loglevel all 9 (I never used that before...) but didn't really see anything related to DTMF.
Am I missing something here?
-Avi
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Gateway variables are set on the <gateway> entry. But I haven't tested the inbound ones extensively. -Steve On 1 March 2013 12:12, Avi Marcus <avi@avimarcus.net> wrote:
I tried both before, same thing. Does it really work when set in the user's directory xml file?
-Avi
On Fri, Mar 1, 2013 at 1:41 PM, Steven Ayre <steveayre@gmail.com> wrote:
Try dtmf_type not dtmf-type.
-Steve
On 1 March 2013 09:25, Avi Marcus <avi@avimarcus.net> wrote:
http://wiki.freeswitch.org/wiki/Sofia.conf.xml#DTMF says that you can set a user variable, so e.g. when an inbound gateway ACLs as that user, you can set the dtmf type.
As per the wiki, I set: <variable direction="inbound" name="dtmf-type" value="none"/> and do indeed see the variable in my log.
However, in the SIP 200 that FS sends back, I still see this in the SDP: rtpmap:101 telephone-event/8000
I tried with sofia loglevel all 9 (I never used that before...) but didn't really see anything related to DTMF.
Am I missing something here?
-Avi
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Well it's not a gateway, they just send calls to me. I set their IP in the ACL in a user, and it successfully auths as that user and takes those variables. The variables should work the same as gateway variable in the same stage for both? The wiki says: "... set the variable in the SIP gateway or user profile (NOT in the channel, it must be before CS_INIT)" Is that correct? -Avi On Fri, Mar 1, 2013 at 4:20 PM, Steven Ayre <steveayre@gmail.com> wrote:
Gateway variables are set on the <gateway> entry.
But I haven't tested the inbound ones extensively.
-Steve
On 1 March 2013 12:12, Avi Marcus <avi@avimarcus.net> wrote:
I tried both before, same thing. Does it really work when set in the user's directory xml file?
-Avi
On Fri, Mar 1, 2013 at 1:41 PM, Steven Ayre <steveayre@gmail.com> wrote:
Try dtmf_type not dtmf-type.
-Steve
On 1 March 2013 09:25, Avi Marcus <avi@avimarcus.net> wrote:
http://wiki.freeswitch.org/wiki/Sofia.conf.xml#DTMF says that you can set a user variable, so e.g. when an inbound gateway ACLs as that user, you can set the dtmf type.
As per the wiki, I set: <variable direction="inbound" name="dtmf-type" value="none"/> and do indeed see the variable in my log.
However, in the SIP 200 that FS sends back, I still see this in the SDP: rtpmap:101 telephone-event/8000
I tried with sofia loglevel all 9 (I never used that before...) but didn't really see anything related to DTMF.
Am I missing something here?
-Avi
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (2)
-
Avi Marcus
-
Steven Ayre