[asterisk-users] Add SIP diversion header in originate from AMI?

2011-10-07 Thread Tobias Steen
Hello! I want to thank everyone who helped me out with tips for load balancing asterisk machines in a cluster. I have encountered a new problem that is related to SIP diversion headers in the INVITE. I make calls through the manager interface and now want to add a SIP-Diversion header that

Re: [asterisk-users] Add SIP diversion header in originate from AMI?

2011-10-07 Thread Alex Balashov
Try run your outbound leg through a Local channel. -- This message was painstakingly thumbed out on my mobile, so apologies for brevity, errors, and general sloppiness. Alex Balashov - Principal Evariste Systems LLC 260 Peachtree Street NW Suite 2200 Atlanta, GA 30303 Tel: +1-678-954-0670 Fax:

Re: [asterisk-users] Add SIP diversion header in originate from AMI?

2011-10-07 Thread Jim Dickenson
You can dial a local channel which executes a dial plan that does what you want. Channel: Local/dial_number@cfmc_cdi_private This will use exten dial_number in the cfmc_cdi_private context. If you add something like this to the originate packet Variable: CfMC_Use_CID=5419712513 You can use