Since this information is available in debug, it is obviously there for the
taking and redistribution.  Someone more versed than I will have to give you
a real answer.  The "Clunky/hack" way to get it would be a "teed" log read
via AGI/AMI.

 

  _____  

From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Scott McNab
Sent: Thursday, February 05, 2009 2:06 AM
To: asterisk-users@lists.digium.com
Subject: [asterisk-users] Configure Asterisk to preserve SIP header?

 

Hello.

Is it possible to configure Asterisk to preserve specific SIP INVITE headers
when setting up a call?

Specifically, I have a custom SIP client that sends an additional header in
the INVITE request when originating a call. This is to request that the call
is auto-answered by the destination phone. i.e.

    Call-Info: <sip:192.168.100.50>;answer-after=0

If I use wireshark to sniff the packets, I can see that this header is
present in the original INVITE request from my SIP phone to Asterisk,
however, in the INVITE message that Asterisk sends to the recipient phone,
this header has been stripped.

Is it possible to configure Asterisk so that it forwards this SIP header
intact? 

I know that it is possible to set up a dialplan to insert this header for
specific extensions, but I really would like to be able to generate this
header using my client!

Any ideas would be greatly appreciated!
Thanks
Scott

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

Reply via email to