Ruby Code, Inbound call switch
-
- Posts: 3
- Joined: Wed Jun 11, 2008 8:46 am
Ruby Code, Inbound call switch
Hello,
I am using voipdiscount. I would like to know whether it is possible to use mysipswitch in combination with voxalot in order to place calls with VoipDiscount. Here is the clarification:
I would call the sipbroker access numbers and dial the number of my voxalot account
Then I would like to be able to place calls through my voipdiscount accont (as that provider only offers limited access numbers throughout the world)
Additionally, I would like to know how calls can be forwarded using certain sip accounts. In the help section I found:
5) inboundnb = req.Header.From.FromURI.User
6)
7) case inboundnb
8 ) when /^0034/ then sys.Dial(”0039051xxxxxx@provider1″)
How do I configure provider1? Is there a general help section on the Ruby programming language?
Thanks a lot for your support.
Regards
CaptainKebab
I am using voipdiscount. I would like to know whether it is possible to use mysipswitch in combination with voxalot in order to place calls with VoipDiscount. Here is the clarification:
I would call the sipbroker access numbers and dial the number of my voxalot account
Then I would like to be able to place calls through my voipdiscount accont (as that provider only offers limited access numbers throughout the world)
Additionally, I would like to know how calls can be forwarded using certain sip accounts. In the help section I found:
5) inboundnb = req.Header.From.FromURI.User
6)
7) case inboundnb
8 ) when /^0034/ then sys.Dial(”0039051xxxxxx@provider1″)
How do I configure provider1? Is there a general help section on the Ruby programming language?
Thanks a lot for your support.
Regards
CaptainKebab
Hi CaptainKebab,
"Provider1" :
The 1st thing you need to do is to register your SIP Accounts details. In the configuration page, just underneath the menu you'll see a "Add new" link.
Click on it and add your Voipdiscount details. If you don't want/need to receive calls with it, don't tick the 'Register with this provider' box.
Name it, for instance, voipdiscout, or provider1 or kebab ...
That name will be used in the dial plan, as in the example you copied/pasted.
You'll also need to add your voxalot details.
Then with the actual dial plan, I recommend you the article we published on the blog : Inbound call management with Ruby.
If you are stuck, do not hesitate to post again
HTH
Guillaume
PS: I moved your post to the Getting Started section
"Provider1" :
The 1st thing you need to do is to register your SIP Accounts details. In the configuration page, just underneath the menu you'll see a "Add new" link.
Click on it and add your Voipdiscount details. If you don't want/need to receive calls with it, don't tick the 'Register with this provider' box.
Name it, for instance, voipdiscout, or provider1 or kebab ...
That name will be used in the dial plan, as in the example you copied/pasted.
You'll also need to add your voxalot details.
Then with the actual dial plan, I recommend you the article we published on the blog : Inbound call management with Ruby.
If you are stuck, do not hesitate to post again
HTH
Guillaume
PS: I moved your post to the Getting Started section
Blueface [url=http://www.blueface.ie/]Phone[/url] Service
-
- Posts: 3
- Joined: Wed Jun 11, 2008 8:46 am
place calls with voipdiscount on mysipswitch
thanks a lot for your information. It really helped.
I have another question:
I do use voipdiscount to place national and international calls. However, the access numbers are rare and not available in every country.
I would like to know if I can call my voxalot account throught the known pstn numbers and then somehow switch my call to my voipdiscount account to place international calls. To put it short, does anybody know anther way to increase the access numbers for voipdiscount (e.g. use also sipbroker access numbers)
Thank you for your support
Regards
CaptainKebab
I have another question:
I do use voipdiscount to place national and international calls. However, the access numbers are rare and not available in every country.
I would like to know if I can call my voxalot account throught the known pstn numbers and then somehow switch my call to my voipdiscount account to place international calls. To put it short, does anybody know anther way to increase the access numbers for voipdiscount (e.g. use also sipbroker access numbers)
Thank you for your support
Regards
CaptainKebab
-
- Posts: 43
- Joined: Mon Sep 24, 2007 4:40 pm
- Location: bangalore, india
You can register at sipbroker with login as "yoursipswitchaccount@sip.mysipswitch.com" and any password (not your sipswitch password). After registering, login to sipbroker, and under the "SIP Broker alias" provide your country and alias you want. Submit, and int he next screen, at the top, you will get a message like
You can use this code for calling from any sip broker access number. This will reach your sipswitch dial plan, and you can set the outgoing call to voipdiscount.
Code: Select all
Your SIP Broker number(s) are *011-123456
-
- Posts: 3
- Joined: Wed Jun 11, 2008 8:46 am
okay,
I understand your explanation. Basically, I open another account. Every call from that account is forwarded to somewhere else.
However, in my dialplan I can only set one number to be forwarded to. Is there a way to be able to call all / mulitple destination numbers using that sipbroker account as my access number and the call fees managed by my voipdiscount account?
Thanks for the fast response.
CaptainKebab
I understand your explanation. Basically, I open another account. Every call from that account is forwarded to somewhere else.
However, in my dialplan I can only set one number to be forwarded to. Is there a way to be able to call all / mulitple destination numbers using that sipbroker account as my access number and the call fees managed by my voipdiscount account?
Thanks for the fast response.
CaptainKebab
-
- Posts: 43
- Joined: Mon Sep 24, 2007 4:40 pm
- Location: bangalore, india
This might help:
1. Register for free account at pbxes.com. Register to tpad.
2. make a trunk for tpad and one for mysipswitch.
3. in inbound routing point tpad to "calthru"
4. in outbound routing keep myswitchswitch
Call the Sip broker PSTN access number. Dial *8142-<your tpad number>
You will hear a dial tone. Dial the destination number
The destination number will be processed by the dial plan in your sipswitch account.
1. Register for free account at pbxes.com. Register to tpad.
2. make a trunk for tpad and one for mysipswitch.
3. in inbound routing point tpad to "calthru"
4. in outbound routing keep myswitchswitch
Call the Sip broker PSTN access number. Dial *8142-<your tpad number>
You will hear a dial tone. Dial the destination number
The destination number will be processed by the dial plan in your sipswitch account.
You should also place a asterisk before the Tpad number in this particular case: *8412*XXXXXXsudeepdennis wrote:
Call the Sip broker PSTN access number. Dial *8142-<your tpad number>
You will hear a dial tone. Dial the destination number
The destination number will be processed by the dial plan in your sipswitch account.
(notice also the correct Tpad prefix)
Thanks, The Fug.
gear: my ISP's Zyxel Modem/Router in bridge, Sitecom WL309 Router, Siemens Gigaset 301D
gear: my ISP's Zyxel Modem/Router in bridge, Sitecom WL309 Router, Siemens Gigaset 301D