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.<br><br>So, I've put my house number in openzap.conf:<br><br>[span zt]<br>
name => OpenZAP<br>number => 919999999<br>fxo-channel => 1<br><br>And I've added an extension on the default dialplan:<br><br><extension name="public_did"><br> <condition field="destination_number" expression="^919999999$"><br>
<action application="answer"/><br> <action application="sleep" data="2000"/><br> <action application="ivr" data="demo_ivr"/><br> </condition><br>
</extension><br><br>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:<br><br>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]<br>
2009-01-15 21:16:56 [INFO] mod_dialplan_xml.c:233 dialplan_hunt() Processing OpenZAP->919999999 in context default<br>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]<br>
2009-01-15 21:16:56 [NOTICE] switch_core_session.c:960 switch_core_session_thread() Session 13 (OpenZAP/1:1/919999999) Ended<br>2009-01-15 21:16:56 [NOTICE] switch_core_session.c:962 switch_core_session_thread() Close Channel OpenZAP/1:1/919999999 [CS_HANGUP]<br>
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]<br>2009-01-15 21:17:03 [INFO] mod_dialplan_xml.c:233 dialplan_hunt() Processing OpenZAP->919999999 in context default<br>
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]<br>2009-01-15 21:17:03 [NOTICE] switch_core_session.c:960 switch_core_session_thread() Session 14 (OpenZAP/1:1/919999999 ) Ended<br>
2009-01-15 21:17:03 [NOTICE] switch_core_session.c:962 switch_core_session_thread() Close Channel OpenZAP/1:1/919999999 [CS_HANGUP]<br>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]<br>
2009-01-15 21:17:09 [INFO] mod_dialplan_xml.c:233 dialplan_hunt() Processing OpenZAP->919999999 in context default<br>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]<br>
2009-01-15 21:17:09 [NOTICE] switch_core_session.c:960 switch_core_session_thread() Session 15 (OpenZAP/1:1/919999999 ) Ended<br>2009-01-15 21:17:09 [NOTICE] switch_core_session.c:962 switch_core_session_thread() Close Channel OpenZAP/1:1/919999999 [CS_HANGUP]<br>
<br>Someone knows what's happening?<br><br>Thank you.<br><br><div class="gmail_quote">On Wed, Jan 14, 2009 at 4:42 PM, Jon Radel <span dir="ltr"><<a href="mailto:jon@radel.com">jon@radel.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">Tomás wrote:<br>
> Hi,<br>
><br>
> Anthony, I think that's my problem, when I receive a call from the PSTN,<br>
> FS receive number 1 instead of my house number and I don't know why.<br>
<br>
</div>If you use SIP trunking or something like an ISDN-PRI line, the number<br>
the call is to is delivered as part of the signaling, which is only way<br>
to make use of many phone numbers on a single physical circuit or<br>
connection. When you put a POTS line into an FXO port, there is no such<br>
information provided, as there is only one number on the line. (Leaving<br>
aside various schemes found in some countries such as using different<br>
ring patterns to indicate different numbers having been called.)<br>
<br>
So, as Anthony keeps pointing out, if you want FS to know the number of<br>
the line plugged into the FXO port, you have to configure it yourself.<br>
<font color="#888888"><br>
--Jon Radel<br>
<br>
</font><br>_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>