Thank you very much for your help, I&#39;ve realized I was specting to receive my house phone number having a POTS line and that&#39;s not possible.<br><br>So, I&#39;ve put my house number in openzap.conf:<br><br>[span zt]<br>
name =&gt; OpenZAP<br>number =&gt; 919999999<br>fxo-channel =&gt; 1<br><br>And I&#39;ve added an extension on the default dialplan:<br><br>&lt;extension name=&quot;public_did&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;condition field=&quot;destination_number&quot; expression=&quot;^919999999$&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;answer&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;sleep&quot; data=&quot;2000&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;ivr&quot; data=&quot;demo_ivr&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/condition&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;/extension&gt;<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-&gt;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&nbsp; [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&nbsp; [CS_HANGUP]<br>
2009-01-15 21:17:03 [NOTICE] switch_channel.c:565 switch_channel_set_name() New Channel OpenZAP/1:1/919999999&nbsp; [78fe36b2-e341-11dd-acde-9740a65ca868]<br>2009-01-15 21:17:03 [INFO] mod_dialplan_xml.c:233 dialplan_hunt() Processing OpenZAP-&gt;919999999&nbsp; 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&nbsp; [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&nbsp; [CS_HANGUP]<br>2009-01-15 21:17:09 [NOTICE] switch_channel.c:565 switch_channel_set_name() New Channel OpenZAP/1:1/919999999&nbsp; [7c60cfea-e341-11dd-acde-9740a65ca868]<br>
2009-01-15 21:17:09 [INFO] mod_dialplan_xml.c:233 dialplan_hunt() Processing OpenZAP-&gt;919999999&nbsp; 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&nbsp; [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&nbsp; [CS_HANGUP]<br>
<br>Someone knows what&#39;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">&lt;<a href="mailto:jon@radel.com">jon@radel.com</a>&gt;</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>
&gt; Hi,<br>
&gt;<br>
&gt; Anthony, I think that&#39;s my problem, when I receive a call from the PSTN,<br>
&gt; FS receive number 1 instead of my house number and I don&#39;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. &nbsp;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. &nbsp;(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>