On 3 Dec 2005, at 20:27, chawki hammoud wrote:

Hi:
i made the debug and look what i get:
 dial [EMAIL PROTECTED]
    -- Executing Dial("OSS/dsp",
"iax2/callshopcompany/0017046872001") in new stack
    -- Called callshopcompany/0017046872001
Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type:
IAX     Subclass: NEW
   Timestamp: 00016ms  SCall: 00001  DCall: 00000
[213.61.187.150:4569]
   VERSION         : 2
   CALLED NUMBER   : 0017046872001
   LANGUAGE        : en
   USERNAME        : XXXXXX
   FORMAT          : 256
   CAPABILITY      : 63744
   ADSICPE         : 0
   DATE TIME       : 193180416

Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type:
IAX     Subclass: ACK
   Timestamp: 00016ms  SCall: 00061  DCall: 00001
[213.61.187.150:4569]
Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type:
IAX     Subclass: AUTHREQ
   Timestamp: 00025ms  SCall: 00061  DCall: 00001
[213.61.187.150:4569]
   AUTHMETHODS     : 3
   CHALLENGE       : 150845023
   USERNAME        : XXXXXXX

Tx-Frame Retry[000] -- OSeqno: 001 ISeqno: 001 Type:
IAX     Subclass: AUTHREP
   Timestamp: 00274ms  SCall: 00001  DCall: 00061
[213.61.187.150:4569]
   MD5 RESULT      : 3a301d3fc9e1e38504ab6d366c5740f5

Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 002 Type:
IAX     Subclass: ACK
   Timestamp: 00274ms  SCall: 00061  DCall: 00001
[213.61.187.150:4569]
Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 002 Type:
IAX     Subclass: ACCEPT
   Timestamp: 00256ms  SCall: 00061  DCall: 00001
[213.61.187.150:4569]
   FORMAT          : 256

    -- Call accepted by 213.61.187.150 (format g729)
    -- Format for call is g729
Tx-Frame Retry[-01] -- OSeqno: 002 ISeqno: 002 Type:
IAX     Subclass: ACK
   Timestamp: 00256ms  SCall: 00001  DCall: 00061
[213.61.187.150:4569]
Tx-Frame Retry[000] -- OSeqno: 002 ISeqno: 002 Type:
IAX     Subclass: LAGRQ
   Timestamp: 10017ms  SCall: 00001  DCall: 00061
[213.61.187.150:4569]
Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 003 Type:
IAX     Subclass: LAGRP
   Timestamp: 10017ms  SCall: 00061  DCall: 00001
[213.61.187.150:4569]
Tx-Frame Retry[-01] -- OSeqno: 003 ISeqno: 003 Type:
IAX     Subclass: ACK
   Timestamp: 10017ms  SCall: 00001  DCall: 00061
[213.61.187.150:4569]
Rx-Frame Retry[ No] -- OSeqno: 003 ISeqno: 003 Type:
IAX     Subclass: LAGRQ
   Timestamp: 10022ms  SCall: 00061  DCall: 00001
[213.61.187.150:4569]
Tx-Frame Retry[000] -- OSeqno: 003 ISeqno: 004 Type:
IAX     Subclass: LAGRP
   Timestamp: 10022ms  SCall: 00001  DCall: 00061
[213.61.187.150:4569]
Rx-Frame Retry[ No] -- OSeqno: 004 ISeqno: 004 Type:
IAX     Subclass: ACK
   Timestamp: 10022ms  SCall: 00061  DCall: 00001
[213.61.187.150:4569]
Rx-Frame Retry[ No] -- OSeqno: 004 ISeqno: 004 Type:
IAX     Subclass: HANGUP
   Timestamp: 11029ms  SCall: 00061  DCall: 00001
[213.61.187.150:4569]
   Unknown IE 042  : Present

Ignoring unknown information element 'Unknown IE' (42)
of length 1
Tx-Frame Retry[-01] -- OSeqno: 004 ISeqno: 005 Type:
IAX     Subclass: ACK
   Timestamp: 11029ms  SCall: 00001  DCall: 00061
[213.61.187.150:4569]
    -- Hungup 'IAX2/callshopcompany/1'
  == No one is available to answer at this time
    -- Executing Hangup("OSS/dsp", "") in new stack


--- Administrator TOOTAI <[EMAIL PROTECTED]> wrote:


Well, I see 3 things here:
1) your asterisk is _only_ prepared to talk 729 - nothing else - is that what you want?
2) they accept the call then hang up before sending any voice data (or any RINGBACK)
3) your asterisk isn't understanding the reason they are giving for hanging up

The last one is a bit of a puzzle - is this a very old asterisk install? (or is the other end old?)
From the documentation, IE 042 is CauseCode , just what you would like to know!

If it were me I'd 
a) allow some other codecs to see if that's the problem
b) ethereal the traffic and see what the cause code value is
possible values are:
   |    1    |  Unassigned/unallocated number                                        |
   |    2    |  No route to specified transit network                                |
   |    3    |  No route to destination                                              |
   |    6    |  Channel unacceptable                                                 |
   |    7    |  Call awarded and delivered                                           |
   |   16    |  Normal call clearing                                                 |
   |   17    |  User busy                                                            |
   |   18    |  No user response                                                     |
   |   19    |  No answer                                                            |
   |   21    |  Call rejected                                                        |
   |   22    |  Number changed                                                       |
   |   27    |  Destination out of order                                             |
   |   28    |  Invalid number format/incomplete number                              |
   |   29    |  Facility rejected                                                    |
  

Good luck,

Tim.



_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to