Thank you very much for your help, I've realized I was specting to receive my house phone number having a POTS line and that's not possible. So, I've put my house number in openzap.conf: [span zt] name => OpenZAP number => 919999999 fxo-channel => 1 And I've added an extension on the default dialplan: <extension name="public_did"> <condition field="destination_number" expression="^919999999$"> <action application="answer"/> <action application="sleep" data="2000"/> <action application="ivr" data="demo_ivr"/> </condition> </extension> So I was hopping the IVR answer the call when it is received but instead of that nothing happens, this is the log of one incoming call: 2009-01-15 21:16:56 [NOTICE] switch_channel.c:565 switch_channel_set_name() New Channel OpenZAP/1:1/919999999[74cb661e-e341-11dd-acde-9740a65ca868] 2009-01-15 21:16:56 [INFO] mod_dialplan_xml.c:233 dialplan_hunt() Processing OpenZAP->919999999 in context default 2009-01-15 21:16:56 [NOTICE] switch_core_state_machine.c:168 switch_core_standard_on_execute() Hangup OpenZAP/1:1/914021339 [CS_EXECUTE] [NORMAL_CLEARING] 2009-01-15 21:16:56 [NOTICE] switch_core_session.c:960 switch_core_session_thread() Session 13 (OpenZAP/1:1/919999999) Ended 2009-01-15 21:16:56 [NOTICE] switch_core_session.c:962 switch_core_session_thread() Close Channel OpenZAP/1:1/919999999 [CS_HANGUP] 2009-01-15 21:17:03 [NOTICE] switch_channel.c:565 switch_channel_set_name() New Channel OpenZAP/1:1/919999999 [78fe36b2-e341-11dd-acde-9740a65ca868] 2009-01-15 21:17:03 [INFO] mod_dialplan_xml.c:233 dialplan_hunt() Processing OpenZAP->919999999 in context default 2009-01-15 21:17:03 [NOTICE] switch_core_state_machine.c:168 switch_core_standard_on_execute() Hangup OpenZAP/1:1/914021339 [CS_EXECUTE] [NORMAL_CLEARING] 2009-01-15 21:17:03 [NOTICE] switch_core_session.c:960 switch_core_session_thread() Session 14 (OpenZAP/1:1/919999999 ) Ended 2009-01-15 21:17:03 [NOTICE] switch_core_session.c:962 switch_core_session_thread() Close Channel OpenZAP/1:1/919999999 [CS_HANGUP] 2009-01-15 21:17:09 [NOTICE] switch_channel.c:565 switch_channel_set_name() New Channel OpenZAP/1:1/919999999 [7c60cfea-e341-11dd-acde-9740a65ca868] 2009-01-15 21:17:09 [INFO] mod_dialplan_xml.c:233 dialplan_hunt() Processing OpenZAP->919999999 in context default 2009-01-15 21:17:09 [NOTICE] switch_core_state_machine.c:168 switch_core_standard_on_execute() Hangup OpenZAP/1:1/919999999 [CS_EXECUTE] [NORMAL_CLEARING] 2009-01-15 21:17:09 [NOTICE] switch_core_session.c:960 switch_core_session_thread() Session 15 (OpenZAP/1:1/919999999 ) Ended 2009-01-15 21:17:09 [NOTICE] switch_core_session.c:962 switch_core_session_thread() Close Channel OpenZAP/1:1/919999999 [CS_HANGUP] Someone knows what's happening? Thank you. On Wed, Jan 14, 2009 at 4:42 PM, Jon Radel <jon@radel.com> wrote:
Tomás wrote:
Hi,
Anthony, I think that's my problem, when I receive a call from the PSTN, FS receive number 1 instead of my house number and I don't know why.
If you use SIP trunking or something like an ISDN-PRI line, the number the call is to is delivered as part of the signaling, which is only way to make use of many phone numbers on a single physical circuit or connection. When you put a POTS line into an FXO port, there is no such information provided, as there is only one number on the line. (Leaving aside various schemes found in some countries such as using different ring patterns to indicate different numbers having been called.)
So, as Anthony keeps pointing out, if you want FS to know the number of the line plugged into the FXO port, you have to configure it yourself.
--Jon Radel
_______________________________________________ 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