[Freeswitch-users] Trunk Issue

William Moore bmoore at statirasystems.com
Wed Jun 22 22:27:25 MSD 2011


And what sophiatrace reports from my soft phone device 502 calling 
number 7032203446. When I call from outside in nothing is shown on the 
trace, so I am not sure what that means.

    =~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2011.06.22 14:22:40
    =~=~=~=~=~=~=~=~=~=~=~=
    send 695 bytes to udp/[192.168.1.11]:42615 at 20:28:07.684442:
       
    ------------------------------------------------------------------------
        OPTIONS sip:502 at 192.168.1.11:42615;ob SIP/2.0
        Via: SIP/2.0/UDP 192.168.1.254;rport;branch=z9hG4bK4Hyp1U0Djc12F
        Max-Forwards: 70
        From: <sip:mod_sofia at 192.168.1.254:5060>;tag=trm8SvQyg57ga
        To: <sip:502 at phone.statirasystems.com>
        Call-ID: fb2b0eb4-17b0-122f-85bc-0002a5ed0817
        CSeq: 14049563 OPTIONS
        Contact: <sip:mod_sofia at 192.168.1.254:5060>
        User-Agent: Configured by 2600hz!
        Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO,
    REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
        Supported: precondition, path, replaces
        Allow-Events: talk, hold, presence, dialog, line-seize,
    call-info, sla, include-session-description, presence.winfo,
    message-summary, refer
        Content-Length: 0

       
    ------------------------------------------------------------------------
    recv 1188 bytes from udp/[192.168.1.11]:42615 at 20:28:07.755356:
       
    ------------------------------------------------------------------------
        SIP/2.0 200 OK
        Via: SIP/2.0/UDP
    192.168.1.254;rport=5060;received=192.168.1.254;branch=z9hG4bK4Hyp1U0Djc12F
        Call-ID: fb2b0eb4-17b0-122f-85bc-0002a5ed0817
        From: <sip:mod_sofia at 192.168.1.254>;tag=trm8SvQyg57ga
        To: <sip:502 at phone.statirasystems.com>;tag=z9hG4bK4Hyp1U0Djc12F
        CSeq: 14049563 OPTIONS
        Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE,
    NOTIFY, REFER, MESSAGE, OPTIONS
        Accept: application/sdp, application/pidf+xml,
    application/xpidf+xml, application/simple-message-summary,
    message/sipfrag;version=2.0, application/im-iscomposing+xml, text/plain
        Supported: replaces, 100rel, timer, norefersub
        Allow-Events: presence, message-summary, refer
        User-Agent: CSipSimple r944 / inc-8
        Content-Type: application/sdp
        Content-Length:   427

        v=0
        o=- 3517756265 3517756265 IN IP4 192.168.1.11
        s=pjmedia
        c=IN IP4 192.168.1.11
        t=0 0
        m=audio 49493 RTP/AVP 9 104 103 105 102 0 8 101
        a=rtcp:40021 IN IP4 192.168.1.11
        a=rtpmap:9 G722/8000
        a=rtpmap:104 speex/32000
        a=rtpmap:103 speex/16000
        a=rtpmap:105 iLBC/8000
        a=fmtp:105 mode=30
        a=rtpmap:102 speex/8000
        a=rtpmap:0 PCMU/8000
        a=rtpmap:8 PCMA/8000
        a=sendrecv
        a=rtpmap:101 telephone-event/8000
        a=fmtp:101 0-15
       
    ------------------------------------------------------------------------
    2011-06-22 13:28:15.458709 [DEBUG] switch_nat.c:510 mapped public
    port 5060 protocol UDP to localport 5060
    2011-06-22 13:28:15.574709 [DEBUG] switch_nat.c:510 mapped public
    port 5060 protocol TCP to localport 5060
    2011-06-22 13:28:15.691704 [DEBUG] switch_nat.c:510 mapped public
    port 5070 protocol UDP to localport 5070
    2011-06-22 13:28:15.808694 [DEBUG] switch_nat.c:510 mapped public
    port 5070 protocol TCP to localport 5070
    2011-06-22 13:28:15.925687 [DEBUG] switch_nat.c:510 mapped public
    port 5080 protocol UDP to localport 5080
    2011-06-22 13:28:16.040679 [DEBUG] switch_nat.c:510 mapped public
    port 5080 protocol TCP to localport 5080
    recv 1346 bytes from udp/[192.168.1.11]:42615 at 20:28:31.536924:
       
    ------------------------------------------------------------------------
        INVITE sip:7032203446 at phone.statirasystems.com SIP/2.0
        Via: SIP/2.0/UDP
    192.168.1.11:42615;rport;branch=z9hG4bKPjYU1YgUOgEnTrbjl09SB0FLBTUw3q.4kD
        Max-Forwards: 70
        From:
    <sip:502 at phone.statirasystems.com>;tag=llr4Rj-HnTn9EQhAB8mLWxBLOUkqnap.
        To: <sip:7032203446 at phone.statirasystems.com>
        Contact: <sip:502 at 192.168.1.11:42615;ob>;+sip.ice
        Call-ID: hiSXYJajRDw17Q9BBhV8MiVL6FHepRwl
        CSeq: 23484 INVITE
        Route: <sip:phone.statirasystems.com;transport=udp;lr>
        Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE,
    NOTIFY, REFER, MESSAGE, OPTIONS
        Supported: replaces, 100rel, timer, norefersub
        Session-Expires: 1800
        Min-SE: 90
        User-Agent: CSipSimple r944 / inc-8
        Content-Type: application/sdp
        Content-Length:   616

        v=0
        o=- 3517756289 3517756289 IN IP4 192.168.1.11
        s=pjmedia
        c=IN IP4 192.168.1.11
        t=0 0
        a=X-nat:0
        m=audio 33616 RTP/AVP 9 104 103 105 102 0 8 101
        a=rtcp:38327 IN IP4 192.168.1.11
        a=rtpmap:9 G722/8000
        a=rtpmap:104 speex/32000
        a=rtpmap:103 speex/16000
        a=rtpmap:105 iLBC/8000
        a=fmtp:105 mode=30
        a=rtpmap:102 speex/8000
        a=rtpmap:0 PCMU/8000
        a=rtpmap:8 PCMA/8000
        a=sendrecv
        a=rtpmap:101 telephone-event/8000
        a=fmtp:101 0-15
        a=ice-ufrag:7adc4b5a
        a=ice-pwd:15961ee1
        a=candidate:Hc0a8010b 1 UDP 2130706431 192.168.1.11 33616 typ host
        a=candidate:Hc0a8010b 2 UDP 2130706430 192.168.1.11 38327 typ host
       
    ------------------------------------------------------------------------
    send 363 bytes to udp/[192.168.1.11]:42615 at 20:28:31.537870:
       
    ------------------------------------------------------------------------
        SIP/2.0 100 Trying
        Via: SIP/2.0/UDP
    192.168.1.11:42615;rport=42615;branch=z9hG4bKPjYU1YgUOgEnTrbjl09SB0FLBTUw3q.4kD
        From:
    <sip:502 at phone.statirasystems.com>;tag=llr4Rj-HnTn9EQhAB8mLWxBLOUkqnap.
        To: <sip:7032203446 at phone.statirasystems.com>
        Call-ID: hiSXYJajRDw17Q9BBhV8MiVL6FHepRwl
        CSeq: 23484 INVITE
        User-Agent: Configured by 2600hz!
        Content-Length: 0

       
    ------------------------------------------------------------------------
    2011-06-22 13:28:31.539663 [DEBUG] sofia.c:6551 IP 192.168.1.11
    Rejected by acl "net_list_5". Falling back to Digest auth.
    2011-06-22 13:28:31.539663 [WARNING] sofia_reg.c:1246 SIP auth
    challenge (INVITE) on sofia profile 'sipinterface_1' for
    [7032203446 at phone.statirasystems.com] from ip 192.168.1.11
    send 855 bytes to udp/[192.168.1.11]:42615 at 20:28:31.541775:
       
    ------------------------------------------------------------------------
        SIP/2.0 407 Proxy Authentication Required
        Via: SIP/2.0/UDP
    192.168.1.11:42615;rport=42615;branch=z9hG4bKPjYU1YgUOgEnTrbjl09SB0FLBTUw3q.4kD
        From:
    <sip:502 at phone.statirasystems.com>;tag=llr4Rj-HnTn9EQhAB8mLWxBLOUkqnap.
        To: <sip:7032203446 at phone.statirasystems.com>;tag=U1D1UQ81Dey3N
        Call-ID: hiSXYJajRDw17Q9BBhV8MiVL6FHepRwl
        CSeq: 23484 INVITE
        User-Agent: Configured by 2600hz!
        Accept: application/sdp
        Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO,
    REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
        Supported: precondition, path, replaces
        Allow-Events: talk, hold, presence, dialog, line-seize,
    call-info, sla, include-session-description, presence.winfo,
    message-summary, refer
        Proxy-Authenticate: Digest realm="phone.statirasystems.com",
    nonce="430ea594-c447-42e5-a795-1c5ac884b996", algorithm=MD5, qop="auth"
        Content-Length: 0

       
    ------------------------------------------------------------------------
    recv 445 bytes from udp/[192.168.1.11]:42615 at 20:28:31.544036:
       
    ------------------------------------------------------------------------
        ACK sip:7032203446 at phone.statirasystems.com SIP/2.0
        Via: SIP/2.0/UDP
    192.168.1.11:42615;rport;branch=z9hG4bKPjYU1YgUOgEnTrbjl09SB0FLBTUw3q.4kD
        Max-Forwards: 70
        From:
    <sip:502 at phone.statirasystems.com>;tag=llr4Rj-HnTn9EQhAB8mLWxBLOUkqnap.
        To: <sip:7032203446 at phone.statirasystems.com>;tag=U1D1UQ81Dey3N
        Call-ID: hiSXYJajRDw17Q9BBhV8MiVL6FHepRwl
        CSeq: 23484 ACK
        Route: <sip:phone.statirasystems.com;transport=udp;lr>
        Content-Length:  0

       
    ------------------------------------------------------------------------
    recv 1643 bytes from udp/[192.168.1.11]:42615 at 20:28:31.545117:
       
    ------------------------------------------------------------------------
        INVITE sip:7032203446 at phone.statirasystems.com SIP/2.0
        Via: SIP/2.0/UDP
    192.168.1.11:42615;rport;branch=z9hG4bKPjRaqtNZWIkhvyivUL2g2vkoVMTmdtxGlf
        Max-Forwards: 70
        From:
    <sip:502 at phone.statirasystems.com>;tag=llr4Rj-HnTn9EQhAB8mLWxBLOUkqnap.
        To: <sip:7032203446 at phone.statirasystems.com>
        Contact: <sip:502 at 192.168.1.11:42615;ob>;+sip.ice
        Call-ID: hiSXYJajRDw17Q9BBhV8MiVL6FHepRwl
        CSeq: 23485 INVITE
        Route: <sip:phone.statirasystems.com;transport=udp;lr>
        Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE,
    NOTIFY, REFER, MESSAGE, OPTIONS
        Supported: replaces, 100rel, timer, norefersub
        Session-Expires: 1800
        Min-SE: 90
        User-Agent: CSipSimple r944 / inc-8
        Proxy-Authorization: Digest username="502",
    realm="phone.statirasystems.com",
    nonce="430ea594-c447-42e5-a795-1c5ac884b996",
    uri="sip:7032203446 at phone.statirasystems.com",
    response="95d75cc4f1478333731f960e0e686399", algorithm=MD5,
    cnonce="VIYZuITTZROoTJla3ithxFWRKkW15K3H", qop=auth, nc=00000001
        Content-Type: application/sdp
        Content-Length:   616

        v=0
        o=- 3517756289 3517756289 IN IP4 192.168.1.11
        s=pjmedia
        c=IN IP4 192.168.1.11
        t=0 0
        a=X-nat:0
        m=audio 33616 RTP/AVP 9 104 103 105 102 0 8 101
        a=rtcp:38327 IN IP4 192.168.1.11
        a=rtpmap:9 G722/8000
        a=rtpmap:104 speex/32000
        a=rtpmap:103 speex/16000
        a=rtpmap:105 iLBC/8000
        a=fmtp:105 mode=30
        a=rtpmap:102 speex/8000
        a=rtpmap:0 PCMU/8000
        a=rtpmap:8 PCMA/8000
        a=sendrecv
        a=rtpmap:101 telephone-event/8000
        a=fmtp:101 0-15
        a=ice-ufrag:7adc4b5a
        a=ice-pwd:15961ee1
        a=candidate:Hc0a8010b 1 UDP 2130706431 192.168.1.11 33616 typ host
        a=candidate:Hc0a8010b 2 UDP 2130706430 192.168.1.11 38327 typ host
       
    ------------------------------------------------------------------------
    send 363 bytes to udp/[192.168.1.11]:42615 at 20:28:31.545859:
       
    ------------------------------------------------------------------------
        SIP/2.0 100 Trying
        Via: SIP/2.0/UDP
    192.168.1.11:42615;rport=42615;branch=z9hG4bKPjRaqtNZWIkhvyivUL2g2vkoVMTmdtxGlf
        From:
    <sip:502 at phone.statirasystems.com>;tag=llr4Rj-HnTn9EQhAB8mLWxBLOUkqnap.
        To: <sip:7032203446 at phone.statirasystems.com>
        Call-ID: hiSXYJajRDw17Q9BBhV8MiVL6FHepRwl
        CSeq: 23485 INVITE
        User-Agent: Configured by 2600hz!
        Content-Length: 0

       
    ------------------------------------------------------------------------
    2011-06-22 13:28:31.547460 [DEBUG] sofia.c:6551 IP 192.168.1.11
    Rejected by acl "net_list_5". Falling back to Digest auth.
    2011-06-22 13:28:31.547460 [NOTICE] switch_channel.c:816 New Channel
    sofia/sipinterface_1/502 at phone.statirasystems.com
    [ae454abd-dc4a-42c9-90cc-6b0b332c44f4]
    2011-06-22 13:28:31.547460 [DEBUG] sofia.c:4761 Channel
    sofia/sipinterface_1/502 at phone.statirasystems.com entering state
    [received][100]
    2011-06-22 13:28:31.547460 [DEBUG] sofia.c:4772 Remote SDP:
    v=0

    o=- 3517756289 3517756289 IN IP4 192.168.1.11

    s=pjmedia

    c=IN IP4 192.168.1.11

    t=0 0

    a=X-nat:0

    m=audio 33616 RTP/AVP 9 104 103 105 102 0 8 101

    a=rtpmap:9 G722/8000

    a=rtpmap:104 speex/32000

    a=rtpmap:103 speex/16000

    a=rtpmap:105 iLBC/8000

    a=fmtp:105 mode=30

    a=rtpmap:102 speex/8000

    a=rtpmap:0 PCMU/8000

    a=rtpmap:8 PCMA/8000

    a=rtpmap:101 telephone-event/8000

    a=fmtp:101 0-15

    a=rtcp:38327 IN IP4 192.168.1.11

    a=ice-ufrag:7adc4b5a

    a=ice-pwd:15961ee1

    a=candidate:Hc0a8010b 1 UDP 2130706431 192.168.1.11 33616 typ host

    a=candidate:Hc0a8010b 2 UDP 2130706430 192.168.1.11 38327 typ host


    2011-06-22 13:28:31.547460 [DEBUG] sofia_glue.c:4669 Audio Codec
    Compare [G722:9:8000:20:64000]/[G7221:115:32000:20:48000]
    2011-06-22 13:28:31.547460 [DEBUG] sofia_glue.c:4669 Audio Codec
    Compare [G722:9:8000:20:64000]/[G7221:107:16000:20:32000]
    2011-06-22 13:28:31.547460 [DEBUG] sofia_glue.c:4669 Audio Codec
    Compare [G722:9:8000:20:64000]/[G722:9:8000:20:64000]
    2011-06-22 13:28:31.547460 [DEBUG] sofia_glue.c:2792 Set Codec
    sofia/sipinterface_1/502 at phone.statirasystems.com G722/8000 20 ms
    160 samples 64000 bits
    2011-06-22 13:28:31.547460 [DEBUG] sofia_glue.c:4783 Set 2833 dtmf
    send/recv payload to 101
    2011-06-22 13:28:31.547460 [DEBUG] sofia.c:4943
    (sofia/sipinterface_1/502 at phone.statirasystems.com) State Change
    CS_NEW -> CS_INIT
    2011-06-22 13:28:31.547460 [DEBUG] switch_core_session.c:1116 Send
    signal sofia/sipinterface_1/502 at phone.statirasystems.com [BREAK]
    2011-06-22 13:28:31.553607 [DEBUG] switch_core_state_machine.c:325
    (sofia/sipinterface_1/502 at phone.statirasystems.com) Running State
    Change CS_INIT
    2011-06-22 13:28:31.553607 [DEBUG] switch_core_state_machine.c:361
    (sofia/sipinterface_1/502 at phone.statirasystems.com) State INIT
    2011-06-22 13:28:31.553607 [DEBUG] mod_sofia.c:84
    sofia/sipinterface_1/502 at phone.statirasystems.com SOFIA INIT
    2011-06-22 13:28:31.553607 [DEBUG] mod_sofia.c:124
    (sofia/sipinterface_1/502 at phone.statirasystems.com) State Change
    CS_INIT -> CS_ROUTING
    2011-06-22 13:28:31.553607 [DEBUG] switch_core_session.c:1116 Send
    signal sofia/sipinterface_1/502 at phone.statirasystems.com [BREAK]
    2011-06-22 13:28:31.553607 [DEBUG] switch_core_state_machine.c:361
    (sofia/sipinterface_1/502 at phone.statirasystems.com) State INIT going
    to sleep
    2011-06-22 13:28:31.553607 [DEBUG] switch_core_state_machine.c:325
    (sofia/sipinterface_1/502 at phone.statirasystems.com) Running State
    Change CS_ROUTING
    2011-06-22 13:28:31.553607 [DEBUG] switch_channel.c:1672
    (sofia/sipinterface_1/502 at phone.statirasystems.com) Callstate Change
    DOWN -> RINGING
    2011-06-22 13:28:31.555041 [DEBUG] switch_core_state_machine.c:364
    (sofia/sipinterface_1/502 at phone.statirasystems.com) State ROUTING
    2011-06-22 13:28:31.555041 [DEBUG] mod_sofia.c:147
    sofia/sipinterface_1/502 at phone.statirasystems.com SOFIA ROUTING
    2011-06-22 13:28:31.555041 [DEBUG] switch_core_state_machine.c:77
    sofia/sipinterface_1/502 at phone.statirasystems.com Standard ROUTING
    2011-06-22 13:28:31.555041 [INFO] mod_dialplan_xml.c:331 Processing
    502 <502>->7032203446 in context context_1
    Dialplan: sofia/sipinterface_1/502 at phone.statirasystems.com parsing
    [context_1->conditioning_callerid] continue=true
    Dialplan: sofia/sipinterface_1/502 at phone.statirasystems.com Regex
    (PASS) [conditioning_callerid]
    ${internal_caller_id_number}(7036526678) =~ /^.+$/ break=on-false
    Dialplan: sofia/sipinterface_1/502 at phone.statirasystems.com Action
    set(effective_caller_id_name=${internal_caller_id_name})
    Dialplan: sofia/sipinterface_1/502 at phone.statirasystems.com Action
    set(effective_caller_id_number=${internal_caller_id_number})
    Dialplan: sofia/sipinterface_1/502 at phone.statirasystems.com parsing
    [context_1->postroute_global] continue=true
    Dialplan: sofia/sipinterface_1/502 at phone.statirasystems.com Absolute
    Condition [postroute_global]
    Dialplan: sofia/sipinterface_1/502 at phone.statirasystems.com Action
    hash(insert/${domain_name}-spymap/${caller_id_number}/${uuid})
    Dialplan: sofia/sipinterface_1/502 at phone.statirasystems.com Action
    hash(insert/${domain_name}-last_dial/${caller_id_number}/${destination_number})

    Dialplan: sofia/sipinterface_1/502 at phone.statirasystems.com Action
    hash(insert/${domain_name}-last_dial/global/${uuid})
    Dialplan: sofia/sipinterface_1/502 at phone.statirasystems.com Action
    set(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
    Dialplan: sofia/sipinterface_1/502 at phone.statirasystems.com parsing
    [context_1->main_number_1] continue=true
    Dialplan: sofia/sipinterface_1/502 at phone.statirasystems.com Regex
    (FAIL) [main_number_1] destination_number(7032203446) =~ /^2001$/
    break=on-false
    Dialplan: sofia/sipinterface_1/502 at phone.statirasystems.com parsing
    [context_1->main_number_3] continue=true
    Dialplan: sofia/sipinterface_1/502 at phone.statirasystems.com Regex
    (FAIL) [main_number_3] destination_number(7032203446) =~ /^502$/
    break=on-false
    Dialplan: sofia/sipinterface_1/502 at phone.statirasystems.com parsing
    [context_1->main_trunk_1_pattern_1] continue=true
    Dialplan: sofia/sipinterface_1/502 at phone.statirasystems.com Regex
    (PASS) [main_trunk_1_pattern_1] destination_number(7032203446) =~
    /^1{0,1}([2-9][0-8][0-9][2-9][0-9]{6})$/ break=never
    Dialplan: sofia/sipinterface_1/502 at phone.statirasystems.com Action
    set(prepend=)
    Dialplan: sofia/sipinterface_1/502 at phone.statirasystems.com Action
    set(effective_caller_id_name=Statira Systems)
    Dialplan: sofia/sipinterface_1/502 at phone.statirasystems.com Action
    set(effective_caller_id_number=7036526678)
    Dialplan: sofia/sipinterface_1/502 at phone.statirasystems.com Regex
    (PASS) [main_trunk_1_pattern_1]
    ${outbound_caller_id_number}(7036526678) =~ /^.+$/ break=never
    Dialplan: sofia/sipinterface_1/502 at phone.statirasystems.com Action
    set(effective_caller_id_name=${outbound_caller_id_name})
    Dialplan: sofia/sipinterface_1/502 at phone.statirasystems.com Action
    set(effective_caller_id_number=${outbound_caller_id_number})
    Dialplan: sofia/sipinterface_1/502 at phone.statirasystems.com Action
    export(sip_cid_type=rpid)
    Dialplan: sofia/sipinterface_1/502 at phone.statirasystems.com Regex
    (PASS) [main_trunk_1_pattern_1] destination_number(7032203446) =~
    /^1{0,1}([2-9][0-8][0-9][2-9][0-9]{6})$/ break=never
    Dialplan: sofia/sipinterface_1/502 at phone.statirasystems.com Action
    bridge(sofia/gateway/trunk_1/${prepend}7032203446)
    2011-06-22 13:28:31.558679 [DEBUG] switch_core_state_machine.c:119
    (sofia/sipinterface_1/502 at phone.statirasystems.com) State Change
    CS_ROUTING -> CS_EXECUTE
    2011-06-22 13:28:31.558679 [DEBUG] switch_core_session.c:1116 Send
    signal sofia/sipinterface_1/502 at phone.statirasystems.com [BREAK]
    2011-06-22 13:28:31.558679 [DEBUG] switch_core_state_machine.c:364
    (sofia/sipinterface_1/502 at phone.statirasystems.com) State ROUTING
    going to sleep
    2011-06-22 13:28:31.558679 [DEBUG] switch_core_state_machine.c:325
    (sofia/sipinterface_1/502 at phone.statirasystems.com) Running State
    Change CS_EXECUTE
    2011-06-22 13:28:31.558679 [DEBUG] switch_core_state_machine.c:371
    (sofia/sipinterface_1/502 at phone.statirasystems.com) State EXECUTE
    2011-06-22 13:28:31.558679 [DEBUG] mod_sofia.c:240
    sofia/sipinterface_1/502 at phone.statirasystems.com SOFIA EXECUTE
    2011-06-22 13:28:31.558679 [DEBUG] switch_core_state_machine.c:157
    sofia/sipinterface_1/502 at phone.statirasystems.com Standard EXECUTE
    EXECUTE sofia/sipinterface_1/502 at phone.statirasystems.com
    set(effective_caller_id_name=Monkey)
    2011-06-22 13:28:31.559681 [DEBUG] mod_dptools.c:1060
    sofia/sipinterface_1/502 at phone.statirasystems.com SET
    [effective_caller_id_name]=[Monkey]
    EXECUTE sofia/sipinterface_1/502 at phone.statirasystems.com
    set(effective_caller_id_number=7036526678)
    2011-06-22 13:28:31.559681 [DEBUG] mod_dptools.c:1060
    sofia/sipinterface_1/502 at phone.statirasystems.com SET
    [effective_caller_id_number]=[7036526678]
    EXECUTE sofia/sipinterface_1/502 at phone.statirasystems.com
    hash(insert/phone.statirasystems.com-spymap/502/ae454abd-dc4a-42c9-90cc-6b0b332c44f4)
    EXECUTE sofia/sipinterface_1/502 at phone.statirasystems.com
    hash(insert/phone.statirasystems.com-last_dial/502/7032203446)
    EXECUTE sofia/sipinterface_1/502 at phone.statirasystems.com
    hash(insert/phone.statirasystems.com-last_dial/global/ae454abd-dc4a-42c9-90cc-6b0b332c44f4)
    EXECUTE sofia/sipinterface_1/502 at phone.statirasystems.com
    set(RFC2822_DATE=Wed, 22 Jun 2011 13:28:31 -0700)
    2011-06-22 13:28:31.562678 [DEBUG] mod_dptools.c:1060
    sofia/sipinterface_1/502 at phone.statirasystems.com SET
    [RFC2822_DATE]=[Wed, 22 Jun 2011 13:28:31 -0700]
    EXECUTE sofia/sipinterface_1/502 at phone.statirasystems.com set(prepend=)
    2011-06-22 13:28:31.563814 [DEBUG] mod_dptools.c:1060
    sofia/sipinterface_1/502 at phone.statirasystems.com SET [prepend]=[UNDEF]
    EXECUTE sofia/sipinterface_1/502 at phone.statirasystems.com
    set(effective_caller_id_name=Statira Systems)
    2011-06-22 13:28:31.564681 [DEBUG] mod_dptools.c:1060
    sofia/sipinterface_1/502 at phone.statirasystems.com SET
    [effective_caller_id_name]=[Statira Systems]
    EXECUTE sofia/sipinterface_1/502 at phone.statirasystems.com
    set(effective_caller_id_number=7036526678)
    2011-06-22 13:28:31.565679 [DEBUG] mod_dptools.c:1060
    sofia/sipinterface_1/502 at phone.statirasystems.com SET
    [effective_caller_id_number]=[7036526678]
    EXECUTE sofia/sipinterface_1/502 at phone.statirasystems.com
    set(effective_caller_id_name=Monkey)
    2011-06-22 13:28:31.565679 [DEBUG] mod_dptools.c:1060
    sofia/sipinterface_1/502 at phone.statirasystems.com SET
    [effective_caller_id_name]=[Monkey]
    EXECUTE sofia/sipinterface_1/502 at phone.statirasystems.com
    set(effective_caller_id_number=7036526678)
    2011-06-22 13:28:31.566804 [DEBUG] mod_dptools.c:1060
    sofia/sipinterface_1/502 at phone.statirasystems.com SET
    [effective_caller_id_number]=[7036526678]
    EXECUTE sofia/sipinterface_1/502 at phone.statirasystems.com
    export(sip_cid_type=rpid)
    2011-06-22 13:28:31.567678 [DEBUG] switch_channel.c:965 EXPORT
    (export_vars) [sip_cid_type]=[rpid]
    EXECUTE sofia/sipinterface_1/502 at phone.statirasystems.com
    bridge(sofia/gateway/trunk_1/7032203446)
    2011-06-22 13:28:31.568678 [DEBUG] switch_channel.c:922
    sofia/sipinterface_1/502 at phone.statirasystems.com
    EXPORTING[export_vars] [sip_cid_type]=[rpid] to event
    2011-06-22 13:28:31.568678 [DEBUG] switch_ivr_originate.c:1873
    Parsing global variables
    2011-06-22 13:28:31.568678 [ERR] mod_sofia.c:4045 Invalid Gateway
    2011-06-22 13:28:31.568678 [NOTICE] mod_sofia.c:4402 Close Channel
    N/A [CS_NEW]
    2011-06-22 13:28:31.568678 [DEBUG] switch_core_state_machine.c:457
    () Running State Change CS_DESTROY
    2011-06-22 13:28:31.569833 [DEBUG] switch_core_state_machine.c:467
    (N/A) State DESTROY
    2011-06-22 13:28:31.569833 [DEBUG] mod_sofia.c:362 N/A SOFIA DESTROY
    2011-06-22 13:28:31.569833 [DEBUG] switch_core_state_machine.c:467
    (N/A) State DESTROY going to sleep
    2011-06-22 13:28:31.569833 [ERR] switch_ivr_originate.c:2447 Cannot
    create outgoing channel of type [sofia] cause: [INVALID_NUMBER_FORMAT]
    2011-06-22 13:28:31.569833 [DEBUG] switch_ivr_originate.c:3299
    Originate Resulted in Error Cause: 28 [INVALID_NUMBER_FORMAT]
    2011-06-22 13:28:31.569833 [INFO] mod_dptools.c:2647 Originate
    Failed.  Cause: INVALID_NUMBER_FORMAT
    2011-06-22 13:28:31.569833 [DEBUG] switch_channel.c:2567
    (sofia/sipinterface_1/502 at phone.statirasystems.com) Callstate Change
    RINGING -> HANGUP
    2011-06-22 13:28:31.570693 [NOTICE] mod_dptools.c:2761 Hangup
    sofia/sipinterface_1/502 at phone.statirasystems.com [CS_EXECUTE]
    [INVALID_NUMBER_FORMAT]
    2011-06-22 13:28:31.570693 [DEBUG] switch_channel.c:2583 Send signal
    sofia/sipinterface_1/502 at phone.statirasystems.com [KILL]
    2011-06-22 13:28:31.570693 [DEBUG] switch_core_session.c:1116 Send
    signal sofia/sipinterface_1/502 at phone.statirasystems.com [BREAK]
    2011-06-22 13:28:31.571679 [DEBUG] switch_core_session.c:2060
    sofia/sipinterface_1/502 at phone.statirasystems.com skip receive
    message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
    2011-06-22 13:28:31.571679 [DEBUG] switch_core_state_machine.c:371
    (sofia/sipinterface_1/502 at phone.statirasystems.com) State EXECUTE
    going to sleep
    2011-06-22 13:28:31.571679 [DEBUG] switch_core_state_machine.c:325
    (sofia/sipinterface_1/502 at phone.statirasystems.com) Running State
    Change CS_HANGUP
    2011-06-22 13:28:31.572811 [DEBUG] switch_core_state_machine.c:565
    (sofia/sipinterface_1/502 at phone.statirasystems.com) State HANGUP
    2011-06-22 13:28:31.572811 [DEBUG] mod_sofia.c:457 Channel
    sofia/sipinterface_1/502 at phone.statirasystems.com hanging up, cause:
    INVALID_NUMBER_FORMAT
    2011-06-22 13:28:31.573682 [DEBUG] mod_sofia.c:519 Responding to
    INVITE with: 484
    send 861 bytes to udp/[192.168.1.11]:42615 at 20:28:31.574787:
       
    ------------------------------------------------------------------------
        SIP/2.0 484 Address Incomplete
        Via: SIP/2.0/UDP
    192.168.1.11:42615;rport=42615;branch=z9hG4bKPjRaqtNZWIkhvyivUL2g2vkoVMTmdtxGlf
        From:
    <sip:502 at phone.statirasystems.com>;tag=llr4Rj-HnTn9EQhAB8mLWxBLOUkqnap.
        To: <sip:7032203446 at phone.statirasystems.com>;tag=va7SXjS5aQmpH
        Call-ID: hiSXYJajRDw17Q9BBhV8MiVL6FHepRwl
        CSeq: 23485 INVITE
        User-Agent: Configured by 2600hz!
        Accept: application/sdp
        Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO,
    REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
        Supported: precondition, path, replaces
        Allow-Events: talk, hold, presence, dialog, line-seize,
    call-info, sla, include-session-description, presence.winfo,
    message-summary, refer
        Reason: Q.850;cause=28;text="INVALID_NUMBER_FORMAT"
        Content-Length: 0
        Remote-Party-ID: "7032203446"
    <sip:7032203446 at 192.168.1.254>;party=calling;privacy=off;screen=no

       
    ------------------------------------------------------------------------
    2011-06-22 13:28:31.575063 [DEBUG] switch_core_state_machine.c:46
    sofia/sipinterface_1/502 at phone.statirasystems.com Standard HANGUP,
    cause: INVALID_NUMBER_FORMAT
    2011-06-22 13:28:31.575063 [DEBUG] switch_core_state_machine.c:565
    (sofia/sipinterface_1/502 at phone.statirasystems.com) State HANGUP
    going to sleep
    2011-06-22 13:28:31.575063 [DEBUG] switch_core_state_machine.c:356
    (sofia/sipinterface_1/502 at phone.statirasystems.com) State Change
    CS_HANGUP -> CS_REPORTING
    2011-06-22 13:28:31.575063 [DEBUG] switch_core_session.c:1116 Send
    signal sofia/sipinterface_1/502 at phone.statirasystems.com [BREAK]
    2011-06-22 13:28:31.575063 [DEBUG] switch_core_state_machine.c:325
    (sofia/sipinterface_1/502 at phone.statirasystems.com) Running State
    Change CS_REPORTING
    2011-06-22 13:28:31.575845 [DEBUG] switch_core_state_machine.c:625
    (sofia/sipinterface_1/502 at phone.statirasystems.com) State REPORTING
    2011-06-22 13:28:31.575845 [DEBUG] switch_core_state_machine.c:53
    sofia/sipinterface_1/502 at phone.statirasystems.com Standard
    REPORTING, cause: INVALID_NUMBER_FORMAT
    recv 445 bytes from udp/[192.168.1.11]:42615 at 20:28:31.583298:
       
    ------------------------------------------------------------------------
        ACK sip:7032203446 at phone.statirasystems.com SIP/2.0
        Via: SIP/2.0/UDP
    192.168.1.11:42615;rport;branch=z9hG4bKPjRaqtNZWIkhvyivUL2g2vkoVMTmdtxGlf
        Max-Forwards: 70
        From:
    <sip:502 at phone.statirasystems.com>;tag=llr4Rj-HnTn9EQhAB8mLWxBLOUkqnap.
        To: <sip:7032203446 at phone.statirasystems.com>;tag=va7SXjS5aQmpH
        Call-ID: hiSXYJajRDw17Q9BBhV8MiVL6FHepRwl
        CSeq: 23485 ACK
        Route: <sip:phone.statirasystems.com;transport=udp;lr>
        Content-Length:  0

       
    ------------------------------------------------------------------------
    2011-06-22 13:28:31.584480 [DEBUG] switch_core_state_machine.c:625
    (sofia/sipinterface_1/502 at phone.statirasystems.com) State REPORTING
    going to sleep
    2011-06-22 13:28:31.585691 [DEBUG] switch_core_state_machine.c:350
    (sofia/sipinterface_1/502 at phone.statirasystems.com) State Change
    CS_REPORTING -> CS_DESTROY
    2011-06-22 13:28:31.585691 [DEBUG] switch_core_session.c:1116 Send
    signal sofia/sipinterface_1/502 at phone.statirasystems.com [BREAK]
    2011-06-22 13:28:31.585691 [DEBUG] switch_core_session.c:1288
    Session 8 (sofia/sipinterface_1/502 at phone.statirasystems.com)
    Locked, Waiting on external entities
    2011-06-22 13:28:31.585691 [NOTICE] switch_core_session.c:1306
    Session 8 (sofia/sipinterface_1/502 at phone.statirasystems.com) Ended
    2011-06-22 13:28:31.585691 [NOTICE] switch_core_session.c:1308 Close
    Channel sofia/sipinterface_1/502 at phone.statirasystems.com [CS_DESTROY]
    2011-06-22 13:28:31.585691 [DEBUG] switch_core_state_machine.c:454
    (sofia/sipinterface_1/502 at phone.statirasystems.com) Callstate Change
    HANGUP -> DOWN
    2011-06-22 13:28:31.586867 [DEBUG] switch_core_state_machine.c:457
    (sofia/sipinterface_1/502 at phone.statirasystems.com) Running State
    Change CS_DESTROY
    2011-06-22 13:28:31.586867 [DEBUG] switch_core_state_machine.c:467
    (sofia/sipinterface_1/502 at phone.statirasystems.com) State DESTROY
    2011-06-22 13:28:31.586867 [DEBUG] mod_sofia.c:362
    sofia/sipinterface_1/502 at phone.statirasystems.com SOFIA DESTROY
    2011-06-22 13:28:31.586867 [DEBUG] switch_core_state_machine.c:60
    sofia/sipinterface_1/502 at phone.statirasystems.com Standard DESTROY
    2011-06-22 13:28:31.586867 [DEBUG] switch_core_state_machine.c:467
    (sofia/sipinterface_1/502 at phone.statirasystems.com) State DESTROY
    going to sleep
    send 695 bytes to udp/[192.168.1.11]:42615 at 20:28:37.744017:
       
    ------------------------------------------------------------------------
        OPTIONS sip:502 at 192.168.1.11:42615;ob SIP/2.0
        Via: SIP/2.0/UDP 192.168.1.254;rport;branch=z9hG4bK5tQF3pHHFNQNB
        Max-Forwards: 70
        From: <sip:mod_sofia at 192.168.1.254:5060>;tag=XK0jZDa97Za9c
        To: <sip:502 at phone.statirasystems.com>
        Call-ID: 0d15c90c-17b1-122f-85bc-0002a5ed0817
        CSeq: 14049564 OPTIONS
        Contact: <sip:mod_sofia at 192.168.1.254:5060>
        User-Agent: Configured by 2600hz!
        Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO,
    REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
        Supported: precondition, path, replaces
        Allow-Events: talk, hold, presence, dialog, line-seize,
    call-info, sla, include-session-description, presence.winfo,
    message-summary, refer
        Content-Length: 0

       
    ------------------------------------------------------------------------
    recv 1188 bytes from udp/[192.168.1.11]:42615 at 20:28:37.860253:
       
    ------------------------------------------------------------------------
        SIP/2.0 200 OK
        Via: SIP/2.0/UDP
    192.168.1.254;rport=5060;received=192.168.1.254;branch=z9hG4bK5tQF3pHHFNQNB
        Call-ID: 0d15c90c-17b1-122f-85bc-0002a5ed0817
        From: <sip:mod_sofia at 192.168.1.254>;tag=XK0jZDa97Za9c
        To: <sip:502 at phone.statirasystems.com>;tag=z9hG4bK5tQF3pHHFNQNB
        CSeq: 14049564 OPTIONS
        Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE,
    NOTIFY, REFER, MESSAGE, OPTIONS
        Accept: application/sdp, application/pidf+xml,
    application/xpidf+xml, application/simple-message-summary,
    message/sipfrag;version=2.0, application/im-iscomposing+xml, text/plain
        Supported: replaces, 100rel, timer, norefersub
        Allow-Events: presence, message-summary, refer
        User-Agent: CSipSimple r944 / inc-8
        Content-Type: application/sdp
        Content-Length:   427

        v=0
        o=- 3517756295 3517756295 IN IP4 192.168.1.11
        s=pjmedia
        c=IN IP4 192.168.1.11
        t=0 0
        m=audio 49493 RTP/AVP 9 104 103 105 102 0 8 101
        a=rtcp:40021 IN IP4 192.168.1.11
        a=rtpmap:9 G722/8000
        a=rtpmap:104 speex/32000
        a=rtpmap:103 speex/16000
        a=rtpmap:105 iLBC/8000
        a=fmtp:105 mode=30
        a=rtpmap:102 speex/8000
        a=rtpmap:0 PCMU/8000
        a=rtpmap:8 PCMA/8000
        a=sendrecv
        a=rtpmap:101 telephone-event/8000
        a=fmtp:101 0-15
       
    ------------------------------------------------------------------------

William J. Moore
Owner
Statira Systems
611 Caroline St
Fredericksburg, VA 22401
540.693.0579
www.statirasystems.com


On 6/22/2011 1:35 PM, William Moore wrote:
> Some details
>
> /opt/freeswitch/conf/sip_profiles/bluebox_sipinterfaces.xml
>
>         <?xml version="1.0"?>
>         <include>
>         <profile name="sipinterface_3">
>         <settings>
>         <param name="enable-timer" value="false"/>
>         <param name="user-agent-string" value="Configured by 2600hz!"/>
>         <param name="rtp-timer-name" value="soft"/>
>         <param name="codec-prefs" value="$${global_codec_prefs}"/>
>         <param name="inbound-codec-negotiation" value="generous"/>
>         <param name="inbound-reg-force-matching-username" value="true"/>
>         <param name="nonce-ttl" value="86400"/>
>         <param name="rfc2833-pt" value="101"/>
>         <param name="manage-presence" value="true"/>
>         <param name="auth-calls" value="false"/>
>         <param name="sip-ip" value="$${local_ip_v4}"/>
>         <param name="rtp-ip" value="$${local_ip_v4}"/>
>         <param name="sip-port" value="5070"/>
>         <param name="ext-sip-ip" value="auto-nat"/>
>         <param name="ext-rtp-ip" value="auto-nat"/>
>         <param name="context" value="multitenant_routing_context"/>
>         <param name="apply-nat-acl" value="nat.auto"/>
>         </settings>
>         </profile>
>         <profile name="sipinterface_1">
>         <settings>
>         <param name="enable-timer" value="false"/>
>         <param name="user-agent-string" value="Configured by 2600hz!"/>
>         <param name="rtp-timer-name" value="soft"/>
>         <param name="codec-prefs" value="$${global_codec_prefs}"/>
>         <param name="inbound-codec-negotiation" value="generous"/>
>         <param name="inbound-reg-force-matching-username" value="true"/>
>         <param name="nonce-ttl" value="86400"/>
>         <param name="rfc2833-pt" value="101"/>
>         <param name="manage-presence" value="true"/>
>         <param name="auth-calls" value="true"/>
>         <param name="sip-ip" value="$${local_ip_v4}"/>
>         <param name="rtp-ip" value="$${local_ip_v4}"/>
>         <param name="sip-port" value="5060"/>
>         <param name="nat-options-ping" value="true"/>
>         <param name="all-reg-options-ping" value="true"/>
>         <param name="ext-sip-ip" value="auto-nat"/>
>         <param name="ext-rtp-ip" value="auto-nat"/>
>         <param name="context" value="multitenant_routing_context"/>
>         <param name="apply-nat-acl" value="nat.auto"/>
>         <param name="apply-inbound-acl" value="net_list_5"/>
>         <param name="aggressive-nat-detection" value="true"/>
>         <param name="log-auth-failures" value="true"/>
>         </settings>
>         <gateways/>
>         </profile>
>         <profile name="sipinterface_2">
>         <settings>
>         <param name="enable-timer" value="false"/>
>         <param name="user-agent-string" value="Configured by 2600hz!"/>
>         <param name="rtp-timer-name" value="soft"/>
>         <param name="codec-prefs" value="$${global_codec_prefs}"/>
>         <param name="inbound-codec-negotiation" value="generous"/>
>         <param name="inbound-reg-force-matching-username" value="true"/>
>         <param name="nonce-ttl" value="86400"/>
>         <param name="rfc2833-pt" value="101"/>
>         <param name="manage-presence" value="true"/>
>         <param name="auth-calls" value="true"/>
>         <param name="sip-ip" value="$${local_ip_v4}"/>
>         <param name="rtp-ip" value="$${local_ip_v4}"/>
>         <param name="sip-port" value="5080"/>
>         <param name="nat-options-ping" value="true"/>
>         <param name="all-reg-options-ping" value="true"/>
>         <param name="ext-sip-ip" value="auto-nat"/>
>         <param name="ext-rtp-ip" value="auto-nat"/>
>         <param name="context" value="multitenant_routing_context"/>
>         <param name="apply-inbound-acl" value="net_list_5"/>
>         <param name="apply-register-acl" value="rfc1918.auto"/>
>         <param name="log-auth-failures" value="true"/>
>         <param name="aggressive-nat-detection" value="true"/>
>         </settings>
>         <aliases>
>         <alias name="$${location_1}"/>
>         </aliases>
>         <gateways>
>         <gateway name="trunk_1">
>         <param name="realm" value="jnctn.net"/>
>         <param name="register-proxy" value="sip.jnctn.net"/>
>         <param name="outbound-proxy" value="sip.jnctn.net"/>
>         <param name="username" value="mowcow"/>
>         <param name="password" value="RQcLt9ypz5DqoLz2"/>
>         <param name="register" value="true"/>
>         </gateway>
>         </gateways>
>         <domains>
>         <domain name="all" alias="true" parse="false"/>
>         </domains>
>         </profile>
>         </include>
>
>
> /opt/freeswitch/conf/dialplan/bluebox_dialplan.xml
>
>         <?xml version="1.0"?>
>         <include>
>         <context name="context_1">
>         <extension name="conditioning_callerid" continue="true">
>         <condition field="${internal_caller_id_number}" expression="^.+$">
>         <action application="set"
>         data="effective_caller_id_name=${internal_caller_id_name}"/>
>         <action application="set"
>         data="effective_caller_id_number=${internal_caller_id_number}"/>
>         </condition>
>         </extension>
>         <extension name="postroute_global" continue="true">
>         <condition>
>         <action application="hash"
>         data="insert/${domain_name}-spymap/${caller_id_number}/${uuid}"/>
>         <action application="hash"
>         data="insert/${domain_name}-last_dial/${caller_id_number}/${destination_number}"/>
>         <action application="hash"
>         data="insert/${domain_name}-last_dial/global/${uuid}"/>
>         <action application="set" data="RFC2822_DATE=${strftime(%a, %d
>         %b %Y %T %z)}"/>
>         </condition>
>         </extension>
>         <extension name="main_number_1" continue="true">
>         <condition field="destination_number" expression="^2001$">
>         <action application="set" bluebox="settingEndBridge"
>         data="hangup_after_bridge=true"/>
>         <action application="set" bluebox="settingFail"
>         data="continue_on_fail=true"/>
>         <action application="set" bluebox="autoPlay"
>         data="vm_auto_play=false"/>
>         <action application="set" bluebox="settingTimeout"
>         data="call_timeout=20"/>
>         <action application="set" bluebox="settingRing"
>         data="ringback=${us-ring}"/>
>         <action application="set" bluebox="settingRingXfer"
>         data="transfer_ringback=${us-ring}"/>
>         <action application="export" bluebox="sipCalleeIdName"
>         data="sip_callee_id_name=Account Admin"/>
>         <action application="export" bluebox="sipCalleeIdNumber"
>         data="sip_callee_id_number=2001"/>
>         <action application="bridge"
>         data="user/account_admin@$${location_1}"/>
>         <action application="answer"/>
>         <action application="voicemail" data="default voicemail_1 2001"/>
>         <action application="hangup"/>
>         </condition>
>         </extension>
>         <extension name="main_number_3" continue="true">
>         <condition field="destination_number" expression="^502$">
>         <action application="set" bluebox="settingEndBridge"
>         data="hangup_after_bridge=true"/>
>         <action application="set" bluebox="settingFail"
>         data="continue_on_fail=true"/>
>         <action application="set" bluebox="autoPlay"
>         data="vm_auto_play=false"/>
>         <action application="set" bluebox="settingTimeout"
>         data="call_timeout=30"/>
>         <action application="set" bluebox="settingRing"
>         data="ringback=${us-ring}"/>
>         <action application="set" bluebox="settingRingXfer"
>         data="transfer_ringback=${us-ring}"/>
>         <action application="export" bluebox="sipCalleeIdName"
>         data="sip_callee_id_name=Monkey"/>
>         <action application="export" bluebox="sipCalleeIdNumber"
>         data="sip_callee_id_number=502"/>
>         <action application="bridge" data="user/502@$${location_1}"/>
>         <action application="answer"/>
>         <action application="voicemail" data="default voicemail_1 2001"/>
>         <action application="hangup"/>
>         </condition>
>         </extension>
>         <extension name="main_trunk_1_pattern_1" continue="true">
>         <condition field="destination_number" break="never"
>         expression="^1{0,1}([2-9][0-8][0-9][2-9][0-9]{6})$"
>         bluebox="pattern_1_part_1">
>         <action application="set" bluebox="prepend" data="prepend="/>
>         <action application="set" bluebox="cid_name"
>         data="effective_caller_id_name=Statira Systems"/>
>         <action application="set" bluebox="cid_number"
>         data="effective_caller_id_number=7036526678"/>
>         </condition>
>         <condition field="${outbound_caller_id_number}"
>         expression="^.+$" break="never" bluebox="caller_id">
>         <action application="set"
>         data="effective_caller_id_name=${outbound_caller_id_name}"/>
>         <action application="set"
>         data="effective_caller_id_number=${outbound_caller_id_number}"/>
>         <action application="export" bluebox="caller_id_field"
>         data="sip_cid_type=rpid"/>
>         </condition>
>         <condition field="destination_number" break="never"
>         expression="^1{0,1}([2-9][0-8][0-9][2-9][0-9]{6})$"
>         bluebox="pattern_1_part_1_out">
>         <action application="bridge" bluebox="out_trunk_1"
>         data="sofia/gateway/trunk_1/${prepend}$1"/>
>         </condition>
>         </extension>
>         </context>
>         <context name="context_2">
>         <extension name="conditioning_callerid" continue="true">
>         <condition field="${internal_caller_id_number}" expression="^.+$">
>         <action application="set"
>         data="effective_caller_id_name=${internal_caller_id_name}"/>
>         <action application="set"
>         data="effective_caller_id_number=${internal_caller_id_number}"/>
>         </condition>
>         </extension>
>         <extension name="postroute_global" continue="true">
>         <condition>
>         <action application="hash"
>         data="insert/${domain_name}-spymap/${caller_id_number}/${uuid}"/>
>         <action application="hash"
>         data="insert/${domain_name}-last_dial/${caller_id_number}/${destination_number}"/>
>         <action application="hash"
>         data="insert/${domain_name}-last_dial/global/${uuid}"/>
>         <action application="set" data="RFC2822_DATE=${strftime(%a, %d
>         %b %Y %T %z)}"/>
>         </condition>
>         </extension>
>         <extension name="main_number_3" continue="true">
>         <condition field="destination_number" expression="^502$">
>         <action application="set" bluebox="settingEndBridge"
>         data="hangup_after_bridge=true"/>
>         <action application="set" bluebox="settingFail"
>         data="continue_on_fail=true"/>
>         <action application="set" bluebox="autoPlay"
>         data="vm_auto_play=false"/>
>         <action application="set" bluebox="settingTimeout"
>         data="call_timeout=30"/>
>         <action application="set" bluebox="settingRing"
>         data="ringback=${us-ring}"/>
>         <action application="set" bluebox="settingRingXfer"
>         data="transfer_ringback=${us-ring}"/>
>         <action application="export" bluebox="sipCalleeIdName"
>         data="sip_callee_id_name=Monkey"/>
>         <action application="export" bluebox="sipCalleeIdNumber"
>         data="sip_callee_id_number=502"/>
>         <action application="bridge" data="user/502@$${location_1}"/>
>         <action application="answer"/>
>         <action application="voicemail" data="default voicemail_1 2001"/>
>         <action application="hangup"/>
>         </condition>
>         </extension>
>         <extension name="main_number_4" continue="true">
>         <condition field="destination_number" expression="^17036526678$">
>         <action application="set" bluebox="settingTimeout"
>         data="call_timeout=30"/>
>         <action application="set" bluebox="settingRing"
>         data="ringback=${us-ring}"/>
>         <action application="set" bluebox="settingRingXfer"
>         data="transfer_ringback=${us-ring}"/>
>         <action application="export" bluebox="sipCalleeIdName"
>         data="sip_callee_id_name=Account Admin"/>
>         <action application="export" bluebox="sipCalleeIdNumber"
>         data="sip_callee_id_number=17036526678"/>
>         <action application="bridge"
>         data="user/account_admin@$${location_1}"/>
>         <action application="hangup"/>
>         </condition>
>         </extension>
>         <extension name="main_trunk_1_pattern_1" continue="true">
>         <condition field="destination_number" break="never"
>         expression="^1{0,1}([2-9][0-8][0-9][2-9][0-9]{6})$"
>         bluebox="pattern_1_part_1">
>         <action application="set" bluebox="prepend" data="prepend="/>
>         <action application="set" bluebox="cid_name"
>         data="effective_caller_id_name=Statira Systems"/>
>         <action application="set" bluebox="cid_number"
>         data="effective_caller_id_number=7036526678"/>
>         </condition>
>         <condition field="${outbound_caller_id_number}"
>         expression="^.+$" break="never" bluebox="caller_id">
>         <action application="set"
>         data="effective_caller_id_name=${outbound_caller_id_name}"/>
>         <action application="set"
>         data="effective_caller_id_number=${outbound_caller_id_number}"/>
>         <action application="export" bluebox="caller_id_field"
>         data="sip_cid_type=rpid"/>
>         </condition>
>         <condition field="destination_number" break="never"
>         expression="^1{0,1}([2-9][0-8][0-9][2-9][0-9]{6})$"
>         bluebox="pattern_1_part_1_out">
>         <action application="bridge" bluebox="out_trunk_1"
>         data="sofia/gateway/trunk_1/${prepend}$1"/>
>         </condition>
>         </extension>
>         </context>
>         </include>
>
> /opt/freeswitch/conf/dialplan/bluebox_routes.xml
>
>         <?xml version="1.0"?>
>         <include>
>         <context name="multitenant_routing_context">
>         <extension name="route_number_4" continue="true">
>         <condition field="destination_number" expression="^17036526678$">
>         <action application="set"
>         data="vm-operator-extension=17036526678"/>
>         <action application="set"
>         data="force_transfer_context=context_2"/>
>         <action application="transfer" data="17036526678 XML context_2"/>
>         </condition>
>         </extension>
>         </context>
>         </include>
>
> William J. Moore
> Owner
> Statira Systems
> 611 Caroline St
> Fredericksburg, VA 22401
> 540.693.0579
> www.statirasystems.com
>
> On 6/22/2011 12:34 PM, William Moore wrote:
>> I can't get any incoming nor outgoing calls. The trunk is through 
>> Junction Networks and registers fine. I though I had the dial plan 
>> correct but there is obviously something I am missing.
>>
>> I am running Blue.Box GUI with FreeSwitch. It is in CentOS 5.5. I am 
>> using Verizon FiOS internet and the firewall is properly configured. 
>> This is a test environment so I would be happy to let someone in to 
>> take a look. I have SSH setup and web access via 
>> phone.statirasystems.com. Other wise it is a lot of configuration 
>> info to post.
>>
>> I have checked with Junction Networks and everything is fine on there 
>> end. My server is not responding to the requests.
>>
>> I am fairly green with freeswitch and would appreciate any help.
>>
>> Please note: I have sought assistance via the 2600hz community to no 
>> avail.
>>
>> Thank you,
>>
>>
>> _______________________________________________
>> Join us at ClueCon 2011, Aug 9-11, Chicago
>> http://www.cluecon.com  877-7-4ACLUE
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>
>
> _______________________________________________
> Join us at ClueCon 2011, Aug 9-11, Chicago
> http://www.cluecon.com 877-7-4ACLUE
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110622/ae253f2d/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bmoore.vcf
Type: text/x-vcard
Size: 245 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110622/ae253f2d/attachment-0001.vcf 


More information about the FreeSWITCH-users mailing list