[asterisk-users] Re : Asterisk hangs up for some calls

Adil Zaaraoui adilzeaaraoui at yahoo.fr
Tue Jun 15 14:19:49 CDT 2010


Thanks Steve - Back again :),
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.
There is no restriction of the operator.

NOTE: before, MY ASTERISK WORKS PERFECTLY.

2-they said every thing is ok in their system. i tried zoiper, it works perfectly i can make all calls.


3-Here is the output after enbling IAX dugug:

 Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass: NEW    
   Timestamp: 00000ms  SCall: 02203  DCall: 00000 [192.168.1.5:3048]
   VERSION         : 2
   CALLED NUMBER   : 00212675410113
   CALLING NUMBER  : adil at zeaaraoui
   CALLING NAME    : adil at zeaaraoui
   USERNAME        : #000105
   FORMAT          : 76
   CODEC_PREFS     : (ulaw|slin|alaw)

Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX     Subclass: AUTHREQ
   Timestamp: 00002ms  SCall: 04121  DCall: 02203 [192.168.1.5:3048]
   AUTHMETHODS     : 3
   CHALLENGE       : 310289772
   USERNAME        : #000105

Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 001 Type: IAX     Subclass: AUTHREP
   Timestamp: 00016ms  SCall: 02203  DCall: 04121 [192.168.1.5:3048]
   USERNAME        : #000105
   MD5 RESULT      : 8D8EA21DDA56CBE0BE83409A1F70FF77

    -- Accepting AUTHENTICATED call from 192.168.1.5:
       > requested format = unknown,
       > requested prefs = (ulaw|slin|alaw),
       > actual format = ulaw,
       > host prefs = (gsm|ulaw|alaw),
       > priority = mine
    -- Executing [00212675410113 at pstn:1] Set("IAX2/#000105-4121", "calleeNumber=011212675410113") in new stack
Tx-Frame Retry[000] -- OSeqno: 001 ISeqno: 002 Type: IAX     Subclass: ACCEPT 
   Timestamp: 00011ms  SCall: 04121  DCall: 02203 [192.168.1.5:3048]
   FORMAT          : 4

    -- Executing [00212675410113 at pstn:2] AGI("IAX2/#000105-4121", "agi://localhost/ManageCalls.agi?when=before&calleeNumber=011212675410113") in new stack
Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 002 Type: IAX     Subclass: ACK    
   Timestamp: 00011ms  SCall: 02203  DCall: 04121 [192.168.1.5:3048]
    -- AGI Script agi://localhost/ManageCalls.agi?when=before&calleeNumber=011212675410113 completed, returning 0
    -- Executing [00212675410113 at pstn:3] Dial("IAX2/#000105-4121", "IAX2/myLogin at pstn/011212675410113||S(348)") in new stack
    -- Setting call duration limit to 348 seconds.
    -- Called myLogin at pstn/011212675410113
Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass: NEW    
   Timestamp: 00008ms  SCall: 02879  DCall: 00000 [8.17.37.23:4569]
   VERSION         : 2
   CALLED NUMBER   : 011212675410113
   CODEC_PREFS     : (ulaw|gsm|alaw)
   CALLING NUMBER  : #000105
   CALLING PRESNTN : 1
   CALLING TYPEOFN : 0
   CALLING TRANSIT : 0
   CALLING NAME    : #000105
   LANGUAGE        : en
   USERNAME        : myLogin
   FORMAT          : 4
   CAPABILITY      : 14
   ADSICPE         : 2
   DATE TIME       : 2010-06-15  21:15:02

Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX     Subclass: AUTHREQ
   Timestamp: 00016ms  SCall: 05978  DCall: 02879 [8.17.37.23:4569]
   AUTHMETHODS     : 3
   CHALLENGE       : 604023002
   USERNAME        : myLogin

Tx-Frame Retry[000] -- OSeqno: 001 ISeqno: 001 Type: IAX     Subclass: AUTHREP
   Timestamp: 00248ms  SCall: 02879  DCall: 05978 [8.17.37.23:4569]
   MD5 RESULT      : 3909a6bdcc977397198d45f99a00e5d5

Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 002 Type: IAX     Subclass: ACCEPT 
   Timestamp: 00236ms  SCall: 05978  DCall: 02879 [8.17.37.23:4569]
   FORMAT          : 4

    -- Call accepted by 8.17.37.23 (format ulaw)
    -- Format for call is ulaw
Tx-Frame Retry[-01] -- OSeqno: 002 ISeqno: 002 Type: IAX     Subclass: ACK    
   Timestamp: 00236ms  SCall: 02879  DCall: 05978 [8.17.37.23:4569]
Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 002 Type: IAX     Subclass: HANGUP 
   Timestamp: 00794ms  SCall: 05978  DCall: 02879 [8.17.37.23:4569]
   CAUSE CODE      : 16

Tx-Frame Retry[-01] -- OSeqno: 002 ISeqno: 003 Type: IAX     Subclass: ACK    
   Timestamp: 00794ms  SCall: 02879  DCall: 05978 [8.17.37.23:4569]
    -- Hungup 'IAX2/pstn-2879'
    -- No one is available to answer at this time (1:0/0/0)
  == Auto fallthrough, channel 'IAX2/#000105-4121' status is 'NOANSWER'
    -- Executing [h at pstn:1] DeadAGI("IAX2/#000105-4121", "agi://localhost/ManageCalls.agi?when=after") in new stack
    -- AGI Script agi://localhost/ManageCalls.agi?when=after completed, returning 0
    -- Hungup 'IAX2/#000105-4121'
Tx-Frame Retry[000] -- OSeqno: 002 ISeqno: 002 Type: IAX     Subclass: HANGUP 
   Timestamp: 01096ms  SCall: 04121  DCall: 02203 [192.168.1.5:3048]
   CAUSE CODE      : 16

Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 003 Type: IAX     Subclass: ACK    
   Timestamp: 01096ms  SCall: 02203  DCall: 04121 [192.168.1.5:3048]
Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass: REGREQ 
   Timestamp: 00003ms  SCall: 00452  DCall: 00000 [192.168.1.35:4569]
   USERNAME        : 400
   REFRESH         : 60

Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX     Subclass: REGACK 
   Timestamp: 00010ms  SCall: 02971  DCall: 00452 [192.168.1.35:4569]
   USERNAME        : 400
   DATE TIME       : 2010-06-15  21:15:22
   REFRESH         : 60
   APPARENT ADDRES : IPV4 192.168.1.35:4569
   MESSAGE COUNT   : 0

Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 001 Type: IAX     Subclass: ACK    
   Timestamp: 00010ms  SCall: 00452  DCall: 02971 [192.168.1.35:4569]




Warm regards


________________________________
De : Steve Edwards <asterisk.org at sedwards.com>
À : Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users at lists.digium.com>
Envoyé le : Mar 15 juin 2010, 20h 55min 23s
Objet : Re: [asterisk-users] Asterisk hangs up for some calls

On Tue, 15 Jun 2010, Adil Zaaraoui wrote:

> I'm trying for forward some calls to an others asterisk using IAX2 
> protocol. But My asterisk can forward some calls and for others it hangs 
> up automaticaly.

1) What is different about the numbers? Are some international or to 
countries restricted by your provider?

2) What does your provider say when you tell them a particular destination 
failed?

3) If you enable IAX debugging, you may get a clue or get output that may 
be helpful to others.

-- 
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards      sedwards at sedwards.com      Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000

-- 
_____________________________________________________________________
-- 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-users



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100615/8921ccfb/attachment.htm 


More information about the asterisk-users mailing list