is there anyway to change Sip headers in local channels? if a user sets forward on their handset, calls coming in to the handset get diversion header added: Diversion: "202" <sip:202@192.168.1.46>;reason=deflection
Then asterisk sends the call to local channel: - Now forwarding SIP/201-00000483 to 'Local/3333333333@test' (thanks to SIP/202-00000484) and not all Telco providers handle diversion header gracefully, some dont like to see "202" in header. i tried to set the sip header in target "3333333333@test" but asterisk see's this as local channel and wont do sip add header: WARNING[13584]: chan_sip.c:20562 func_header_read: This function can only be used on SIP channels. is there anyway around this?
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users