<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>ACK <a href="sip:[service]@[remote_ip]:[remote_port]">sip:[service]@[remote_ip]:[remote_port]</a> SIP/2.0</div><div>Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]</div><div>From: sipp &lt;<a href="sip:sipp@[local_ip]:[local_port]">sip:sipp@[local_ip]:[local_port]</a>&gt;;tag=[call_number]</div><div>To: sut &lt;<a href="sip:[service]@[remote_ip]:[remote_port]">sip:[service]@[remote_ip]:[remote_port]</a>&gt;[peer_tag_param]</div><div>Call-ID: [call_id]</div><div>CSeq: 1 ACK</div><div>Contact: <a href="sip:sipp@[local_ip]:[local_port]">sip:sipp@[local_ip]:[local_port]</a></div><div>Max-Forwards: 70</div><div>Subject: Performance Test</div><div>Content-Length: 0</div><div><br></div><div>Use that.. your scenario has some hard coded IP's in the fields that shouldn't be there.</div><div><br></div><div>/b</div><div><br></div><div><div>On Aug 24, 2009, at 3:37 PM, Tihomir Culjaga wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hello Brian,<br><br>it doesn't work .. tried this today as well:<br><br><br><br>freeswitch@l01sipindir1&gt; recv 573 bytes from udp/[10.4.4.252]:5060 at 20:28:09.367300:<br>&nbsp;&nbsp; ------------------------------------------------------------------------<br>
&nbsp;&nbsp; INVITE <a href="mailto:sip%3A30003016094191500@10.4.4.251">sip:30003016094191500@10.4.4.251</a> SIP/2.0<br>&nbsp;&nbsp; Via: SIP/2.0/UDP 10.4.4.252;branch=z9hG4bK-7019-1-0;rport<br>&nbsp;&nbsp; Max-Forwards: 70<br>&nbsp;&nbsp; Contact: &lt;<a href="mailto:sip%3A22222238515000403@10.4.4.252">sip:22222238515000403@10.4.4.252</a>&gt;<br>
&nbsp;&nbsp; To: "30003016094191500"&lt;<a href="mailto:sip%3A30003016094191500@10.4.4.251">sip:30003016094191500@10.4.4.251</a>&gt;<br>&nbsp;&nbsp; From: "22222238515000403"&lt;<a href="mailto:sip%3A22222238515000403@10.4.4.251">sip:22222238515000403@10.4.4.251</a>&gt;;tag=1<br>
&nbsp;&nbsp; Call-ID: <a href="mailto:1-7019@10.4.4.252">1-7019@10.4.4.252</a><br>&nbsp;&nbsp; CSeq: 1 INVITE<br>&nbsp;&nbsp; Max-Forwards: 70<br>&nbsp;&nbsp; Subject: Performance Test<br>&nbsp;&nbsp; Content-Type: application/sdp<br>&nbsp;&nbsp; Content-Length:&nbsp;&nbsp; 131<br>&nbsp;&nbsp; <br>&nbsp;&nbsp; v=0<br>
&nbsp;&nbsp; o=user1 53655765 2353687637 IN IP4 10.4.4.252<br>&nbsp;&nbsp; s=-<br>&nbsp;&nbsp; c=IN IP4 10.4.4.252<br>&nbsp;&nbsp; t=0 0<br>&nbsp;&nbsp; m=audio 6000 RTP/AVP 0<br>&nbsp;&nbsp; a=rtpmap:0 PCMU/8000<br>&nbsp;&nbsp; ------------------------------------------------------------------------<br>
send 328 bytes to udp/[10.4.4.252]:5060 at 20:28:09.367634:<br>&nbsp;&nbsp; ------------------------------------------------------------------------<br>&nbsp;&nbsp; SIP/2.0 100 Trying<br>&nbsp;&nbsp; Via: SIP/2.0/UDP 10.4.4.252;branch=z9hG4bK-7019-1-0;rport=5060<br>
&nbsp;&nbsp; From: "22222238515000403"&lt;<a href="mailto:sip%3A22222238515000403@10.4.4.251">sip:22222238515000403@10.4.4.251</a>&gt;;tag=1<br>&nbsp;&nbsp; To: "30003016094191500"&lt;<a href="mailto:sip%3A30003016094191500@10.4.4.251">sip:30003016094191500@10.4.4.251</a>&gt;<br>
&nbsp;&nbsp; Call-ID: <a href="mailto:1-7019@10.4.4.252">1-7019@10.4.4.252</a><br>&nbsp;&nbsp; CSeq: 1 INVITE<br>&nbsp;&nbsp; User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-exported<br>&nbsp;&nbsp; Content-Length: 0<br>&nbsp;&nbsp; <br>&nbsp;&nbsp; ------------------------------------------------------------------------<br>
send 722 bytes to udp/[10.4.4.252]:5060 at 20:28:09.371759:<br>&nbsp;&nbsp; ------------------------------------------------------------------------<br>&nbsp;&nbsp; SIP/2.0 302 Moved Temporarily<br>&nbsp;&nbsp; Via: SIP/2.0/UDP 10.4.4.252;branch=z9hG4bK-7019-1-0;rport=5060<br>
&nbsp;&nbsp; From: "22222238515000403"&lt;<a href="mailto:sip%3A22222238515000403@10.4.4.251">sip:22222238515000403@10.4.4.251</a>&gt;;tag=1<br>&nbsp;&nbsp; To: "30003016094191500" &lt;<a href="mailto:sip%3A30003016094191500@10.4.4.251">sip:30003016094191500@10.4.4.251</a>&gt;;tag=ygQBtp6QpKtcD<br>
&nbsp;&nbsp; Call-ID: <a href="mailto:1-7019@10.4.4.252">1-7019@10.4.4.252</a><br>&nbsp;&nbsp; CSeq: 1 INVITE<br>&nbsp;&nbsp; Contact: &lt;<a href="http://sip:12345616094191500@pgw01.ot.hr:5060/">sip:12345616094191500@pgw01.ot.hr:5060</a>&gt;<br>&nbsp;&nbsp; User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-exported<br>
&nbsp;&nbsp; Accept: application/sdp<br>&nbsp;&nbsp; Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER, INFO, PUBLISH<br>&nbsp;&nbsp; Supported: timer, precondition, path, replaces<br>&nbsp;&nbsp; Allow-Events: talk, presence, dialog, call-info, sla, include-session-description, presence.winfo, message-summary, refer<br>
&nbsp;&nbsp; Content-Length: 0<br>&nbsp;&nbsp; <br>&nbsp;&nbsp; ------------------------------------------------------------------------<br>recv 401 bytes from udp/[10.4.4.252]:5060 at 20:28:09.371989:<br>&nbsp;&nbsp; ------------------------------------------------------------------------<br>
&nbsp;&nbsp; ACK <a href="http://sip:30003016094191500@10.4.4.251:5060/">sip:30003016094191500@10.4.4.251:5060</a> SIP/2.0<br>&nbsp;&nbsp; Via: SIP/2.0/UDP 10.4.4.252:5060;branch=z9hG4bK-7019-1-3;rport<br>&nbsp;&nbsp; To: "30003016094191500"&lt;<a href="mailto:sip%3A30003016094191500@10.4.4.251">sip:30003016094191500@10.4.4.251</a>&gt;;tag=ygQBtp6QpKtcD<br>
&nbsp;&nbsp; From: "22222238515000403"&lt;<a href="mailto:sip%3A22222238515000403@10.4.4.251">sip:22222238515000403@10.4.4.251</a>&gt;;tag=1<br>&nbsp;&nbsp; Call-ID: <a href="mailto:1-7019@10.4.4.252">1-7019@10.4.4.252</a><br>&nbsp;&nbsp; CSeq: 1 ACK<br>
&nbsp;&nbsp; Contact: <a href="http://sip:sipp@10.4.4.252:5060/">sip:sipp@10.4.4.252:5060</a><br>&nbsp;&nbsp; Max-Forwards: 70<br>&nbsp;&nbsp; Subject: Performance Test<br>&nbsp;&nbsp; Content-Length: 0<br>&nbsp;&nbsp; <br>&nbsp;&nbsp; ------------------------------------------------------------------------<br>
send 722 bytes to udp/[10.4.4.252]:5060 at 20:28:09.873045:<br>&nbsp;&nbsp; ------------------------------------------------------------------------<br>&nbsp;&nbsp; SIP/2.0 302 Moved Temporarily<br>&nbsp;&nbsp; Via: SIP/2.0/UDP 10.4.4.252;branch=z9hG4bK-7019-1-0;rport=5060<br>
&nbsp;&nbsp; From: "22222238515000403"&lt;<a href="mailto:sip%3A22222238515000403@10.4.4.251">sip:22222238515000403@10.4.4.251</a>&gt;;tag=1<br>&nbsp;&nbsp; To: "30003016094191500" &lt;<a href="mailto:sip%3A30003016094191500@10.4.4.251">sip:30003016094191500@10.4.4.251</a>&gt;;tag=ygQBtp6QpKtcD<br>
&nbsp;&nbsp; Call-ID: <a href="mailto:1-7019@10.4.4.252">1-7019@10.4.4.252</a><br>&nbsp;&nbsp; CSeq: 1 INVITE<br>&nbsp;&nbsp; Contact: &lt;<a href="http://sip:12345616094191500@pgw01.ot.hr:5060/">sip:12345616094191500@pgw01.ot.hr:5060</a>&gt;<br>&nbsp;&nbsp; User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-exported<br>
&nbsp;&nbsp; Accept: application/sdp<br>&nbsp;&nbsp; Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER, INFO, PUBLISH<br>&nbsp;&nbsp; Supported: timer, precondition, path, replaces<br>&nbsp;&nbsp; Allow-Events: talk, presence, dialog, call-info, sla, include-session-description, presence.winfo, message-summary, refer<br>
&nbsp;&nbsp; Content-Length: 0<br><div class="gmail_quote"><div><br><br><br>This thing is driving me crazy, pls help.<br><br>T.<br><br>&nbsp;</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>---------- Forwarded message ----------<br>From:&nbsp;Brian West &lt;<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a>&gt;<br>To:&nbsp;<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
Date:&nbsp;Mon, 24 Aug 2009 14:15:40 -0500<br>Subject:&nbsp;Re: [Freeswitch-users] SIPp issues - seems FS doesn't understand ACK message<br>In your scenario you need to add [peer_tag_param] at the end of the to on the Ack.<br>
<br>
/b<br>
<br>
On Aug 24, 2009, at 2:03 PM, Tihomir Culjaga wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
 &nbsp; ------------------------------------------------------------------------<br>
recv 383 bytes from udp/[10.4.4.252]:5060 at 16:44:26.535809:<br>
 &nbsp; ------------------------------------------------------------------------<br>
 &nbsp; ACK <a href="http://sip:30003016094191500@10.4.4.251:5060/" target="_blank">sip:30003016094191500@10.4.4.251:5060</a> SIP/2.0<br>
 &nbsp; Via: SIP/2.0/UDP 10.4.4.252:5060;branch=z9hG4bK-6962-1-3;rport<br>
 &nbsp; To: "30003016094191500"&lt;<a href="mailto:sip%3A30003016094191500@10.4.4.251" target="_blank">sip:30003016094191500@10.4.4.251</a>&gt;<br>
 &nbsp; From: "22222238515000403"&lt;<a href="mailto:sip%3A22222238515000403@10.4.4.251" target="_blank">sip:22222238515000403@10.4.4.251</a>&gt;;tag=1<br>
 &nbsp; Call-ID: <a href="mailto:1-6962@10.4.4.252" target="_blank">1-6962@10.4.4.252</a><br>
 &nbsp; CSeq: 1 ACK<br>
 &nbsp; Contact: <a href="http://sip:sipp@10.4.4.252:5060/" target="_blank">sip:sipp@10.4.4.252:5060</a><br>
 &nbsp; Max-Forwards: 70<br>
 &nbsp; Subject: Performance Test<br>
 &nbsp; Content-Length: 0<br>
</blockquote>
<br>
<br>
<br>
<br><br>---------- Forwarded message ----------<br>From:&nbsp;"Jerry Richards" &lt;<a href="mailto:jerry.richards@teotech.com">jerry.richards@teotech.com</a>&gt;<br>To:&nbsp;&lt;<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>&gt;<br>
Date:&nbsp;Mon, 24 Aug 2009 12:24:42 -0700<br>Subject:&nbsp;[Freeswitch-users] Cannot create outgoing channel type [error] cause: [FACILITY_NOT_SUBSCRIBED]<br>Hello All,<br>
<br>
I am a Freeswitch Newbie and bringing up Freeswitch on my Windows XP machine<br>
for the first time using the Getting Started Guide. &nbsp;I can register three<br>
lines (1000, 1001, and 1002), but when I attempt to call one phone to the<br>
other I hear the operator say:<br>
<br>
"The person at extension 1000 is not available..."<br>
<br>
Also, the Freeswitch log shows:<br>
<br>
Cannot create outgoing channel type [error] cause:<br>
[FACILITY_NOT_SUBSCRIBED]Cannot create outgoing channel type [user] cause:<br>
[FACILITY_NOT_SUBSCRIBED]<br>
<br>
Does anyone know why I get this error?<br>
<br>
Best Regards,<br>
Jerry<br>
<br>
<br>
<br>
<br><br>---------- Forwarded message ----------<br>From:&nbsp;Brian West &lt;<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a>&gt;<br>To:&nbsp;<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
Date:&nbsp;Mon, 24 Aug 2009 14:33:22 -0500<br>Subject:&nbsp;Re: [Freeswitch-users] Cannot create outgoing channel type [error] cause: [FACILITY_NOT_SUBSCRIBED]<br>Are you trying to test everything on the same machine?<br>
<br>
/b<br>
<br>
On Aug 24, 2009, at 2:24 PM, Jerry Richards wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello All,<br>
<br>
I am a Freeswitch Newbie and bringing up Freeswitch on my Windows XP machine<br>
for the first time using the Getting Started Guide. &nbsp;I can register three<br>
lines (1000, 1001, and 1002), but when I attempt to call one phone to the<br>
other I hear the operator say:<br>
<br>
"The person at extension 1000 is not available..."<br>
<br>
Also, the Freeswitch log shows:<br>
<br>
Cannot create outgoing channel type [error] cause:<br>
[FACILITY_NOT_SUBSCRIBED]Cannot create outgoing channel type [user] cause:<br>
[FACILITY_NOT_SUBSCRIBED]<br>
<br>
Does anyone know why I get this error?<br>
<br>
Best Regards,<br>
Jerry<br>
</blockquote>
<br>
<br>
<br>
<br><br>---------- Forwarded message ----------<br>From:&nbsp;Michael Jerris &lt;<a href="mailto:mike@jerris.com">mike@jerris.com</a>&gt;<br>To:&nbsp;<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
Date:&nbsp;Mon, 24 Aug 2009 15:44:18 -0400<br>Subject:&nbsp;Re: [Freeswitch-users] Problem with cnam.js?<br><div style="">Every page on the wiki should be editable. &nbsp;If you don't already have an account, go to:<div><br></div><div>
<a href="http://wiki.freeswitch.org/index.php?title=Special:UserLogin&amp;type=signup" target="_blank">http://wiki.freeswitch.org/index.php?title=Special:UserLogin&amp;type=signup</a></div><div><br></div><div>Mike</div><div>
<br><div><div>On Aug 22, 2009, at 12:42 PM, Lars Zeb wrote:</div><br><blockquote type="cite"><div link="blue" vlink="purple" lang="EN-US"><div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;">
I think there’s something wrong with the script at<span>&nbsp;</span><a href="http://wiki.freeswitch.org/wiki/Examples_cnam.js" style="color: blue; text-decoration: underline;" target="_blank">http://wiki.freeswitch.org/wiki/Examples_cnam.js</a>.</div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;">&nbsp;</div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;">If you use it as is, it displays “Content-type: text/html” for the effective_caller_id_name. In<span>&nbsp;</span><a href="http://cnam.pl/" style="color: blue; text-decoration: underline;" target="_blank">cnam.pl</a>, the first two output lines are generated by:</div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;">&nbsp;</div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;">if (!$debug) {print "Content-type: text/html\n\n";}</div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;">&nbsp;</div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;">with the actual name in the third line.</div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;">&nbsp;</div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;">So I changed:</div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;">
<span style="font-family: 'Times New Roman',serif;">&nbsp;</span></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;"><span style="font-size: 9pt; font-family: 'Courier New';">fd.open("read");</span></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;"><span style="font-size: 9pt; font-family: 'Courier New';">buff = fd.readln();</span></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;">
<span style="font-size: 9pt; font-family: 'Courier New';">&nbsp;</span></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;"><span style="font-size: 9pt; font-family: 'Courier New';">if(buff) {</span></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;"><span style="font-size: 9pt; font-family: 'Courier New';">&nbsp;&nbsp; logger(buff, "info");</span></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;">
<span style="font-size: 9pt; font-family: 'Courier New';">&nbsp;&nbsp; session.setVariable("effective_caller_id_name", buff);</span></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;">
<span style="font-size: 9pt; font-family: 'Courier New';">}</span></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;"><span style="font-size: 9pt; font-family: 'Courier New';">&nbsp;</span></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;">To:</div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;"><span style="font-size: 9pt; font-family: 'Courier New';">&nbsp;</span></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;"><span style="font-size: 9pt; font-family: 'Courier New';">fd.open("read");</span></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;">
<span style="font-size: 9pt; font-family: 'Courier New';">buff = fd.readAll();</span></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;"><span style="font-size: 9pt; font-family: 'Courier New';">&nbsp;</span></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;"><span style="font-size: 9pt; font-family: 'Courier New';">if(buff[2]) {</span></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;">
<span style="font-size: 9pt; font-family: 'Courier New';">&nbsp;&nbsp; logger(buff, "info");</span></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;"><span style="font-size: 9pt; font-family: 'Courier New';">&nbsp;&nbsp; session.setVariable("effective_caller_id_name", buff[2]);</span></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;"><span style="font-size: 9pt; font-family: 'Courier New';">}</span></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;">
<span style="font-size: 9pt; font-family: 'Courier New';">&nbsp;</span></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;">Or remove the print statement from<span>&nbsp;</span><a href="http://cnam.pl/" style="color: blue; text-decoration: underline;" target="_blank">cnam.pl</a>.</div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;">&nbsp;</div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;">Sorry for the code, but the page was not editable.</div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;">&nbsp;</div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;">Lars</div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;">
<span style="font-family: 'Times New Roman',serif;">&nbsp;</span></div></div>_______________________________________________<br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" style="color: blue; text-decoration: underline;" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" style="color: blue; text-decoration: underline;" 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/" style="color: blue; text-decoration: underline;" target="_blank">http://www.freeswitch.org</a><br></div></blockquote></div><br></div></div><br><br>---------- Forwarded message ----------<br>
From:&nbsp;Michael Jerris &lt;<a href="mailto:mike@jerris.com">mike@jerris.com</a>&gt;<br>To:&nbsp;<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>Date:&nbsp;Mon, 24 Aug 2009 15:46:58 -0400<br>
Subject:&nbsp;Re: [Freeswitch-users] Yet another question about A500 + FS<br>Do you have an answer in the dialplan for that extension? &nbsp;Also, check out the ignore_early_media variable.<br>
<br>
Mike<br>
<br>
On Aug 23, 2009, at 2:21 AM, Vassil Panayotov wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
I managed to get our A500 running with FreeSWITCH 1.0.4 stable using wanpipe 3.4.4 drivers. But now I have another problem...<br>
I want to originate calls through event socket, and I only want to receive ANSWERED(+OK) reply when the user actually answers.<br>
<br>
Now the situation is:<br>
<br>
====================================<br>
originate openzap/1/a/123456 023<br>
2009-08-23 08:44:06.458166 [WARNING] ozmod_ss7_boost.c:319 TX EVENT: CALL_START:(80) [w1g1] CSid=2 Seq=2 Cn=[FreeSWITCH] Cd=[123456] Ci=[0000000000]<br>
2009-08-23 08:44:06.729889 [WARNING] ozmod_ss7_boost.c:1141 RX EVENT (N): CALL_START_ACK:(81) [w1g1] Rc=0 CSid=2 Seq=4<br>
2009-08-23 08:44:06.731279 [NOTICE] switch_channel.c:602 New Channel OpenZAP/1:1/123456 [f8fca2be-8fa7-11de-9076-511e29dfc082]<br>
2009-08-23 08:44:06.740256 [NOTICE] mod_openzap.c:1522 Pre-Answer OpenZAP/1:1/123456!<br>
API CALL [originate(openzap/1/a/123456 023)] output:<br>
+OK f8fca2be-8fa7-11de-9076-511e29dfc082<br>
<br>
2009-08-23 08:44:06.741332 [NOTICE] switch_ivr.c:1349 Transfer OpenZAP/1:1/123456 to XML[023@default]<br>
freeswitch@emo-voip&gt; 2009-08-23 08:44:06.743475 [INFO] mod_dialplan_xml.c:315 Processing FreeSWITCH-&gt;023 in context default<br>
2009-08-23 08:44:06.748816 [NOTICE] mod_dptools.c:649 Channel [OpenZAP/1:1/123456] has been answered<br>
2009-08-23 08:44:20.206010 [WARNING] ozmod_ss7_boost.c:1141 RX EVENT (N): CALL_ANSWERED:(84) [w1g1] Rc=0 CSid=2 Seq=5<br>
2009-08-23 08:44:28.903602 [WARNING] ozmod_ss7_boost.c:1141 RX EVENT (N): CALL_STOPPED:(85) [w1g1] Rc=16 CSid=2 Seq=6<br>
2009-08-23 08:44:28.903602 [NOTICE] mod_openzap.c:1500 Hangup OpenZAP/1:1/123456 [CS_EXECUTE] [NORMAL_CLEARING]<br>
2009-08-23 08:44:28.903602 [WARNING] ss7_boost_client.c:218 TX EVENT (N): CALL_STOPPED_ACK:(86) [w1g1] Rc=0 CSid=0 Seq=3<br>
2009-08-23 08:44:30.24814 [NOTICE] switch_core_session.c:1086 Session 2 (OpenZAP/1:1/123456) Ended<br>
2009-08-23 08:44:30.24814 [NOTICE] switch_core_session.c:1088 Close Channel OpenZAP/1:1/123456 [CS_DESTROY]<br>
====================================<br>
<br>
Extension 023 is an IVR. As you can see FreeSWITCH answers the call (2009-08-23 08:44:06.748816 [NOTICE] mod_dptools.c:649 Channel [OpenZAP/1:1/123456] has been answered) 20 seconds before user actually pick up the phone (2009-08-23 08:44:20.206010 [WARNING] ozmod_ss7_boost.c:1141 RX EVENT (N): CALL_ANSWERED:(84) [w1g1] Rc=0 CSid=2 Seq=5).<br>

<br>
So Sangoma drivers/daemons report the events correctly.<br>
How can I set FreeSWITCH to answer after receiving RX EVENT (N): CALL_ANSWERED from the driver?<br>
<br>
Thank you,<br>
V. Panayotov<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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-" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-</a>users<br>
<a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
</blockquote>
<br>
<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>
<br></blockquote></div><br>
_______________________________________________<br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>http://www.freeswitch.org<br></blockquote></div><br></body></html>