Your wild guess was correct.
I changed my stack's listeningPoint binding from 127.0.0.1 to the IP address of 
the host
and I can now do INVITEs either with or without the OUTBOUND_PROXY configured.


________________________________
From: Joegen Baclor <[email protected]>
To: Allen Franklin <[email protected]>; Discussion list for users 
of sipXecs software <[email protected]> 
Sent: Tuesday, November 29, 2011 6:28 AM
Subject: Re: [sipx-users] exception on invite without an OUTBOUND_PROXY 
configured in the SIP stack


This is a wild guess since you did not give enough info as to what you are 
actually doing.  I see [email protected]'  which 
indicates that your ua is bound to loop-back address.   I also see that the log 
you pasted is from the supervisor and the exception is in sipXrest.   None of 
it makes any sense for you to get any substantial advise.

- Yes notify can bypass the proxy.  I think your exception is due to 127.0.0.1 
binding and is masked by the via inserted by the proxy that is why you do not 
see it when and ob proxy is set.



On 11/29/2011 12:06 PM, Allen Franklin wrote: 
We are creating a SIP UA that will do out-of-band monitoring of resources
>and will send NOTIFY messages to light lamps on admin phones based on the 
>availability of the resources.
>I thought that these NOTIFY messages had to be sent directly from UA to UA,
>but maybe they can be sent through the SIP proxy?
>
>
>
>From: Tony Graziano <[email protected]>
>To: Discussion list for users of sipXecs software 
><[email protected]> 
>Sent: Monday, November 28, 2011 7:38 PM
>Subject: Re: [sipx-users] exception on invite without an OUTBOUND_PROXY 
>configured in the SIP stack
>
>
>Exactly why wouldn't you qualify the outbound invite by using an outbound 
>proxy?
>Outbound proxy is used so the auth process doesn't loop if I recall. Also, it 
>appears you mailer changed some of the syntax so its not accurate here.
>An invite, like an outbound call needs to be auth'd and permissions/dial rule 
>qualified, hence the need for a proxy. Sipx, at it's core, is a proxy.
>On Nov 28, 2011 5:38 PM, "allen franklin" <[email protected]> 
>wrote:
>
>
>>Content-Type: text/plain;
>> charset="utf-8"
>>Content-Transfer-Encoding: 8bit
>>Organization: SipXecs Forum
>>X-FUDforum: 08063afcdd00a6e76393c5b9527381e8 <64688>
>>Message-ID: <[email protected]>
>>
>>
>>
>>In my plugin, I am getting an exception when I try send an
>>invite without an OUTBOUND_PROXY configured in the SIP
>>stack.
>>The code works fine when I use an OUTBOUND_PROXY.
>>Here's the stack trace:
>>
>>"2011-11-28T21:58:21.512182Z"
>>:194818:SUPERVISOR:INFO:icp.pbx.com:SipxProcess-41:B49D5B90:
>>Supervisor: "SipxProcess[SipXrest]::commandOutput
>>'messageSize =  444 message = INVITE sip:10.0.10.31:1024
>>SIP/2.0'"
>>"2011-11-28T21:58:21.512271Z"
>>:194819:SUPERVISOR:INFO:icp.pbx.com:SipxProcess-41:B49D5B90:
>>Supervisor: "SipxProcess[SipXrest]::commandOutput 'Call-ID:
>>mailto:[email protected]'"
>>"2011-11-28T21:58:21.512347Z"
>>:194820:SUPERVISOR:INFO:icp.pbx.com:SipxProcess-41:B49D5B90:
>>Supervisor: "SipxProcess[SipXrest]::commandOutput 'CSeq: 1
>>INVITE'"
>>"2011-11-28T21:58:21.512458Z"
>>:194821:SUPERVISOR:INFO:icp.pbx.com:SipxProcess-41:B49D5B90:
>>Supervisor: "SipxProcess[SipXrest]::commandOutput 'From:
>>\"hosemccann\"
>><sip:mailto:[email protected]:5070>;tag=activecallsplugin'"
>>"2011-11-28T21:58:21.512552Z"
>>:194822:SUPERVISOR:INFO:icp.pbx.com:SipxProcess-41:B49D5B90:
>>Supervisor: "SipxProcess[SipXrest]::commandOutput 'To:
>>\"203\" <sip:mailto:[email protected]:1024>'"
>>"2011-11-28T21:58:21.512642Z"
>>:194823:SUPERVISOR:INFO:icp.pbx.com:SipxProcess-41:B49D5B90:
>>Supervisor: "SipxProcess[SipXrest]::commandOutput 'Via:
>>SIP/2.0/UDP
>>10.0.10.1:5070;branch=z9hG4bK646f66063d2d9998400e8afe16b0350
>>4393337' "
>>"2011-11-28T21:58:21.512727Z"
>>:194824:SUPERVISOR:INFO:icp.pbx.com:SipxProcess-41:B49D5B90:
>>Supervisor: "SipxProcess[SipXrest]::commandOutput
>>'Max-Forwards: 70'"
>>"2011-11-28T21:58:21.512816Z"
>>:194825:SUPERVISOR:INFO:icp.pbx.com:SipxProcess-41:B49D5B90:
>>Supervisor: "SipxProcess[SipXrest]::commandOutput 'Contact:
>>\"hosemccann\" <sip:mailto:[email protected]:5070>'"
>>"2011-11-28T21:58:21.512900Z"
>>:194826:SUPERVISOR:INFO:icp.pbx.com:SipxProcess-41:B49D5B90:
>>Supervisor: "SipxProcess[SipXrest]::commandOutput 'Route:
>><sip:mailto:[email protected]:1024;transport=udp>'"
>>"2011-11-28T21:58:21.512983Z"
>>:194827:SUPERVISOR:INFO:icp.pbx.com:SipxProcess-41:B49D5B90:
>>Supervisor: "SipxProcess[SipXrest]::commandOutput
>>'Content-Length: 0'"
>>"2011-11-28T21:58:21.513062Z"
>>:194828:SUPERVISOR:INFO:icp.pbx.com:SipxProcess-41:B49D5B90:
>>Supervisor: "SipxProcess[SipXrest]::commandOutput ']'"
>>"2011-11-28T21:58:21.513648Z"
>>:194829:SUPERVISOR:INFO:icp.pbx.com:SipxProcess-41:B49D5B90:
>>Supervisor: "SipxProcess[SipXrest]::commandOutput '2074
>>[main] DEBUG ActiveCallsPlugin  -
>>gov.nist.javax.sip.stack.UDPMessageChannel.sendMessage(UDPMe
>>ssageChannel.java:700) [*******************'"
>>"2011-11-28T21:58:21.513758Z"
>>:194830:SUPERVISOR:INFO:icp.pbx.com:SipxProcess-41:B49D5B90:
>>Supervisor: "SipxProcess[SipXrest]::commandOutput ']'"
>>"2011-11-28T21:58:21.516733Z"
>>:194831:SUPERVISOR:INFO:icp.pbx.com:SipxProcess-41:B49D5B90:
>>Supervisor: "SipxProcess[SipXrest]::commandOutput '2078
>>[main] DEBUG ActiveCallsPlugin  -
>>gov.nist.javax.sip.stack.SIPTransaction.setState(SIPTransact
>>ion.java:553) [Transaction:setState Terminated Transaction
>>mailto:gov.nist.javax.sip.stack.SIPClientTransaction@e8597811
>>branchID = z9hG4bK646f66063d2d9998400e8afe16b03504393337
>>isClient = true]'"
>>"2011-11-28T21:58:21.517231Z"
>>:194832:SUPERVISOR:INFO:icp.pbx.com:SipxProcess-41:B49D5B90:
>>Supervisor: "SipxProcess[SipXrest]::commandOutput '2078
>>[main] DEBUG ActiveCallsPlugin  -
>>[LogWriter.java:92][SIPTransaction.java:556][SIPClientTransa
>>ction.java:1301][SIPClientTransaction.java:480][SIPClientTra
>>nsaction.java:968][SipSupport.java:254][ActiveCallsPlugin.ja
>>va:87][NativeConstructorAccessorImpl.java:-2][NativeConstruc
>>torAccessorImpl.java:57][DelegatingConstructorAccessorImpl.j
>>ava:45][Constructor.java:532][Class.java:372][Class.java:325
>>][RestServiceFinder.java:110][RestServer.java:230]' "
>>"2011-11-28T21:58:21.517714Z"
>>:194833:SUPERVISOR:INFO:icp.pbx.com:SipxProcess-41:B49D5B90:
>>Supervisor: "SipxProcess[SipXrest]::commandOutput '2079
>>[main] DEBUG ActiveCallsPlugin  -
>>gov.nist.javax.sip.stack.SIPTransaction.setState(SIPTransact
>>ion.java:553) [Transaction:setState Terminated Transaction
>>mailto:gov.nist.javax.sip.stack.SIPClientTransaction@e8597811
>>branchID = z9hG4bK646f66063d2d9998400e8afe16b03504393337
>>isClient = true]'"
>>"2011-11-28T21:58:21.518217Z"
>>:194834:SUPERVISOR:INFO:icp.pbx.com:SipxProcess-41:B49D5B90:
>>Supervisor: "SipxProcess[SipXrest]::commandOutput '2079
>>[main] DEBUG ActiveCallsPlugin  -
>>[LogWriter.java:92][SIPTransaction.java:556][SIPClientTransa
>>ction.java:1301][SIPClientTransaction.java:971][SipSupport.j
>>ava:254][ActiveCallsPlugin.java:87][NativeConstructorAccesso
>>rImpl.java:-2][NativeConstructorAccessorImpl.java:57][Delega
>>tingConstructorAccessorImpl.java:45][Constructor.java:532][C
>>lass.java:372][Class.java:325][RestServiceFinder.java:110][R
>>estServer.java:230]' "
>>"2011-11-28T21:58:21.518868Z"
>>:194835:SUPERVISOR:INFO:icp.pbx.com:SipxProcess-41:B49D5B90:
>>Supervisor: "SipxProcess[SipXrest]::commandOutput '2080
>>[main] ERROR com.hosemccann.sipxplugin.SipSupport  - init:
>>exception in clientTrans.sendRequest()'"
>>"2011-11-28T21:58:21.519178Z"
>>:194836:SUPERVISOR:ERR:icp.pbx.com:SipxProcess-41:B49D5B90:S
>>upervisor: "SipxProcess[SipXrest]::commandOutput
>>'javax.sip.SipException: Invalid argument'"
>>"2011-11-28T21:58:21.519673Z"
>>:194837:SUPERVISOR:ERR:icp.pbx.com:SipxProcess-41:B49D5B90:S
>>upervisor: "SipxProcess[SipXrest]::commandOutput '      at
>>gov.nist.javax.sip.stack.SIPClientTransaction.sendRequest(SI
>>PClientTransaction.java:972)' "
>>"2011-11-28T21:58:21.520006Z"
>>:194838:SUPERVISOR:ERR:icp.pbx.com:SipxProcess-41:B49D5B90:S
>>upervisor: "SipxProcess[SipXrest]::commandOutput '      at
>>com.hosemccann.sipxplugin.SipSupport.doTest(SipSupport.java:
>>254)' "
>>"2011-11-28T21:58:21.520110Z"
>>:194839:SUPERVISOR:ERR:icp.pbx.com:SipxProcess-41:B49D5B90:S
>>upervisor: "SipxProcess[SipXrest]::commandOutput '      at
>>com.hosemccann.sipxplugin.ActiveCallsPlugin.<init>(ActiveCallsPlugin.java:87)'
>>"
>>"2011-11-28T21:58:21.520217Z"
>>:194840:SUPERVISOR:ERR:icp.pbx.com:SipxProcess-41:B49D5B90:S
>>upervisor: "SipxProcess[SipXrest]::commandOutput '      at
>>sun.reflect.NativeConstructorAccessorImpl.newInstance0(Nativ
>>e Method)'"
>>"2011-11-28T21:58:21.520358Z"
>>:194841:SUPERVISOR:ERR:icp.pbx.com:SipxProcess-41:B49D5B90:S
>>upervisor: "SipxProcess[SipXrest]::commandOutput '      at
>>sun.reflect.NativeConstructorAccessorImpl.newInstance(Native
>>ConstructorAccessorImpl.java:57)' "
>>"2011-11-28T21:58:21.520504Z"
>>:194842:SUPERVISOR:ERR:icp.pbx.com:SipxProcess-41:B49D5B90:S
>>upervisor: "SipxProcess[SipXrest]::commandOutput '      at
>>sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De
>>legatingConstructorAccessorImpl.java:45)' "
>>"2011-11-28T21:58:21.520629Z"
>>:194843:SUPERVISOR:ERR:icp.pbx.com:SipxProcess-41:B49D5B90:S
>>upervisor: "SipxProcess[SipXrest]::commandOutput '      at
>>java.lang.reflect.Constructor.newInstance(Constructor.java:5
>>32)' "
>>"2011-11-28T21:58:21.520769Z"
>>:194844:SUPERVISOR:ERR:icp.pbx.com:SipxProcess-41:B49D5B90:S
>>upervisor: "SipxProcess[SipXrest]::commandOutput '      at
>>java.lang.Class.newInstance0(Class.java:372)'"
>>"2011-11-28T21:58:21.521189Z"
>>:194845:SUPERVISOR:ERR:icp.pbx.com:SipxProcess-41:B49D5B90:S
>>upervisor: "SipxProcess[SipXrest]::commandOutput '      at
>>java.lang.Class.newInstance(Class.java:325)'"
>>"2011-11-28T21:58:21.521530Z"
>>:194846:SUPERVISOR:ERR:icp.pbx.com:SipxProcess-41:B49D5B90:S
>>upervisor: "SipxProcess[SipXrest]::commandOutput '      at
>>org.sipfoundry.sipxrest.RestServiceFinder.search(RestService
>>Finder.java:110)' "
>>"2011-11-28T21:58:21.522109Z"
>>:194847:SUPERVISOR:ERR:icp.pbx.com:SipxProcess-41:B49D5B90:S
>>upervisor: "SipxProcess[SipXrest]::commandOutput '      at
>>org.sipfoundry.sipxrest.RestServer.main(RestServer.java:230)
>>' "
>>"2011-11-28T21:58:21.522785Z"
>>:194848:SUPERVISOR:ERR:icp.pbx.com:SipxProcess-41:B49D5B90:S
>>upervisor: "SipxProcess[SipXrest]::commandOutput 'Caused by:
>>java.io.IOException: Invalid argument'"
>>"2011-11-28T21:58:21.522996Z"
>>:194849:SUPERVISOR:ERR:icp.pbx.com:SipxProcess-41:B49D5B90:S
>>upervisor: "SipxProcess[SipXrest]::commandOutput '      at
>>java.net.PlainDatagramSocketImpl.send(Native Method)'"
>>"2011-11-28T21:58:21.523231Z"
>>:194850:SUPERVISOR:ERR:icp.pbx.com:SipxProcess-41:B49D5B90:S
>>upervisor: "SipxProcess[SipXrest]::commandOutput '      at
>>java.net.DatagramSocket.send(DatagramSocket.java:616)'"
>>"2011-11-28T21:58:21.523525Z"
>>:194851:SUPERVISOR:ERR:icp.pbx.com:SipxProcess-41:B49D5B90:S
>>upervisor: "SipxProcess[SipXrest]::commandOutput '      at
>>gov.nist.javax.sip.stack.UDPMessageChannel.sendMessage(UDPMe
>>ssageChannel.java:726)' "
>>"2011-11-28T21:58:21.523814Z"
>>:194852:SUPERVISOR:ERR:icp.pbx.com:SipxProcess-41:B49D5B90:S
>>upervisor: "SipxProcess[SipXrest]::commandOutput '      at
>>gov.nist.javax.sip.stack.MessageChannel.sendMessage(MessageC
>>hannel.java:255)' "
>>"2011-11-28T21:58:21.524059Z"
>>:194853:SUPERVISOR:ERR:icp.pbx.com:SipxProcess-41:B49D5B90:S
>>upervisor: "SipxProcess[SipXrest]::commandOutput '      at
>>gov.nist.javax.sip.stack.SIPTransaction.sendMessage(SIPTrans
>>action.java:745)' "
>>"2011-11-28T21:58:21.524307Z"
>>:194854:SUPERVISOR:ERR:icp.pbx.com:SipxProcess-41:B49D5B90:S
>>upervisor: "SipxProcess[SipXrest]::commandOutput '      at
>>gov.nist.javax.sip.stack.SIPClientTransaction.sendMessage(SI
>>PClientTransaction.java:476)' "
>>"2011-11-28T21:58:21.525523Z"
>>:194855:SUPERVISOR:INFO:icp.pbx.com:SipxProcess-41:B49D5B90:
>>Supervisor: "SipxProcess[SipXrest]::commandOutput '2086
>>[main] INFO  com.hosemccann.sipxplugin.ActiveCallsPlugin  -
>>readConfig: looking for properties in
>>/etc/sipxpbx/activeCallsPlugin.properties'"
>>"2011-11-28T21:58:21.525642Z"
>>:194856:SUPERVISOR:ERR:icp.pbx.com:SipxProcess-41:B49D5B90:S
>>upervisor: "SipxProcess[SipXrest]::commandOutput '      at
>>gov.nist.javax.sip.stack.SIPClientTransaction.sendRequest(SI
>>PClientTransaction.java:968)' "
>>"2011-11-28T21:58:21.525722Z"
>>:194857:SUPERVISOR:ERR:icp.pbx.com:SipxProcess-41:B49D5B90:S
>>upervisor: "SipxProcess[SipXrest]::commandOutput '      ... 10
>>more'"
>>
>>
>>_______________________________________________
>>sipx-users mailing list
>>[email protected]
>>List Archive: http://list.sipfoundry.org/archive/sipx-users/
>>
>_______________________________________________
>sipx-users mailing list
>[email protected]
>List Archive: http://list.sipfoundry.org/archive/sipx-users/
>
>
> 
>
>_______________________________________________
sipx-users mailing list [email protected] List Archive: 
http://list.sipfoundry.org/archive/sipx-users/
_______________________________________________
sipx-users mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-users/

Reply via email to