sipp_cmd:         sipp -sn uac 10.4.4.251 -sf uac_redirect.xml -s
30003016094191500 -trace_err -r 1 -rp 1000 -trace_msg -inf test.txt -m 1 -l
4000
scenario file:      uac_redirect.xml
FS dialplan:       public.xml
SIP trace:          trace.log


Here it is... sorry for not including at first...

T.



On Tue, Aug 25, 2009 at 12:20 AM, Anthony Minessale <
[email protected]> wrote:

> What is your exact sipp scenerio file and dialplan to this point after the
> changes you were suggested to use.
> please send both.
>
> If we have to stop what we are doing to prove this works are you prepared
> to offer your soul to help
> document and other project maintenance?
>
>
>
> --
> Anthony Minessale II
>
> FreeSWITCH http://www.freeswitch.org/
> ClueCon http://www.cluecon.com/
> Twitter: http://twitter.com/FreeSWITCH_wire
>
> AIM: anthm
> MSN:[email protected] <msn%[email protected]>
> GTALK/JABBER/PAYPAL:[email protected]<paypal%[email protected]>
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:[email protected] <sip%[email protected]>
> iax:[email protected]/888
> googletalk:[email protected]<googletalk%3aconf%[email protected]>
> pstn:213-799-1400
>
> _______________________________________________
> FreeSWITCH-users mailing list
> [email protected]
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
<!-- http://wiki.freeswitch.org/wiki/Dialplan_XML -->
<include>
  <context name="public">

   <extension name="ServiceLookup">
      <condition field="destination_number" expression="(^300030)(.*)">
         <!--action application="lookup_service_destination" data="in ${caller_id_number:6:16}, in ${caller_id_number:0:6}, in $2, in $1, in pgw01.ot.hr:5060, out red_contact, out authResult"/-->
         <action application="log" data="INFO ######################## ServiceLookup ########################\n"/>
         <action application="log" data="INFO ######################## contact = '${red_contact}' ##############\n"/>
         <action application="log" data="INFO ######################## CallerNum = '${caller_id_number:6:16}' ##########\n"/>
         <action application="log" data="INFO ######################## RADIUS auth = '${authResult}' ##########\n"/>

         <action application="execute_extension" data="doRedirect XML public"/>
        </condition>
   </extension>


   <extension name="doRedirect">
      <condition field="destination_number" expression="^doRedirect$"/>
      <condition field="${authResult}" expression="^0$|^60$">
         <action application="log" data="INFO ######################## RADIUS auth OK!!!' ##########\n"/>
         <!--action application="redirect" data="sip:${red_contact}"/-->
         <!--action application="answer"/-->
         <action application="redirect" data="sip:[email protected]:5060"/>
         <!--anti-action application="answer"/-->
         <!--anti-action application="sleep" data="2000"/-->
         <action application="hangup" data="USER_BUSY"/>
         <anti-action application="redirect" data="sip:[email protected]:5060"/>
         <anti-action application="log" data="INFO ######################## RADIUS auth NOK!! ##########\n"/>
         <!--anti-action application="respond" data="403 Forbidden"/-->
         <anti-action application="hangup" data="USER_BUSY"/>
      </condition>
   </extension>

  </context>
</include>

<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE scenario SYSTEM "sipp.dtd">


<scenario name="Basic Sipstone UAC">
  <send retrans="500">
    <![CDATA[

      INVITE sip:[servi...@[remote_ip] SIP/2.0
      Via: SIP/2.0/[transport] [local_ip];branch=[branch]
      Max-Forwards: 70
      Contact: <sip:[fiel...@[local_ip]>
      From: [field1] <sip:[fiel...@[local_ip]:[local_port]>;tag=[call_number]
      To: [service] <sip:[servi...@[remote_ip]:[remote_port]>
      Call-ID: [call_id]
      CSeq: 1 INVITE
      Content-Type: application/sdp
      Content-Length: [len]

      v=0
      o=user1 53655765 2353687637 IN IP[local_ip_type] [local_ip]
      s=-
      c=IN IP[media_ip_type] [media_ip]
      t=0 0
      m=audio [media_port] RTP/AVP 0
      a=rtpmap:0 PCMU/8000

    ]]>
  </send>

  <recv response="100"
        optional="true">
  </recv>


  <recv response="302" rtd="true">
  </recv>

  <send>
    <![CDATA[

      ACK sip:[servi...@[remote_ip]:[remote_port] SIP/2.0
      Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch-3]
      From: [field1] <sip:[fiel...@1[local_ip]:[local_port]>;tag=[call_number]
      To: [service] <sip:[servi...@[remote_ip]:[remote_port]>[peer_tag_param]
      Call-ID: [call_id]
      CSeq: 1 ACK
      Max-Forwards: 70
      Content-Length: 0

    ]]>
  </send>

  <!-- definition of the response time repartition table (unit is ms)   -->
  <ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>

  <!-- definition of the call length repartition table (unit is ms)     -->
  <CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>

</scenario>


freeswi...@l01sipindir1> recv 530 bytes from udp/[10.4.4.252]:5060 at 22:23:46.936390:
   ------------------------------------------------------------------------
   INVITE sip:[email protected] SIP/2.0
   Via: SIP/2.0/UDP 10.4.4.252;branch=z9hG4bK-7085-1-0
   Max-Forwards: 70
   Contact: <sip:[email protected]>
   From: 22222238515000403 <sip:[email protected]:5060>;tag=1
   To: 30003016094191500 <sip:[email protected]:5060>
   Call-ID: [email protected]
   CSeq: 1 INVITE
   Content-Type: application/sdp
   Content-Length:   131
   
   v=0
   o=user1 53655765 2353687637 IN IP4 10.4.4.252
   s=-
   c=IN IP4 10.4.4.252
   t=0 0
   m=audio 6000 RTP/AVP 0
   a=rtpmap:0 PCMU/8000
   ------------------------------------------------------------------------
send 325 bytes to udp/[10.4.4.252]:5060 at 22:23:46.936696:
   ------------------------------------------------------------------------
   SIP/2.0 100 Trying
   Via: SIP/2.0/UDP 10.4.4.252;branch=z9hG4bK-7085-1-0
   From: 22222238515000403 <sip:[email protected]:5060>;tag=1
   To: 30003016094191500 <sip:[email protected]:5060>
   Call-ID: [email protected]
   CSeq: 1 INVITE
   User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-exported
   Content-Length: 0
   
   ------------------------------------------------------------------------
2009-08-25 00:23:46.933267 [NOTICE] switch_channel.c:602 New Channel sofia/internal/[email protected]:5060 [ca637800-90fc-11de-a4ab-a79bb0a23ac4]
2009-08-25 00:23:46.937275 [INFO] mod_dialplan_xml.c:315 Processing 22222238515000403->30003016094191500 in context public
2009-08-25 00:23:46.937275 [INFO] mod_dptools.c:932 ######################## ServiceLookup ########################\n
2009-08-25 00:23:46.937275 [INFO] mod_dptools.c:932 ######################## contact = '' ##############\n
2009-08-25 00:23:46.937275 [INFO] mod_dptools.c:932 ######################## CallerNum = '38515000403' ##########\n
2009-08-25 00:23:46.937275 [INFO] mod_dptools.c:932 ######################## RADIUS auth = '' ##########\n
2009-08-25 00:23:46.937275 [INFO] mod_dialplan_xml.c:315 Processing 22222238515000403->doRedirect in context public
2009-08-25 00:23:46.937275 [NOTICE] switch_core_session.c:1576 Execute redirect(sip:[email protected]:5060)
send 718 bytes to udp/[10.4.4.252]:5060 at 22:23:46.940994:
   ------------------------------------------------------------------------
   SIP/2.0 302 Moved Temporarily
   Via: SIP/2.0/UDP 10.4.4.252;branch=z9hG4bK-7085-1-0
   From: 22222238515000403 <sip:[email protected]:5060>;tag=1
   To: 30003016094191500 <sip:[email protected]:5060>;tag=DrjZmc3cBS84a
   Call-ID: [email protected]
   CSeq: 1 INVITE
   Contact: <sip:[email protected]:5060>
   User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-exported
   Accept: application/sdp
   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER, INFO, PUBLISH
   Supported: timer, precondition, path, replaces
   Allow-Events: talk, presence, dialog, call-info, sla, include-session-description, presence.winfo, message-summary, refer
   Content-Length: 0
   
   ------------------------------------------------------------------------
recv 342 bytes from udp/[10.4.4.252]:5060 at 22:23:46.941223:
   ------------------------------------------------------------------------
   ACK sip:[email protected]:5060 SIP/2.0
   Via: SIP/2.0/UDP 10.4.4.252:5060;branch=z9hG4bK-7085-1-0
   From: 22222238515000403 <sip:[email protected]:5060>;tag=1
   To: 30003016094191500 <sip:[email protected]:5060>;tag=DrjZmc3cBS84a
   Call-ID: [email protected]
   CSeq: 1 ACK
   Max-Forwards: 70
   Content-Length: 0
   
   ------------------------------------------------------------------------
2009-08-25 00:23:46.937275 [NOTICE] sofia.c:3863 Hangup sofia/internal/[email protected]:5060 [CS_EXECUTE] [NORMAL_UNSPECIFIED]
2009-08-25 00:23:46.937275 [NOTICE] switch_core_session.c:1086 Session 19 (sofia/internal/[email protected]:5060) Ended
2009-08-25 00:23:46.937275 [NOTICE] switch_core_session.c:1088 Close Channel sofia/internal/[email protected]:5060 [CS_DESTROY]
send 718 bytes to udp/[10.4.4.252]:5060 at 22:23:47.441077:
   ------------------------------------------------------------------------
   SIP/2.0 302 Moved Temporarily
   Via: SIP/2.0/UDP 10.4.4.252;branch=z9hG4bK-7085-1-0
   From: 22222238515000403 <sip:[email protected]:5060>;tag=1
   To: 30003016094191500 <sip:[email protected]:5060>;tag=DrjZmc3cBS84a
   Call-ID: [email protected]
   CSeq: 1 INVITE
   Contact: <sip:[email protected]:5060>
   User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-exported
   Accept: application/sdp
   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER, INFO, PUBLISH
   Supported: timer, precondition, path, replaces
   Allow-Events: talk, presence, dialog, call-info, sla, include-session-description, presence.winfo, message-summary, refer
   Content-Length: 0
   
   ------------------------------------------------------------------------
send 718 bytes to udp/[10.4.4.252]:5060 at 22:23:48.445044:
   ------------------------------------------------------------------------
   SIP/2.0 302 Moved Temporarily
   Via: SIP/2.0/UDP 10.4.4.252;branch=z9hG4bK-7085-1-0
   From: 22222238515000403 <sip:[email protected]:5060>;tag=1
   To: 30003016094191500 <sip:[email protected]:5060>;tag=DrjZmc3cBS84a
   Call-ID: [email protected]
   CSeq: 1 INVITE
   Contact: <sip:[email protected]:5060>
   User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-exported
   Accept: application/sdp
   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER, INFO, PUBLISH
   Supported: timer, precondition, path, replaces
   Allow-Events: talk, presence, dialog, call-info, sla, include-session-description, presence.winfo, message-summary, refer
   Content-Length: 0
   

_______________________________________________
FreeSWITCH-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to