Hello all, I'm have some problems with my freetdm module lately. To be more precise freetdm with ftmod_sangoma_isdn for ISDN handling. One of which is, that I cant get early media to be played in pre_answer state (aka progress_media). But I think I saw a Jira on that one, where I will try to get the information/contribute if possible. The other problem I have is that on an incoming call I cant reliably get the TON for displaying purpouses. Actually Display would be alright, but calling back the other side is just uncomfortable if your number is missing a leading 0. So I thought I just have to activate the sip_headers in autoloads/freetdm.conf.xml as described here: http://wiki.freeswitch.org/wiki/Mod_freetdm#Channel_Variables (actually right above) But when I call my info Application, I cant see any of the headers. freetdm.conf.xml: (I set the param sip_headers three times after several tries) <configuration name="freetdm.conf" description="Freetdm Configuration"> <settings> <param name="debug" value="0"/> <param name="sip_headers" value="true" /> <!--<param name="hold-music" value="$${moh_uri}"/>--> <!--<param name="enable-analog-option" value="call-swap"/>--> <!--<param name="enable-analog-option" value="3-way"/>--> </settings> <config_profiles> <profile name="my_pri_te_1"> <param name="switchtype" value="euroisdn" /> <param name="interface" value="pri_cpe"/> <param name="sip_headers" value="true" /> </profile> </config_profiles> <sangoma_pri_spans> <span name="wp1" cfgprofile="my_pri_te_1"> <param name="dialplan" value="XML"/> <param name="context" value="from_pstn"/> <param name="tei" value="0"/> <param name="overlap" value="no"/> <param name="min_digits" value="4"/> <param name="setup arbitration" value="no"/> <param name="facility" value="yes"/> <xparam name="facility-timeout" value="0"/> <param name="outbound-called-ton" value="national"/> <param name="outbound-called-npi" value="ISDN"/> <param name="outbound-calling-ton" value="national"/> <param name="outbound-calling-npi" value="ISDN"/> <param name="outbound-rdnis-ton" value="national"/> <param name="outbound-rdnis-npi" value="ISDN"/> <param name="outbound-bearer_cap" value="speech"/> <param name="outbound-bearer_layer1" value="alaw"/> <param name="sip_headers" value="true" /> <yparam name="early-media-override" value="on-alert" /> <xparam name="local-number" value=""/> </span> </sangoma_pri_spans> <analog_spans> </analog_spans> </configuration> Output of Info on incoming call: 2012-06-15 07:19:41.691799 [INFO] mod_dptools.c:1463 CHANNEL_DATA: Channel-State: [CS_EXECUTE] Channel-Call-State: [RINGING] Channel-State-Number: [4] Channel-Name: [FreeTDM/1:6/8001] Unique-ID: [7e1f9f6c-f5e3-42ac-9311-341d09dcb7be] Call-Direction: [inbound] Presence-Call-Direction: [inbound] Channel-HIT-Dialplan: [true] Channel-Call-UUID: [7e1f9f6c-f5e3-42ac-9311-341d09dcb7be] Answer-State: [ringing] Channel-Read-Codec-Name: [PCMA] Channel-Read-Codec-Rate: [8000] Channel-Read-Codec-Bit-Rate: [64000] Channel-Write-Codec-Name: [PCMA] Channel-Write-Codec-Rate: [8000] Channel-Write-Codec-Bit-Rate: [64000] Caller-Direction: [inbound] Caller-Username: [FreeTDM] Caller-Dialplan: [XML] Caller-Caller-ID-Number: [152532xxxxx] Caller-ANI: [152532xxxxx] Caller-Destination-Number: [8001] Caller-Unique-ID: [7e1f9f6c-f5e3-42ac-9311-341d09dcb7be] Caller-Source: [mod_freetdm] Caller-Context: [from_pstn] Caller-Channel-Name: [FreeTDM/1:6/8001] Caller-Profile-Index: [1] Caller-Profile-Created-Time: [1339737581650800] Caller-Channel-Created-Time: [1339737581650800] Caller-Channel-Answered-Time: [0] Caller-Channel-Progress-Time: [0] Caller-Channel-Progress-Media-Time: [0] Caller-Channel-Hangup-Time: [0] Caller-Channel-Transfer-Time: [0] Caller-Screen-Bit: [true] Caller-Privacy-Hide-Name: [false] Caller-Privacy-Hide-Number: [false] variable_direction: [inbound] variable_uuid: [7e1f9f6c-f5e3-42ac-9311-341d09dcb7be] variable_session_id: [18] variable_read_codec: [PCMA] variable_read_rate: [8000] variable_write_codec: [PCMA] variable_write_rate: [8000] variable_channel_name: [FreeTDM/1:6/8001] variable_freetdm_span_name: [wp1] variable_freetdm_span_number: [1] variable_freetdm_chan_number: [6] variable_freetdm_bearer_capability: [0] variable_freetdm_bearer_layer1: [3] variable_freetdm_calling_party_category: [unknown] variable_screening_ind: [network-provided] variable_presentation_ind: [presentation-allowed] variable_call_uuid: [7e1f9f6c-f5e3-42ac-9311-341d09dcb7be] variable_process_cdr: [false] variable_effective_caller_id_number: [0152532xxxxx] variable_et_first_dialed_ext: [8001] variable_absolute_codec_string: [PCMA] variable_continue_on_fail: [true] variable_hangup_after_bridge: [false] variable_nolocal:execute_on_ring: [hash insert/last_caller/8001/7e1f9f6c-f5e3-42ac-9311-341d09dcb7be] variable_nolocal:ignore_display_updates: [true] variable_export_vars: [absolute_codec_string,nolocal:execute_on_ring,nolocal:ignore_display_updates] variable_record_session: [015253xxxxx.8001.2012-6-15-7-19-41.wav] variable_execute_on_answer: [lua pickup_group_cleanup.lua 7e1f9f6c-f5e3-42ac-9311-341d09dcb7be] variable_api_hangup_hook: [lua pickup_group_cleanup.lua 7e1f9f6c-f5e3-42ac-9311-341d09dcb7be] variable_current_application: [info] Am I overlooking something, is my ISDN knowledge just terrible or do I have to configure something another way round? Thanks in advance! Regards Mitja
Two pieces of information I forgot: freeswitch@xxx.xxx.xxx.xxx@internal> version FreeSWITCH Version 1.2.0-rc2 cat .git/refs/heads/master fc2bb00eb19edc245ae6e9bcdff814c07f1e603b from June 11th libsng_isdn version 7.20.2 Greetz Mitja
Hello all,
I'm have some problems with my freetdm module lately. To be more precise freetdm with ftmod_sangoma_isdn for ISDN handling.
One of which is, that I cant get early media to be played in pre_answer state (aka progress_media). But I think I saw a Jira on that one, where I will try to get the information/contribute if possible.
The other problem I have is that on an incoming call I cant reliably get the TON for displaying purpouses. Actually Display would be alright, but calling back the other side is just uncomfortable if your number is missing a leading 0. So I thought I just have to activate the sip_headers in autoloads/freetdm.conf.xml as described here: http://wiki.freeswitch.org/wiki/Mod_freetdm#Channel_Variables (actually right above)
But when I call my info Application, I cant see any of the headers.
freetdm.conf.xml: (I set the param sip_headers three times after several tries) <configuration name="freetdm.conf" description="Freetdm Configuration"> <settings> <param name="debug" value="0"/> <param name="sip_headers" value="true" /> <!--<param name="hold-music" value="$${moh_uri}"/>--> <!--<param name="enable-analog-option" value="call-swap"/>--> <!--<param name="enable-analog-option" value="3-way"/>--> </settings> <config_profiles> <profile name="my_pri_te_1"> <param name="switchtype" value="euroisdn" /> <param name="interface" value="pri_cpe"/> <param name="sip_headers" value="true" /> </profile> </config_profiles> <sangoma_pri_spans> <span name="wp1" cfgprofile="my_pri_te_1"> <param name="dialplan" value="XML"/> <param name="context" value="from_pstn"/> <param name="tei" value="0"/> <param name="overlap" value="no"/> <param name="min_digits" value="4"/> <param name="setup arbitration" value="no"/> <param name="facility" value="yes"/> <xparam name="facility-timeout" value="0"/> <param name="outbound-called-ton" value="national"/> <param name="outbound-called-npi" value="ISDN"/> <param name="outbound-calling-ton" value="national"/> <param name="outbound-calling-npi" value="ISDN"/> <param name="outbound-rdnis-ton" value="national"/> <param name="outbound-rdnis-npi" value="ISDN"/> <param name="outbound-bearer_cap" value="speech"/> <param name="outbound-bearer_layer1" value="alaw"/> <param name="sip_headers" value="true" /> <yparam name="early-media-override" value="on-alert" /> <xparam name="local-number" value=""/> </span> </sangoma_pri_spans> <analog_spans> </analog_spans> </configuration>
Output of Info on incoming call: 2012-06-15 07:19:41.691799 [INFO] mod_dptools.c:1463 CHANNEL_DATA: Channel-State: [CS_EXECUTE] Channel-Call-State: [RINGING] Channel-State-Number: [4] Channel-Name: [FreeTDM/1:6/8001] Unique-ID: [7e1f9f6c-f5e3-42ac-9311-341d09dcb7be] Call-Direction: [inbound] Presence-Call-Direction: [inbound] Channel-HIT-Dialplan: [true] Channel-Call-UUID: [7e1f9f6c-f5e3-42ac-9311-341d09dcb7be] Answer-State: [ringing] Channel-Read-Codec-Name: [PCMA] Channel-Read-Codec-Rate: [8000] Channel-Read-Codec-Bit-Rate: [64000] Channel-Write-Codec-Name: [PCMA] Channel-Write-Codec-Rate: [8000] Channel-Write-Codec-Bit-Rate: [64000] Caller-Direction: [inbound] Caller-Username: [FreeTDM] Caller-Dialplan: [XML] Caller-Caller-ID-Number: [152532xxxxx] Caller-ANI: [152532xxxxx] Caller-Destination-Number: [8001] Caller-Unique-ID: [7e1f9f6c-f5e3-42ac-9311-341d09dcb7be] Caller-Source: [mod_freetdm] Caller-Context: [from_pstn] Caller-Channel-Name: [FreeTDM/1:6/8001] Caller-Profile-Index: [1] Caller-Profile-Created-Time: [1339737581650800] Caller-Channel-Created-Time: [1339737581650800] Caller-Channel-Answered-Time: [0] Caller-Channel-Progress-Time: [0] Caller-Channel-Progress-Media-Time: [0] Caller-Channel-Hangup-Time: [0] Caller-Channel-Transfer-Time: [0] Caller-Screen-Bit: [true] Caller-Privacy-Hide-Name: [false] Caller-Privacy-Hide-Number: [false] variable_direction: [inbound] variable_uuid: [7e1f9f6c-f5e3-42ac-9311-341d09dcb7be] variable_session_id: [18] variable_read_codec: [PCMA] variable_read_rate: [8000] variable_write_codec: [PCMA] variable_write_rate: [8000] variable_channel_name: [FreeTDM/1:6/8001] variable_freetdm_span_name: [wp1] variable_freetdm_span_number: [1] variable_freetdm_chan_number: [6] variable_freetdm_bearer_capability: [0] variable_freetdm_bearer_layer1: [3] variable_freetdm_calling_party_category: [unknown] variable_screening_ind: [network-provided] variable_presentation_ind: [presentation-allowed] variable_call_uuid: [7e1f9f6c-f5e3-42ac-9311-341d09dcb7be] variable_process_cdr: [false] variable_effective_caller_id_number: [0152532xxxxx] variable_et_first_dialed_ext: [8001] variable_absolute_codec_string: [PCMA] variable_continue_on_fail: [true] variable_hangup_after_bridge: [false] variable_nolocal:execute_on_ring: [hash insert/last_caller/8001/7e1f9f6c-f5e3-42ac-9311-341d09dcb7be] variable_nolocal:ignore_display_updates: [true] variable_export_vars: [absolute_codec_string,nolocal:execute_on_ring,nolocal:ignore_display_updates] variable_record_session: [015253xxxxx.8001.2012-6-15-7-19-41.wav] variable_execute_on_answer: [lua pickup_group_cleanup.lua 7e1f9f6c-f5e3-42ac-9311-341d09dcb7be] variable_api_hangup_hook: [lua pickup_group_cleanup.lua 7e1f9f6c-f5e3-42ac-9311-341d09dcb7be] variable_current_application: [info]
Am I overlooking something, is my ISDN knowledge just terrible or do I have to configure something another way round?
Thanks in advance!
Regards Mitja
On Fri, Jun 15, 2012 at 1:44 AM, Mitja <unau0@gmx.de> wrote:
Hello all,
I'm have some problems with my freetdm module lately. To be more precise freetdm with ftmod_sangoma_isdn for ISDN handling.
One of which is, that I cant get early media to be played in pre_answer state (aka progress_media). But I think I saw a Jira on that one, where I will try to get the information/contribute if possible.
The other problem I have is that on an incoming call I cant reliably get the TON for displaying purpouses. Actually Display would be alright, but calling back the other side is just uncomfortable if your number is missing a leading 0. So I thought I just have to activate the sip_headers in autoloads/freetdm.conf.xml as described here: http://wiki.freeswitch.org/wiki/Mod_freetdm#Channel_Variables (actually right above)
But when I call my info Application, I cant see any of the headers.
freetdm.conf.xml: (I set the param sip_headers three times after several tries) <configuration name="freetdm.conf" description="Freetdm Configuration"> <settings> <param name="debug" value="0"/> <param name="sip_headers" value="true" />
This should be <param name="sip-headers" value="true" />, note that there is a dash instead of an underscore. *Moises Silva **Manager, Software Engineering*** msilva@sangoma.com Sangoma Technologies 100 Renfrew Drive, Suite 100, Markham, ON L3R 9R6 Canada t. +1 800 388 2475 (N. America) t. +1 905 474 1990 x128 f. +1 905 474 9223 **<http://www.sangoma.com/contact?utm_source=signature&utm_medium=email&utm_campaign=email+signatures> Products<http://sangoma.com/products?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Solutions<http://sangoma.com/solutions?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Events<http://sangoma.com/about_us/events?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Contact<http://www.sangoma.com/contact?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Wiki<http://wiki.sangoma.com/?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Facebook<http://www.facebook.com/pages/Sangoma-VoIP-Cards/43578453335?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Twitter<http://www.twitter.com/sangoma?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>`| | YouTube<http://www.youtube.com/sangomatechnologies?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>
Hello Moises, works like a charm. Sometimes its the little things that matter most ;) Thanks a lot!
On Fri, Jun 15, 2012 at 1:44 AM, Mitja <unau0@gmx.de <mailto:unau0@gmx.de>> wrote:
Hello all,
I'm have some problems with my freetdm module lately. To be more precise freetdm with ftmod_sangoma_isdn for ISDN handling.
One of which is, that I cant get early media to be played in pre_answer state (aka progress_media). But I think I saw a Jira on that one, where I will try to get the information/contribute if possible.
The other problem I have is that on an incoming call I cant reliably get the TON for displaying purpouses. Actually Display would be alright, but calling back the other side is just uncomfortable if your number is missing a leading 0. So I thought I just have to activate the sip_headers in autoloads/freetdm.conf.xml as described here: http://wiki.freeswitch.org/wiki/Mod_freetdm#Channel_Variables (actually right above)
But when I call my info Application, I cant see any of the headers.
freetdm.conf.xml: (I set the param sip_headers three times after several tries) <configuration name="freetdm.conf" description="Freetdm Configuration"> <settings> <param name="debug" value="0"/> <param name="sip_headers" value="true" />
This should be <param name="sip-headers" value="true" />, note that there is a dash instead of an underscore.
*Moises Silva **/Manager, Software Engineering/***
msilva@sangoma.com <mailto:msilva@sangoma.com>
Sangoma Technologies
100 Renfrew Drive, Suite 100, Markham, ON L3R 9R6 Canada
t. +1 800 388 2475 (N. America)
t. +1 905 474 1990 x128
f. +1 905 474 9223
** <http://www.sangoma.com/contact?utm_source=signature&utm_medium=email&utm_campaign=email+signatures>
Products <http://sangoma.com/products?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Solutions <http://sangoma.com/solutions?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Events <http://sangoma.com/about_us/events?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Contact <http://www.sangoma.com/contact?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Wiki <http://wiki.sangoma.com/?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Facebook <http://www.facebook.com/pages/Sangoma-VoIP-Cards/43578453335?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Twitter <http://www.twitter.com/sangoma?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>`| | YouTube <http://www.youtube.com/sangomatechnologies?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>
participants (2)
-
Mitja
-
Moises Silva