-
#5743 |
I am getting this error. Any help please?
2012-12-12 10:05:16,603 Asterisk-Java DaemonPool-1-thread-8 INFO apstel.is. – No available licenses for module: payment
2012-12-12 10:09:23,086 Asterisk-Java DaemonPool-1-thread-8 ERROR org.asteriskjava.fastagi.internal.FastAgiConnectionHandler – AgiException while handling request
org.asteriskjava.fastagi.AgiNetworkException: Unable to read request from Asterisk: No more lines available: null
at org.asteriskjava.fastagi.internal.FastAgiReader.readRequest(FastAgiReader.java:67)
at org.asteriskjava.fastagi.internal.AgiConnectionHandler.run(AgiConnectionHandler.java:109)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: No more lines available: null
at org.asteriskjava.util.internal.SocketConnectionFacadeImpl.readLine(SocketConnectionFacadeImpl.java:154)
at org.asteriskjava.fastagi.internal.FastAgiReader.readRequest(FastAgiReader.java:55)
… 4 more
2012-12-12 10:09:47,167 Asterisk-Java DaemonPool-1-thread-8 ERROR org.asteriskjava.fastagi.internal.FastAgiConnectionHandler – AgiException while handling request
org.asteriskjava.fastagi.AgiNetworkException: Unable to read request from Asterisk: No more lines available: null
at org.asteriskjava.fastagi.internal.FastAgiReader.readRequest(FastAgiReader.java:67)
at org.asteriskjava.fastagi.internal.AgiConnectionHandler.run(AgiConnectionHandler.java:109)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: No more lines available: null
at org.asteriskjava.util.internal.SocketConnectionFacadeImpl.readLine(SocketConnectionFacadeImpl.java:154)
at org.asteriskjava.fastagi.internal.FastAgiReader.readRequest(FastAgiReader.java:55)
… 4 more
2012-12-12 10:09:54,973 Asterisk-Java DaemonPool-1-thread-8 ERROR org.asteriskjava.fastagi.internal.FastAgiConnectionHandler – AgiException while handling request
org.asteriskjava.fastagi.AgiNetworkException: Unable to read request from Asterisk: No more lines available: null
at org.asteriskjava.fastagi.internal.FastAgiReader.readRequest(FastAgiReader.java:67)
at org.asteriskjava.fastagi.internal.AgiConnectionHandler.run(AgiConnectionHandler.java:109)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: No more lines available: null
at org.asteriskjava.util.internal.SocketConnectionFacadeImpl.readLine(SocketConnectionFacadeImpl.java:154)
at org.asteriskjava.fastagi.internal.FastAgiReader.readRequest(FastAgiReader.java:55)
… 4 more
2012-12-12 10:10:53,713 Asterisk-Java DaemonPool-1-thread-8 ERROR org.asteriskjava.fastagi.internal.FastAgiConnectionHandler – AgiException while handling request
org.asteriskjava.fastagi.AgiNetworkException: Unable to read request from Asterisk: No more lines available: null
at org.asteriskjava.fastagi.internal.FastAgiReader.readRequest(FastAgiReader.java:67)
at org.asteriskjava.fastagi.internal.AgiConnectionHandler.run(AgiConnectionHandler.java:109)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: No more lines available: null
at org.asteriskjava.util.internal.SocketConnectionFacadeImpl.readLine(SocketConnectionFacadeImpl.java:154)
at org.asteriskjava.fastagi.internal.FastAgiReader.readRequest(FastAgiReader.java:55)
… 4 more#5744 |Not sure about the error but you have no more free licenses, according to the first line in the log…
— Mike
#5745 |I see that, but i am only using one. I guess that is my question. Why do I get that error when i am only using one? here is the the conf file. Now it did create a inboung and outbound.. could that be it?
; Generated by Visual Dialplan Professional.
Creation date
2012-12-07 14:13:44.564; Created from:
;This context is used to handle all outbound calls.
vdp-outboundexten => 0055,1,Answer()
exten => 0055,n,Set(amount=20)
exten => 0055,n,Read(card_number,EnterCardNumber,16,,3,4)
exten => 0055,n,Read(exp_month,EnterExpMonth,2,,3,5)
exten => 0055,n,Read(exp_year,EnterExpYear,2,,3,4)
exten => 0055,n,Set(ojki_is_pay_amt=${amount})
exten => 0055,n,Set(ojki_is_pay_ccNum=${card_number})
exten => 0055,n,Set(ojki_is_pay_ccExpYr=${exp_year})
exten => 0055,n,Set(ojki_is_pay_ccExpMo=${exp_month})
exten => 0055,n,Set(ojki_is_pay_cardCode=123)
exten => 0055,n,Set(ojki_is_pay_dupWin=11)
exten => 0055,n,Set(ojki_is_pay_invoiceNum=1111)
exten => 0055,n,Set(ojki_is_pay_desc=Sample Transaction)
exten => 0055,n,Set(ojki_is_pay_custFName=John)
exten => 0055,n,Set(ojki_is_pay_custLName=Doe)
exten => 0055,n,Set(ojki_is_pay_custCompany=Apstel)
exten => 0055,n,Set(ojki_is_pay_custAddr=1234 Street)
exten => 0055,n,Set(ojki_is_pay_custCity=NewYork)
exten => 0055,n,Set(ojki_is_pay_custState=WA)
exten => 0055,n,Set(ojki_is_pay_custZip=98004)
exten => 0055,n,Set(ojki_is_pay_custCountry=USA)
exten => 0055,n,Set(ojki_is_pay_custPhone=1233456678)
exten => 0055,n,Set(ojki_is_pay_custEmail=12@12)
exten => 0055,n,AGI(agi://192.168.0.241:9110/SendPayment.agi?srv=Auth.net+Gateway&tid=ojki&as=192.168.0.241)
exten => 0055,n,Hangup();This context is used to handle all inbound calls.
vdp-inboundexten => 0055,1,Answer()
exten => 0055,n,Set(amount=20)
exten => 0055,n,Read(card_number,EnterCardNumber,16,,3,4)
exten => 0055,n,Read(exp_month,EnterExpMonth,2,,3,5)
exten => 0055,n,Read(exp_year,EnterExpYear,2,,3,4)
exten => 0055,n,Set(vbta_is_pay_amt=${amount})
exten => 0055,n,Set(vbta_is_pay_ccNum=${card_number})
exten => 0055,n,Set(vbta_is_pay_ccExpYr=${exp_year})
exten => 0055,n,Set(vbta_is_pay_ccExpMo=${exp_month})
exten => 0055,n,Set(vbta_is_pay_cardCode=123)
exten => 0055,n,Set(vbta_is_pay_dupWin=11)
exten => 0055,n,Set(vbta_is_pay_invoiceNum=1111)
exten => 0055,n,Set(vbta_is_pay_desc=Sample Transaction)
exten => 0055,n,Set(vbta_is_pay_custFName=John)
exten => 0055,n,Set(vbta_is_pay_custLName=Doe)
exten => 0055,n,Set(vbta_is_pay_custCompany=Gardian)
exten => 0055,n,Set(vbta_is_pay_custAddr=1234 Street)
exten => 0055,n,Set(vbta_is_pay_custCity=Columbus)
exten => 0055,n,Set(vbta_is_pay_custState=OH)
exten => 0055,n,Set(vbta_is_pay_custZip=43017)
exten => 0055,n,Set(vbta_is_pay_custCountry=USA)
exten => 0055,n,Set(vbta_is_pay_custPhone=1233456678)
exten => 0055,n,Set(vbta_is_pay_custEmail=12@12)
exten => 0055,n,AGI(agi://192.168.0.241:9110/SendPayment.agi?srv=Guard_Auth_Net&tid=vbta&as=192.168.0.241)
exten => 0055,n,Hangup()#5746 |This turned out to be a bug in the Apstel Program. When remotely configuring a server.. It will tell the IS server the public IP and not the local ip, in some cases this is fine, but in cases of nat it is not.
#5747 |Just curious, how the remote software can ‘see’ the local IP? It should see only public IP, right?
And in case somehow it can see local IP, how to know what is the right local IP when there are several local IPs (which is usual config)?— Mike
You must be logged in to reply to this topic.