I noticed tonegroup=es. What country are you in and do you know what method they use to do dtmf. Most likely we need a small tweak to set the dtmf method for your country. Mike On Jan 14, 2009, at 9:05 AM, Anthony Minessale wrote:
number => 1
This value should be set to the DID of the FXO line. That way when a call hits FS it will go to that extension in the dialplan. This is unrelated to callerid, it's the destination not the source.
If the line has caller-id it will also be available when it's collected after the 2nd ring.
On Wed, Jan 14, 2009 at 5:54 AM, Tomás <tomasborrella@gmail.com> wrote: Hi all,
I'm a new FreeSwitch user and this is my first email to the list.
I'm trying to configure my Home PBX with a Wildcard X101P (configured as FXO) and I have a problem receiving the caller/called ID from PSTN.
This is the content of file "openzap.conf":
[span zt] name => OpenZAP number => 1 fxo-channel => 1
And this is the content of file "openzap.conf.xml":
<configuration name="openzap.conf" description="OpenZAP Configuration"> <settings> <param name="debug" value="0"/> </settings> <analog_spans> <span id="1"> <param name="tonegroup" value="es"/> <param name="digit-timeout" value="2000"/> <param name="max-digits" value="11"/> <param name="dialplan" value="XML"/> <param name="context" value="default"/> <param name="enable-callerid" value="true"/> </span> </analog_spans> </configuration>
As you can see the param "enable-callerid" is set to "true", but when I received and incoming call, FreeSwitch doesn't get neither the caller number nor the called number (instead of my home number, I receive a number 1, as can be seen on the following log of an incoming call):
2009-01-14 20:43:12 [NOTICE] switch_channel.c:565 switch_channel_set_name() New Channel OpenZAP/1:1/1 [941d6234- e273-11dd-bcdf-89190a30fe61] 2009-01-14 20:43:12 [INFO] mod_dialplan_xml.c:233 dialplan_hunt() Processing OpenZAP->1 in context default 2009-01-14 20:43:12 [NOTICE] switch_ivr.c:1255 switch_ivr_session_transfer() Transfer OpenZAP/1:1/1 to enum[1@default] 2009-01-14 20:43:16 [INFO] switch_core_state_machine.c:122 switch_core_standard_on_routing() No Route, Aborting 2009-01-14 20:43:16 [NOTICE] switch_core_state_machine.c:123 switch_core_standard_on_routing() Hangup OpenZAP/1:1/1 [CS_ROUTING] [NO_ROUTE_DESTINATION] 2009-01-14 20:43:16 [NOTICE] switch_core_session.c:960 switch_core_session_thread() Session 1 (OpenZAP/1:1/1 ) Ended 2009-01-14 20:43:16 [NOTICE] switch_core_session.c:962 switch_core_session_thread() Close Channel OpenZAP/1:1/1 [CS_HANGUP] 2009-01-14 20:43:23 [NOTICE] switch_channel.c:565 switch_channel_set_name() New Channel OpenZAP/1:1/1 [9af53280- e273-11dd-bcdf-89190a30fe61]