Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] status line header


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
carles at pina.cat
Guest





PostPosted: Thu Apr 17, 2008 11:01 am    Post subject: [asterisk-users] status line header Reply with quote

Hello,

I need to read the Status-Line (I need to know if it's 603, 503, 404)
after a Dial. I have tried:

exten => s,2,Dial(SIP/${ARG1}@XXXX,,tTwW)
exten => s,3,Set(t=${SIP_HEADER(Status-Line)})

But t is empty

I have also tried:
exten => s,5,Verbose(*** STATUS: ${DIALSTATUS})
exten => s,6,Verbose(*** STATUS2: ${HANGUPCAUSE})

DIALSTATUS: I usually get Congestion (but I know from sniffer that
sometime sStatus-Line is 404, sometmies 603 and sometimes 503).

HANGUPCAUSE: I have used in ISDN but here is always 0.

How could I get the Status-Line code?

Thank you very much,

--
Carles Pina i Estany GPG id: 0x8CBDAE64
http://pinux.info Manresa - Barcelona
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services