[asterisk-users] Simple example for call transfer.
Hello, i hev a subscription to a international voip provider and I want all calls for numbers _001xx to go through my voip provider. I tried many settings in sip.conf, extensions.conf and iax.conf. Please give me some simple example for how can i transfer the specified calls to my external voip provider. What may I put and where in witch file. Thank you for your support. ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Simple example for call transfer.
On Wed, Oct 25, 2006 at 07:14:23PM +0300, Jonson Player wrote: i hev a subscription to a international voip provider and I want all calls for numbers _001xx to go through my voip provider. I tried many settings in sip.conf , extensions.conf and iax.conf. Please give me some simple example for how can i transfer the specified calls to my external voip provider. What may I put and where in witch file. How about showing us: (a) what you tried, i.e. the contents of those files; (b) what happened (in terms of what the call did, and what Asterisk displayed on the console); and (c) what you think should have happened. Then we might be able to help you - and you might also solve the problem yourself in the process. See http://www.catb.org/~esr/faqs/smart-questions.html#intro for more suggestions on how to ask questions in a useful way. In any case, a good read is Asterisk: The Future of Telephony, downloadable for free from www.asteriskdocs.org. The chapters on dialplans (ch 5 and 6) should tell you what you need. Regards, Brian. ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Simple example for call transfer.
In your extensions.conf in the proper context {a [context] is placed within parenthesis) you should have:exten = _001,1,Dial(SIP/yourprovider/${EXTEN})If you needed to strip the leading two zeros and replace that with a single number 9, you would have: exten = _001,1,Dial(SIP/yourprovider/9${EXTEN:2}If the number of digits dialed isn't always fixed (the above examples assume, including the 001 prefix, that the number you are dialing is EXACTLY fifteen digits long) and you wanted to play music on hold while the call rings AND you wanted it to stop trying that number after 30 seconds, then you would use: exten _001.,1,Dial(SIP/yourprovider${EXTEN}|30,m)These examples should give you the basic foundation of understanding to scuplt your own dialplans, if in doubt of anything take a look here: http://www.voip-info.org/tiki-index.php?page=Asterisk%20config%20extensions.confIts the offical non-offical Asterisk documentation site!0n 10/25/06, Jonson Player [EMAIL PROTECTED] wrote: Hello, i hev a subscription to a international voip provider and I want all calls for numbers _001xx to go through my voip provider. I tried many settings in sip.conf, extensions.conf and iax.conf. Please give me some simple example for how can i transfer the specified calls to my external voip provider. What may I put and where in witch file. Thank you for your support. ___--Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing listTo UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users