try <div>originate user/1001 1000</div><div><br><br><div class="gmail_quote">On Fri, Jun 11, 2010 at 9:00 AM, Oliver Schenk <span dir="ltr">&lt;<a href="mailto:oliver.schenk@iinet.net.au">oliver.schenk@iinet.net.au</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi All,<br>
<br>
I&#39;m making slow and steady progress through this Freeswitch world.<br>
I have a simple IVR running and I can listen to it when I call say<br>
extension 5000.<br>
I did this by testing with X-lite by registering as extension 1001.<br>
<br>
OS: Windows<br>
Version: 1.0.6<br>
<br>
The question now is I can&#39;t make FreeSwitch make a call. What is the<br>
command?<br>
I tried:<br>
<br>
originate sofia/internal/<a href="mailto:1001@10.1.1.4">1001@10.1.1.4</a> 1000<br>
<br>
This is the output I get:<br>
<br>
2010-06-11 21:54:30.682927 [NOTICE] switch_channel.c:669 New Channel<br>
sofia/inter<br>
nal/<a href="mailto:1001@10.1.1.4">1001@10.1.1.4</a> [e36dd3f5-a1ff-4c78-8e70-aca74533c068]<br>
2010-06-11 21:54:30.686927 [NOTICE] switch_channel.c:669 New Channel<br>
sofia/exter<br>
nal/<a href="mailto:0000000000@10.1.1.4">0000000000@10.1.1.4</a> [db5c5175-da5c-4568-bbad-59343222b399]<br>
2010-06-11 21:54:30.688927 [INFO] mod_dialplan_xml.c:418 Processing<br>
-&gt;1001 in co<br>
ntext public<br>
2010-06-11 21:54:30.690928 [NOTICE] switch_ivr.c:1447 Transfer<br>
sofia/external/00<br>
<a href="mailto:00000000@10.1.1.4">00000000@10.1.1.4</a> to XML[1001@default]<br>
2010-06-11 21:54:30.691928 [INFO] mod_dialplan_xml.c:418 Processing<br>
-&gt;1001 in co<br>
ntext default<br>
2010-06-11 21:54:30.693928 [INFO] mod_dptools.c:965 CHANNEL_DATA:<br>
Channel-State: [CS_EXECUTE]<br>
Channel-State-Number: [4]<br>
Channel-Name: [sofia/external/<a href="mailto:0000000000@10.1.1.4">0000000000@10.1.1.4</a>]<br>
Unique-ID: [db5c5175-da5c-4568-bbad-59343222b399]<br>
Call-Direction: [inbound]<br>
Presence-Call-Direction: [inbound]<br>
Answer-State: [ringing]<br>
Channel-Read-Codec-Name: [G7221]<br>
Channel-Read-Codec-Rate: [32000]<br>
Channel-Write-Codec-Name: [G7221]<br>
Channel-Write-Codec-Rate: [32000]<br>
Caller-Username: [0000000000]<br>
Caller-Dialplan: [XML]<br>
Caller-Caller-ID-Number: [0000000000]<br>
Caller-Network-Addr: [10.1.1.4]<br>
Caller-ANI: [0000000000]<br>
Caller-Destination-Number: [1001]<br>
Caller-Unique-ID: [db5c5175-da5c-4568-bbad-59343222b399]<br>
Caller-Source: [mod_sofia]<br>
Caller-Context: [default]<br>
Caller-RDNIS: [1001]<br>
Caller-Channel-Name: [sofia/external/<a href="mailto:0000000000@10.1.1.4">0000000000@10.1.1.4</a>]<br>
Caller-Profile-Index: [2]<br>
Caller-Profile-Created-Time: [1276264470690928]<br>
Caller-Channel-Created-Time: [1276264470686927]<br>
Caller-Channel-Answered-Time: [0]<br>
Caller-Channel-Progress-Time: [0]<br>
Caller-Channel-Progress-Media-Time: [0]<br>
Caller-Channel-Hangup-Time: [0]<br>
Caller-Channel-Transfer-Time: [0]<br>
Caller-Screen-Bit: [true]<br>
Caller-Privacy-Hide-Name: [false]<br>
Caller-Privacy-Hide-Number: [false]<br>
variable_uuid: [db5c5175-da5c-4568-bbad-59343222b399]<br>
variable_sip_local_network_addr: [10.1.1.4]<br>
variable_sip_network_ip: [10.1.1.4]<br>
variable_sip_network_port: [5070]<br>
variable_sip_received_ip: [10.1.1.4]<br>
variable_sip_received_port: [5070]<br>
variable_sip_via_protocol: [udp]<br>
variable_sip_from_user: [0000000000]<br>
variable_sip_from_uri: [<a href="mailto:0000000000@10.1.1.4">0000000000@10.1.1.4</a>]<br>
variable_sip_from_host: [10.1.1.4]<br>
variable_sip_from_user_stripped: [0000000000]<br>
variable_sip_from_tag: [1XeZvDa011mBe]<br>
variable_sofia_profile_name: [external]<br>
variable_sip_Remote-Party-ID:<br>
[&lt;<a href="mailto:sip%3A0000000000@10.1.1.4">sip:0000000000@10.1.1.4</a>&gt;;party=calling;screen=ye<br>
s;privacy=off]<br>
variable_sip_cid_type: [rpid]<br>
variable_sip_full_via: [SIP/2.0/UDP<br>
10.1.1.4:5070;rport=5070;branch=z9hG4bKv0QyQ<br>
4SSm612S]<br>
variable_sip_full_from: [&quot;&quot; &lt;<a href="mailto:sip%3A0000000000@10.1.1.4">sip:0000000000@10.1.1.4</a>&gt;;tag=1XeZvDa011mBe]<br>
variable_sip_full_to: [&lt;<a href="mailto:sip%3A1001@10.1.1.4">sip:1001@10.1.1.4</a>&gt;]<br>
variable_sip_req_user: [1001]<br>
variable_sip_req_uri: [<a href="mailto:1001@10.1.1.4">1001@10.1.1.4</a>]<br>
variable_sip_req_host: [10.1.1.4]<br>
variable_sip_to_user: [1001]<br>
variable_sip_to_uri: [<a href="mailto:1001@10.1.1.4">1001@10.1.1.4</a>]<br>
variable_sip_to_host: [10.1.1.4]<br>
variable_sip_contact_user: [mod_sofia]<br>
variable_sip_contact_port: [5070]<br>
variable_sip_contact_uri: [<a href="http://mod_sofia@10.1.1.4:5070" target="_blank">mod_sofia@10.1.1.4:5070</a>]<br>
variable_sip_contact_host: [10.1.1.4]<br>
variable_channel_name: [sofia/external/<a href="mailto:0000000000@10.1.1.4">0000000000@10.1.1.4</a>]<br>
variable_sip_call_id: [b304f1fd-f003-122d-c789-5d32389d672f]<br>
variable_sip_user_agent: [FreeSWITCH-mod_sofia/1.0.6-exported]<br>
variable_sip_via_host: [10.1.1.4]<br>
variable_sip_via_port: [5070]<br>
variable_sip_via_rport: [5070]<br>
variable_switch_r_sdp: [v=0<br>
o=FreeSWITCH 1276237680 1276237681 IN IP4 10.1.1.4<br>
s=FreeSWITCH<br>
c=IN IP4 10.1.1.4<br>
t=0 0<br>
m=audio 26790 RTP/AVP 115 107 9 0 8 3 101 13<br>
a=rtpmap:115 G7221/32000<br>
a=fmtp:115 bitrate=48000<br>
a=rtpmap:107 G7221/16000<br>
a=fmtp:107 bitrate=32000<br>
a=rtpmap:9 G722/8000<br>
a=rtpmap:0 PCMU/8000<br>
a=rtpmap:8 PCMA/8000<br>
a=rtpmap:3 GSM/8000<br>
a=rtpmap:101 telephone-event/8000<br>
a=fmtp:101 0-16<br>
a=rtpmap:13 CN/8000<br>
a=ptime:20<br>
]<br>
variable_remote_media_ip: [10.1.1.4]<br>
variable_remote_media_port: [26790]<br>
variable_sip_use_codec_name: [G7221]<br>
variable_sip_use_codec_fmtp: [bitrate=48000]<br>
variable_sip_use_codec_rate: [32000]<br>
variable_sip_use_codec_ptime: [20]<br>
variable_read_codec: [G7221]<br>
variable_read_rate: [32000]<br>
variable_write_codec: [G7221]<br>
variable_write_rate: [32000]<br>
variable_endpoint_disposition: [RECEIVED]<br>
variable_outside_call: [true]<br>
variable_max_forwards: [69]<br>
variable_current_application: [info]<br>
<br>
<br>
<br>
-ERR NO_USER_RESPONSE<br>
<br>
2010-06-11 21:54:30.693928 [NOTICE] switch_core_state_machine.c:185<br>
sofia/extern<br>
al/<a href="mailto:0000000000@10.1.1.4">0000000000@10.1.1.4</a> has executed the last dialplan instruction,<br>
hanging up.<br>
2010-06-11 21:54:30.693928 [NOTICE] switch_core_state_machine.c:187<br>
Hangup sofia<br>
/external/<a href="mailto:0000000000@10.1.1.4">0000000000@10.1.1.4</a> [CS_EXECUTE] [NORMAL_CLEARING]<br>
2010-06-11 21:54:30.695928 [NOTICE] sofia.c:4789 Hangup<br>
sofia/internal/1001@10.1<br>
.1.4 [CS_CONSUME_MEDIA] [NO_USER_RESPONSE]<br>
2010-06-11 21:54:30.696928 [NOTICE] switch_core_session.c:1182 Session 6<br>
(sofia/<br>
external/<a href="mailto:0000000000@10.1.1.4">0000000000@10.1.1.4</a>) Ended<br>
2010-06-11 21:54:30.696928 [NOTICE] switch_core_session.c:1184 Close<br>
Channel sof<br>
ia/external/<a href="mailto:0000000000@10.1.1.4">0000000000@10.1.1.4</a> [CS_DESTROY]<br>
2010-06-11 21:54:30.704928 [NOTICE] switch_core_session.c:1182 Session 5<br>
(sofia/<br>
internal/<a href="mailto:1001@10.1.1.4">1001@10.1.1.4</a>) Ended<br>
2010-06-11 21:54:30.704928 [NOTICE] switch_core_session.c:1184 Close<br>
Channel sof<br>
ia/internal/<a href="mailto:1001@10.1.1.4">1001@10.1.1.4</a> [CS_DESTROY]<br>
<br>
<br>
<br>
<br>
I somehow don&#39;t think I&#39;m doing the right thing....<br>
Pretty much all Freeswitch XML is still default except the password.<br>
<br>
<br>
Is Xlite allowed to be installed on the same computer as the freeswitch<br>
server?<br>
<br>
At this stage I&#39;m not testing with any external gateways, just trying to<br>
get something working in my internal network.<br>
So should by domain be the IP of the server (10.1.1.4) or localhost?<br>
<br>
<br>
Do I need &quot;mod_dialplan_directory? or just mod_dialplan_xml?<br>
<br>
<br>
**Confused**<br>
<br>
<br>
Thanks,<br>
<br>
<br>
Oliver<br>
<br>
<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>
</blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:+19193869900<br>
</div>