<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:10pt">Thanks Steve - Back again :),<br>1- Asterisk now forwads calls to my cell phone operator, but it does not forward for other international numbers or others operator of my country.<br>There is no restriction of the operator.<br><br>NOTE: before, MY ASTERISK WORKS PERFECTLY.<br><br>2-they said every thing is ok in their system. i tried zoiper, it works perfectly i can make all calls.<br><div><br>3-Here is the output after enbling IAX dugug:<br><br> Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: NEW <br> Timestamp: 00000ms SCall: 02203 DCall: 00000 [192.168.1.5:3048]<br> VERSION : 2<br> CALLED NUMBER :
00212675410113<br> CALLING NUMBER : adil@zeaaraoui<br> CALLING NAME : adil@zeaaraoui<br> USERNAME : #000105<br> FORMAT : 76<br> CODEC_PREFS : (ulaw|slin|alaw)<br><br>Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: AUTHREQ<br> Timestamp: 00002ms SCall: 04121 DCall: 02203 [192.168.1.5:3048]<br> AUTHMETHODS : 3<br> CHALLENGE : 310289772<br> USERNAME : #000105<br><br>Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: AUTHREP<br> Timestamp: 00016ms SCall: 02203 DCall: 04121
[192.168.1.5:3048]<br> USERNAME : #000105<br> MD5 RESULT : 8D8EA21DDA56CBE0BE83409A1F70FF77<br><br> -- Accepting AUTHENTICATED call from 192.168.1.5:<br> > requested format = unknown,<br> > requested prefs = (ulaw|slin|alaw),<br> > actual format = ulaw,<br> > host prefs = (gsm|ulaw|alaw),<br> > priority = mine<br> -- Executing [00212675410113@pstn:1] Set("IAX2/#000105-4121", "calleeNumber=011212675410113") in new stack<br>Tx-Frame Retry[000] -- OSeqno: 001 ISeqno: 002 Type: IAX Subclass: ACCEPT <br> Timestamp: 00011ms SCall: 04121 DCall: 02203 [192.168.1.5:3048]<br>
FORMAT : 4<br><br> -- Executing [00212675410113@pstn:2] AGI("IAX2/#000105-4121", "agi://localhost/ManageCalls.agi?when=before&calleeNumber=011212675410113") in new stack<br>Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 002 Type: IAX Subclass: ACK <br> Timestamp: 00011ms SCall: 02203 DCall: 04121 [192.168.1.5:3048]<br> -- AGI Script agi://localhost/ManageCalls.agi?when=before&calleeNumber=011212675410113 completed, returning 0<br> -- Executing [00212675410113@pstn:3] Dial("IAX2/#000105-4121", "IAX2/myLogin@pstn/011212675410113||S(348)") in new stack<br> -- Setting call duration limit to 348 seconds.<br> -- Called myLogin@pstn/011212675410113<br>Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass:
NEW <br> Timestamp: 00008ms SCall: 02879 DCall: 00000 [8.17.37.23:4569]<br> VERSION : 2<br> CALLED NUMBER : 011212675410113<br> CODEC_PREFS : (ulaw|gsm|alaw)<br> CALLING NUMBER : #000105<br> CALLING PRESNTN : 1<br> CALLING TYPEOFN : 0<br> CALLING TRANSIT : 0<br> CALLING NAME : #000105<br> LANGUAGE : en<br> USERNAME : myLogin<br> FORMAT : 4<br> CAPABILITY : 14<br> ADSICPE : 2<br> DATE TIME :
2010-06-15 21:15:02<br><br>Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: AUTHREQ<br> Timestamp: 00016ms SCall: 05978 DCall: 02879 [8.17.37.23:4569]<br> AUTHMETHODS : 3<br> CHALLENGE : 604023002<br> USERNAME : myLogin<br><br>Tx-Frame Retry[000] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: AUTHREP<br> Timestamp: 00248ms SCall: 02879 DCall: 05978 [8.17.37.23:4569]<br> MD5 RESULT : 3909a6bdcc977397198d45f99a00e5d5<br><br>Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 002 Type: IAX Subclass: ACCEPT <br> Timestamp: 00236ms SCall: 05978 DCall: 02879 [8.17.37.23:4569]<br>
FORMAT : 4<br><br> -- Call accepted by 8.17.37.23 (format ulaw)<br> -- Format for call is ulaw<br>Tx-Frame Retry[-01] -- OSeqno: 002 ISeqno: 002 Type: IAX Subclass: ACK <br> Timestamp: 00236ms SCall: 02879 DCall: 05978 [8.17.37.23:4569]<br>Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 002 Type: IAX Subclass: HANGUP <br> Timestamp: 00794ms SCall: 05978 DCall: 02879 [8.17.37.23:4569]<br> CAUSE CODE : 16<br><br>Tx-Frame Retry[-01] -- OSeqno: 002 ISeqno: 003 Type: IAX Subclass: ACK <br> Timestamp: 00794ms SCall: 02879 DCall: 05978 [8.17.37.23:4569]<br> -- Hungup 'IAX2/pstn-2879'<br> -- No one is available to answer at
this time (1:0/0/0)<br> == Auto fallthrough, channel 'IAX2/#000105-4121' status is 'NOANSWER'<br> -- Executing [h@pstn:1] DeadAGI("IAX2/#000105-4121", "agi://localhost/ManageCalls.agi?when=after") in new stack<br> -- AGI Script agi://localhost/ManageCalls.agi?when=after completed, returning 0<br> -- Hungup 'IAX2/#000105-4121'<br>Tx-Frame Retry[000] -- OSeqno: 002 ISeqno: 002 Type: IAX Subclass: HANGUP <br> Timestamp: 01096ms SCall: 04121 DCall: 02203 [192.168.1.5:3048]<br> CAUSE CODE : 16<br><br>Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 003 Type: IAX Subclass: ACK <br> Timestamp: 01096ms SCall: 02203 DCall: 04121 [192.168.1.5:3048]<br>Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ
<br> Timestamp: 00003ms SCall: 00452 DCall: 00000 [192.168.1.35:4569]<br> USERNAME : 400<br> REFRESH : 60<br><br>Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REGACK <br> Timestamp: 00010ms SCall: 02971 DCall: 00452 [192.168.1.35:4569]<br> USERNAME : 400<br> DATE TIME : 2010-06-15 21:15:22<br> REFRESH : 60<br> APPARENT ADDRES : IPV4 192.168.1.35:4569<br> MESSAGE COUNT : 0<br><br>Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: ACK <br> Timestamp: 00010ms SCall: 00452
DCall: 02971 [192.168.1.35:4569]<br><br></div><div style="font-family: times new roman,new york,times,serif; font-size: 10pt;"><br><br>Warm regards<br><div style="font-family: arial,helvetica,sans-serif; font-size: 13px;"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">De :</span></b> Steve Edwards <asterisk.org@sedwards.com><br><b><span style="font-weight: bold;">À :</span></b> Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users@lists.digium.com><br><b><span style="font-weight: bold;">Envoyé le :</span></b> Mar 15 juin 2010, 20h 55min 23s<br><b><span style="font-weight: bold;">Objet :</span></b> Re: [asterisk-users] Asterisk hangs up for some calls<br></font><br>On Tue, 15 Jun 2010, Adil Zaaraoui wrote:<br><br>> I'm trying for forward some calls to an others asterisk using IAX2 <br>> protocol. But My asterisk can forward some calls and for others it hangs <br>> up
automaticaly.<br><br>1) What is different about the numbers? Are some international or to <br>countries restricted by your provider?<br><br>2) What does your provider say when you tell them a particular destination <br>failed?<br><br>3) If you enable IAX debugging, you may get a clue or get output that may <br>be helpful to others.<br><br>-- <br>Thanks in advance,<br>-------------------------------------------------------------------------<br>Steve Edwards <a ymailto="mailto:sedwards@sedwards.com" href="mailto:sedwards@sedwards.com">sedwards@sedwards.com</a> Voice: +1-760-468-3867 PST<br>Newline Fax: +1-760-731-3000<br><br>-- <br>_____________________________________________________________________<br>-- Bandwidth and Colocation Provided by <a
href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>New to Asterisk? Join us for a live introductory webinar every Thurs:<br> <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></div></div>
</div><br>
</body></html>