|
|
Dia
Premium Account
Registration Date: 03.03.2006
Posts: 1443
|
|
I face similar problems with my VBuzzer trunk. In my case the incoming used to work, but now has stopped. So when I looked for info on the interaction between VBuzzer and Asterisk, I found the following which might help us with this issue.
The link to the original is: http://voxilla.com/PNphpBB2-viewtopic-t-...c-start-22.html
Zitat: |
With hindsight, when vbuzzer changed from 416 numbers they are looking for a username (just like Sipgate) and not the DID. For posterity I should now post my working configuration: |
|
code: |
In sip.conf
[general]
port = 5050 ; Port to bind to (SIP is 5060)
bindaddr = 0.0.0.0 ; Address to bind to (all addresses on machine)
bindport = 5050
useragent=VBuzzer/1.1.1.2
In sip_nat.conf
nat=yes
externhost=syedamerali.dyndns.org
fromdomain = syedamerali.dyndns.org
localnet = 192.168.1.0/255.255.255.0
In sip_conf
[VBuzzer]
username=syedamerali
useragent=VBuzzer/1.1.1.2
user=syedamerali
type=friend
secret=XXXXXXXXXXX
restrictcid=yes
qualify=3000
port=80
nat=yes
insecure=very
host=vbuzzer.com
hidecallerid=yes
fromuser=syedamerali
fromdomain=vbuzzer.com
dtmfmode=RFC2833
disallow=all
context=from-internal
context=inbound-allroutes-custom
canreinvite=no
authname=syedamerali
auth=md5
allow=g729,ulaw
In extensions.conf
[inbound-allroutes-custom]
exten => syedamerali,1,NoOp(Incoming call from vbuzzer 416 extension)
exten => syedamerali,2,Answer()
exten => syedamerali,3,Dial(SIP/210&SIP/200&SIP/202,60,Ttr)
exten => syedamerali,4,Hangup
Register String
syedamerali:XXXXXXXX:syedamerali@VBuzzer/syedamerali |
|
|
|
04.05.2006 19:58 |
|
tbn
Premium Account
Registration Date: 07.03.2006
Posts: 5
|
|
I have found another post related to Vbuzzer trunks and Asterirk, and since I cannot get my trunk to even register on the PBX, I will display the contents here.
The original is at this link: http://www.vbuzzer.com/forum/viewtopic.php?t=513
There have been many attempted tutorials for Asterisk + VBuzzer however none of them have worked to my liking, thus I have created my own. I do not guarantee this tutorial, however it has worked on my machine.
The following settings should be made in sip.conf
Put the following line underneath [general] (All on one line)
code: |
register => username:password:username@vbuzzer.com:80/1VBuzzerNumber |
|
Put the following at the bottom of sip.conf :
code: |
[vbuzzer]
allow=ulaw
auth=md5
authname=YOURVBUZZERUSERNAME
canreinvite=no
context=vbuzzer ; PLEASE LEAVE THIS SETTING!
;disallow=all
;dtmfmode=inband
fromdomain=vbuzzer.com ; do NOT suffix with :80
fromuser=YOURVBUZZERUSERNAME
hidecallerid=yes
host=vbuzzer.com ; do NOT suffix with :80
insecure=very
nat=yes
port=80
;qualify=yes
restrictcid=yes
secret=YOURVBUZZERPASSWORD
type=friend
username=YOURVBUZZERUSERNAME
useragent=VBuzzer/1.0 |
|
Put the below code at the bottom of extensions.conf :
code: |
[vbuzzer]
exten=> s,1,Answer()
exten=> s,2,Wait(2)
exten=> s,3,goto(submenu,s,1)
exten => 1,1,Answer()
exten => 1YOURVBUZZERNUMBER,2,Wait(2)
exten => 1YOURVBUZZERNUMBER,3,Goto(submenu,s,1) |
|
The above code guarantees that calls will pass from your phone number into the above context AND THEN into a context called SUBMENU. From submenu it is up to you how you want to route the call.
Note: I have not attempted *in any way* to facilitate calls from internal -> external as I do not pay for outbound calls at this point in time. If someone wants to graciously donate their time to create the necessary changes to facilitate calls, im sure the community would benefit.
|
|
30.05.2006 06:12 |
|
tbn
Premium Account
Registration Date: 07.03.2006
Posts: 5
|
|
|
21.10.2006 18:48 |
|
|
|
|
|
|
|