Hello Group, what does the Compiler Option mean "LOTS_OF_SPANS" ? The description is: "More than 32 DAHDI spans" Does this mean, more than 32 DAHDI Channels ? Thanx for help. Daniel
Adil Zaaraoui
2010-Jun-19 23:12 UTC
[asterisk-users] Peer status unreachable/problem in IAX packets
Dear Asterisker, I am using java-asterisk-IAX, java based application, that implemented the IAX2 protocol. I am registred with this applet to my asterisk; when i try to show iax2 peers in my asterisk, i get my status UNREACHABLE. I have no firewall in my network; i tried qualify=3000 and still getting the same problem. I tried using zoiper and it works. Here is the output of iax2 debugger: Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: POKE Timestamp: 00008ms SCall: 04243 DCall: 00000 [192.168.1.8:2345] Tx-Frame Retry[001] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: POKE Timestamp: 00008ms SCall: 04243 DCall: 00000 [192.168.1.8:2345] Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: ACK Timestamp: 00008ms SCall: 00000 DCall: 04243 [192.168.1.8:2345] Tx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: INVAL Timestamp: 00000ms SCall: 04243 DCall: 00000 [192.168.1.8:2345] Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: PONG Timestamp: 00008ms SCall: 00000 DCall: 04243 [192.168.1.8:2345] Tx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: INVAL Timestamp: 00000ms SCall: 04243 DCall: 00000 [192.168.1.8:2345] Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: ACK Timestamp: 00008ms SCall: 00000 DCall: 04243 [192.168.1.8:2345] Tx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: INVAL Timestamp: 00000ms SCall: 04243 DCall: 00000 [192.168.1.8:2345] Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: PONG Timestamp: 00008ms SCall: 00000 DCall: 04243 [192.168.1.8:2345] Tx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: INVAL Timestamp: 00000ms SCall: 04243 DCall: 00000 [192.168.1.8:2345] Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 001 Type: IAX Subclass: ACK Timestamp: 00000ms SCall: 00000 DCall: 04243 [192.168.1.8:2345] Tx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: INVAL Timestamp: 00000ms SCall: 04243 DCall: 00000 [192.168.1.8:2345] I tried an other time to print the output, i get as before, my asterisk sends twice the request (poke): Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: POKE Timestamp: 00008ms SCall: 04243 DCall: 00000 [192.168.1.8:2345] Tx-Frame Retry[001] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: POKE Timestamp: 00008ms SCall: 04243 DCall: 00000 [192.168.1.8:2345] It seems like asterisk does not receive the Acknowledgement in time for the first poke and resend an other poke. shall i tell asterisk to wait a period of time ? if yes, how to tell asterisk to wait a period of time before resending an other request? or shall i increase the UDP session timeout? by default in my router it is set to 300 Thanks for your help -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100619/bfd27c9f/attachment.htm
On Saturday 19 June 2010 10:47:07 Daniel Knoll wrote:> Hello Group, > what does the Compiler Option mean "LOTS_OF_SPANS" ? > The description is: "More than 32 DAHDI spans" > Does this mean, more than 32 DAHDI Channels ?No, it means spans. If you only have analog DAHDI channels, then you should ignore this option. It is meant for those with PRI or SS7 links. -- Tilghman Lesher Digium, Inc. | Senior Software Developer twitter: Corydon76 | IRC: Corydon76-dig (Freenode) Check us out at: www.digium.com & www.asterisk.org
ok, thanx for your answer. Daniel Am 20.06.2010 um 19:17 schrieb Tilghman Lesher:> On Saturday 19 June 2010 10:47:07 Daniel Knoll wrote: >> Hello Group, >> what does the Compiler Option mean "LOTS_OF_SPANS" ? >> The description is: "More than 32 DAHDI spans" >> Does this mean, more than 32 DAHDI Channels ? > > No, it means spans. If you only have analog DAHDI channels, then > you should ignore this option. It is meant for those with PRI or SS7 > links. > > -- > Tilghman Lesher > Digium, Inc. | Senior Software Developer > twitter: Corydon76 | IRC: Corydon76-dig (Freenode) > Check us out at: www.digium.com & www.asterisk.org > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-usersDaniel Knoll Liberdastr. 9 12047 Berlin fon +49 (0)179 20 16 50 8 mail daniel at danielknoll.de web www.danielknoll.de -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100620/36cbee24/attachment.htm