Hi all. I was reading a sample config someone had posted relating to call forwarding, and in it, they use a Dial command with components that I cannot find any reference to. Can someone point me to a reference which could explain the difference between Dial(SIP/100|20|Ttr,,wW) and Dial(SIP/100,,wW) Specifically, what is the |20|Ttr ? I cannot seem to find any reference which would indicate this is even a valid format for the SIP channel. David Morrow Technical Systems Lead Autodata Solutions Company David.Morrow@Autodata.net http://www.autodatasolutions.com <http://www.autodatasolutions.com/> Tel: (519) 963-3020 Fax: (519) 451-6615 < Lead, follow or get out of the way! > This message has originated from Autodata Solutions. The attached material is the Confidential and Proprietary Information of Autodata Solutions. This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please delete this message and notify the Autodata system administrator at Administrator@autodata.net <mailto:Administrator@autodata.net <mailto:Administrator@autodata.net> > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060512/d78d2e00/attachment.htm
Chris Hastie
2006-May-14 14:46 UTC
[Asterisk-Users] Dial Command Reference for SIP channel
On Fri, 12 May 2006, Dave Morrow <david.morrow@autodata.net> wrote>Hi all.? I was reading a sample config someone had posted relating to >call forwarding, and in it, they use a Dial command with components >that I cannot find any reference to. >? >Can someone point me to a reference which could explain the difference >between Dial(SIP/100|20|Ttr,,wW) and Dial(SIP/100,,wW) >Specifically, what is the |20|Ttr ?? I cannot seem to find any >reference which would indicate this is even a valid format for the SIP >channel.Well to my inexpert eye it looks wrong. Are you sure about the those stray commas in the first example? Arguments can be separated by either a comma (,) or a pipe (|). So in your first you are dialling the SIP/100 with a 20 seconds timeout. What's left I think should be TtrwW, not Ttr,,wW. These are the 'options' and are as listed at http://www.voip-info.org/wiki-Asterisk+cmd+Dial. So if you loose those rogue commas, the answer to your "what's the difference" question is a specific time out value, the ability for both parties to perform transfers and a ringing tone. -- Chris Hastie
Dave Morrow wrote:> Hi all. I was reading a sample config someone had posted relating to > call forwarding, and in it, they use a Dial command with components > that I cannot find any reference to. > > Can someone point me to a reference which could explain the difference > between Dial(SIP/100|20|Ttr,,wW) and Dial(SIP/100,,wW) > Specifically, what is the |20|Ttr ? I cannot seem to find any > reference which would indicate this is even a valid format for the SIP > channel. >http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+Dial Doug -- Ben Franklin quote: "Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."
Eric "ManxPower" Wieling
2006-May-14 15:51 UTC
[Asterisk-Users] Dial Command Reference for SIP channel
Doug Lytle wrote:> Dave Morrow wrote: >> Hi all. I was reading a sample config someone had posted relating to >> call forwarding, and in it, they use a Dial command with components >> that I cannot find any reference to. >> >> Can someone point me to a reference which could explain the difference >> between Dial(SIP/100|20|Ttr,,wW) and Dial(SIP/100,,wW) >> Specifically, what is the |20|Ttr ? I cannot seem to find any >> reference which would indicate this is even a valid format for the SIP >> channel. >> > http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+DialOr "show application dial" in the Asterisk CLI. Dial(SIP/100|20|Ttr,,wW) is NOT a valid Dial command. In Asterisk a "|" is the same as a ",". In fact "," is translated into a "|" internally, as you can see by watching the CLI. -- Now accepting new clients in Birmingham, Atlanta, Huntsville, Chattanooga, and Montgomery.