Hi All, I'm doing some simple paging functions and using the SIPAddHeader cmd. * 1.2 branch. Using it in the extensions.conf file, it works fine:
exten => _*2XX,1,SIPAddHeader(Call-Info: sip:\;answer-after=0) in * console: lab2*CLI> -- Executing SIPAddHeader("SIP/204-0818dcd0", "Call-Info: sip:;answer-after=0") in new stack When i put the same cmd in Realtime MySQL, I get this: -- Executing SIPAddHeader("SIP/53683-7ca5", ";answer-after=0") in new stack Pulling the command from MySQL I loos the 'Call-Info: sip:' part of the appdata field Here is a direct query form MySQL: mysql> select * from extensions where id like '5801'\G; *************************** 1. row *************************** id: 5801 context: demo exten: *107 priority: 1 app: SIPAddHeader appdata: Call-Info: sip:\;answer-after=0 accountcode: 0000 notes: 0000 1 row in set (0.01 sec) I'm wondering if the colons or the back slash is affecting this coming into asterisk? Thanks. JR -- JR Richardson Engineering for the Masses _______________________________________________ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --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