How do I how to send a call as number@context ?
On Mar 26, 2005, at 9:38 PM, AS wrote:> How do I how to send a call as number@context ? >Not exactly sure what you are asking. If you are trying to dial a specific extension within a specific context then I use a GoTo. [currentcontext] exten => 8885551212,1,GoTo(anothercontext,100,1) [anothercontext] exten => 100,1,Dial(whatever)
Since I make call forward to an extension l by default it will attach your DIAL(local/9613XXXXX@from-internal) from the context "from-internal" which is linked to a trunk , The script is located at /var/lib/asterisk/agi-bin/dialparties.agi I $dialstring = 'Local/'.$extnum.'@from-internal'; How can I let it find the context ? automatically $context ? Instead of '@from-internal' Please help regards ********************************************* No employee or agent is authorized to conclude any binding agreement on behalf of Xplorium with another party by e-mail without express written confirmation by an officer of Xplorium. Any views expressed by an individual in this electronic message do not necessarily reflect views of Xplorium or its subsidiaries and associates. This electronic message and its attachments are solely addressed to the addressee(s), and contain confidential information protected from disclosure belonging to Xplorium. If you are not the intended addressee of this electronic message and its attachments, kindly delete it immediately from your system and notify the sender by electronic mail. You must not copy this message or attachment or disclose its content to any other person. Xplorium does not guarantee the integrity of this electronic message and any of its attachments, or that they are free from computer viruses or other defects. ********************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060712/cc21bc67/attachment.htm
Dear I have two contexts how could I isolate context A from context B ,in other words I want to ban context A from calling context B Regards ********************************************* No employee or agent is authorized to conclude any binding agreement on behalf of Xplorium with another party by e-mail without express written confirmation by an officer of Xplorium. Any views expressed by an individual in this electronic message do not necessarily reflect views of Xplorium or its subsidiaries and associates. This electronic message and its attachments are solely addressed to the addressee(s), and contain confidential information protected from disclosure belonging to Xplorium. If you are not the intended addressee of this electronic message and its attachments, kindly delete it immediately from your system and notify the sender by electronic mail. You must not copy this message or attachment or disclose its content to any other person. Xplorium does not guarantee the integrity of this electronic message and any of its attachments, or that they are free from computer viruses or other defects. ********************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060911/70d1b875/attachment.htm