No subject


Thu Jul 12 09:23:04 CDT 2007


  ISUP Cause value                        SIP response 
  ----------------                        ------------ 
  1  unallocated number                   404 Not Found 
  2  no route to network                  404 Not found 
  3  no route to destination              404 Not found 

But if Asterisk does:

  exten => XXX,1,Dial(SIP/non_existing_peer)

it replies:

  SIP/2.0 503 Service Unavailable
  ...
  X-Asterisk-HangupCause: No route to destination
  X-Asterisk-HangupCauseCode: 3

Why not a 404 as RFC 3398 suggests?
====================================================================== 

---------------------------------------------------------------------- 
 ibc - 06-10-08 08:07  
---------------------------------------------------------------------- 
Is it enough with this CLI output?:

-------------
    -- Executing [555 at pruebas:1] Dial("SIP/pruebas200-08186c00",
"SIP/non_existing_peer") in new stack
[Jun 10 15:12:49] WARNING[25734]: chan_sip.c:2923 create_addr: No such
host: non_existing_peer
Really destroying SIP dialog '76ab50685efa771700f227b95aa8897a at 127.0.1.1'
Method: INVITE
[Jun 10 15:12:49] WARNING[25734]: app_dial.c:1183 dial_exec_full: Unable
to create channel of type 'SIP' (cause 3 - No route to destination)
  == Everyone is busy/congested at this time (1:0/0/1)
  == Auto fallthrough, channel 'SIP/pruebas200-08186c00' status is
'CHANUNAVAIL'
Really destroying SIP dialog 'srhbqwsjwhgcfrp at ibc.lan' Method: ACK 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-10-08 08:07  ibc            Note Added: 0088522                          
======================================================================




More information about the asterisk-bugs mailing list