Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[asterisk-users] SIP Reason


 
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: Tue Jan 15, 2008 8:01 am    Post subject: [asterisk-users] SIP Reason Reply with quote

Hello,

I'm sniffing traffic between Asterisk and a Softswitch. I see that, in
"Decline" SIP packages, there is a header called "Reason" and I would
like to access to the content of this header from Asterisk.

How I can access to Reason header content?

I would like to access here using ASterisk 1.4 and 1.2, but if it's only
with Asterisk 1.4 will not be a big problem.

Thank you,

--
Carles Pina i Estany GPG id: 0x8CBDAE64
http://pinux.info Manresa - Barcelona
Back to top
oej at edvina.net
Guest





PostPosted: Tue Jan 15, 2008 8:34 am    Post subject: [asterisk-users] SIP Reason Reply with quote

15 jan 2008 kl. 14.01 skrev Carles Pina i Estany:

Quote:

Hello,

I'm sniffing traffic between Asterisk and a Softswitch. I see that, in
"Decline" SIP packages, there is a header called "Reason" and I would
like to access to the content of this header from Asterisk.

How I can access to Reason header content?

I would like to access here using ASterisk 1.4 and 1.2, but if it's
only
with Asterisk 1.4 will not be a big problem.

There's currently no way to access that header in Asterisk.

/O
Back to top
carles at pina.cat
Guest





PostPosted: Tue Jan 15, 2008 9:00 am    Post subject: [asterisk-users] SIP Reason Reply with quote

Hello,

On Jan/15/2008, Johansson Olle E wrote:

Quote:
Quote:
I'm sniffing traffic between Asterisk and a Softswitch. I see that, in
"Decline" SIP packages, there is a header called "Reason" and I would
like to access to the content of this header from Asterisk.

How I can access to Reason header content?

I would like to access here using ASterisk 1.4 and 1.2, but if it's
only
with Asterisk 1.4 will not be a big problem.

There's currently no way to access that header in Asterisk.

Then... next days will be time to code Very Happy

Thanks,

--
Carles Pina i Estany GPG id: 0x8CBDAE64
http://pinux.info Manresa - Barcelona
Back to top
steve.langstaff at cit...
Guest





PostPosted: Tue Jan 15, 2008 9:39 am    Post subject: [asterisk-users] SIP Reason Reply with quote

Won't SIP_HEADER(reason) do that for you?

e.g.

exten => 1996,1,Answer
exten => 1996,n,Set(sip_reason=${SIP_HEADER(reason)})
exten => 1996,n,NoOp(sip_reason)


Quote:
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of
Johansson Olle E
Sent: 15 January 2008 13:35
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] SIP Reason


15 jan 2008 kl. 14.01 skrev Carles Pina i Estany:

Quote:

Hello,

I'm sniffing traffic between Asterisk and a Softswitch. I
see that, in
Quote:
"Decline" SIP packages, there is a header called "Reason"
and I would
Quote:
like to access to the content of this header from Asterisk.

How I can access to Reason header content?

I would like to access here using ASterisk 1.4 and 1.2, but if it's
only with Asterisk 1.4 will not be a big problem.

There's currently no way to access that header in Asterisk.

/O

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
oej at edvina.net
Guest





PostPosted: Tue Jan 15, 2008 10:22 am    Post subject: [asterisk-users] SIP Reason Reply with quote

15 jan 2008 kl. 15.39 skrev Steve Langstaff:

Quote:
Won't SIP_HEADER(reason) do that for you?
No, that's only works on the INVITE that opens the dialog. The reason
header comes in a reply.

/O
Quote:
Back to top
steve.langstaff at cit...
Guest





PostPosted: Tue Jan 15, 2008 11:38 am    Post subject: [asterisk-users] SIP Reason Reply with quote

Quote:
Sent: 15 January 2008 15:23 by Johansson Olle E

15 jan 2008 kl. 15.39 skrev Steve Langstaff:

Quote:
Won't SIP_HEADER(reason) do that for you?
No, that's only works on the INVITE that opens the dialog.
The reason header comes in a reply.

Thanks Olle.

At least no one else saw my foolishness Smile
Back to top
carles at pina.cat
Guest





PostPosted: Tue Jan 15, 2008 12:01 pm    Post subject: [asterisk-users] SIP Reason Reply with quote

Hello,

On Jan/15/2008, Steve Langstaff wrote:
Quote:
Quote:
Sent: 15 January 2008 15:23 by Johansson Olle E

15 jan 2008 kl. 15.39 skrev Steve Langstaff:

Quote:
Won't SIP_HEADER(reason) do that for you?
No, that's only works on the INVITE that opens the dialog.
The reason header comes in a reply.

Thanks Olle.

At least no one else saw my foolishness Smile

I saw Very Happy and I spent some minutes sniffing the SIP conversation. Yes, I
cannot access to reason header but I can access to From, as Johansson
said Smile

Beside code, any other way how to do it?

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