John Millican
2005-Apr-17 18:11 UTC
[Asterisk-Users] Register two account at Broadvoice with one asterisk box
Hello all, I have asked this question of Broadvoice support and the following is their responce: John, Unfortunately we are not able to fully support asterisk. We refer customers to the Asterisk forums where users are quite well versed and some are affiliated with BroadVoice. The only thing that comes to mind is that you may have to specify different ports for each number. Thank you, BroadVoice Customer Care tried voip-inf.org and not getting responce (down? or just me?) I can call in to and out of * from either number/account that i have. The problem is i would like to answer with different prompts based on which account/number the called dialed but broadvoice sends the call as if it came from whichever account i register second. Executing Answer("SIP/xxxxxx1492-d5d8", "") in new stack This is the same regardless off the number i call. I have tried register => <user>:<pass>@sip.broadvoice.com:5060 for first line and <user2>:<pass2>@sip.broadvoice.com:5061 this does not work for me. Is it possible to register on different ports? relevant sip.conf [broadvoice] type=peer username=xxxxxx1405 fromuser=xxxxxx1405 secret=<sniped pass> host=sip.broadvoice.com fromdomain=sip.broadvoice.com context=broadvoice dtmfmode=inband disallow=all allow=ulaw canreinvite=no nat=yes insecure=very [broadvoice2] type=peer username=xxxxxx1492 fromuser=xxxxxx1492 secret=<sniped pass> host=sip.broadvoice.com fromdomain=sip.broadvoice.com context=broadvoice2 dtmfmode=inband disallow=all allow=ulaw canreinvite=no nat=yes insecure=very any help is much appreciated Thank you, John M
trixter http://www.0xdecafbad.com
2005-Apr-17 18:53 UTC
[Asterisk-Users] Register two account at Broadvoice with one asterisk box
There are a couple ways to do this. Or shoiuld be anyway. One is by setting the context as you have done. The other is by setting the extension at the end of the register line and doing a goto(someplace,s,1) for one line and goto(someplaceelse,s,1) for the other all from the same context. If one doesnt work for any reason you may try the other to see if that does, if neither works then there is something wrong with your broadvoice setup somehow. On Mon, 2005-04-18 at 01:11 +0000, John Millican wrote:> Hello all, > I have asked this question of Broadvoice support and the following is their > responce: > John, > Unfortunately we are not able to fully support asterisk. We refer customers > to the Asterisk forums where users are quite well versed and some are > affiliated with BroadVoice. > The only thing that comes to mind is that you may have to specify different > ports for each number. > Thank you, > BroadVoice Customer Care > tried voip-inf.org and not getting responce (down? or just me?) > I can call in to and out of * from either number/account that i have. The > problem is i would like to answer with different prompts based on which > account/number the called dialed but broadvoice sends the call as if it came > from whichever account i register second. > Executing Answer("SIP/xxxxxx1492-d5d8", "") in new stack > This is the same regardless off the number i call. > I have tried register => <user>:<pass>@sip.broadvoice.com:5060 for first > line and <user2>:<pass2>@sip.broadvoice.com:5061 > this does not work for me. Is it possible to register on different ports? > > relevant sip.conf > > [broadvoice] > type=peer > username=xxxxxx1405 > fromuser=xxxxxx1405 > secret=<sniped pass> > host=sip.broadvoice.com > fromdomain=sip.broadvoice.com > context=broadvoice > dtmfmode=inband > disallow=all > allow=ulaw > canreinvite=no > nat=yes > insecure=very > > > [broadvoice2] > type=peer > username=xxxxxx1492 > fromuser=xxxxxx1492 > secret=<sniped pass> > host=sip.broadvoice.com > fromdomain=sip.broadvoice.com > context=broadvoice2 > dtmfmode=inband > disallow=all > allow=ulaw > canreinvite=no > nat=yes > insecure=very > > any help is much appreciated > Thank you, > John M > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users-- Trixter http://www.0xdecafbad.com UK +44 870 340 4605 Germany +49 801 777 555 3402 US +1 360 207 0479 or +1 516 881 8487 FreeWorldDialup: 635378 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20050417/394bfd5c/attachment.pgp
John Millican
2005-Apr-17 19:27 UTC
[Asterisk-Users] Register two account at Broadvoice with one asterisk box
> > I can call in to and out of * from either number/account that i have. > > The problem is i would like to answer with different prompts based on > > which account/number the called dialed but broadvoice sends the call as > > if it came from whichever account i register second. > > Executing Answer("SIP/xxxxxx1492-d5d8", "") in new stack > > This is the same regardless off the number i call. > > I have tried register => <user>:<pass>@sip.broadvoice.com:5060 for > > first line and <user2>:<pass2>@sip.broadvoice.com:5061 > > this does not work for me. Is it possible to register on different ports? > > > > relevant sip.conf > > > > [broadvoice] > > type=peer > > username=xxxxxx1405 > > fromuser=xxxxxx1405 > > secret=<sniped pass> > > host=sip.broadvoice.com > > fromdomain=sip.broadvoice.com > > context=broadvoice > > dtmfmode=inband > > disallow=all > > allow=ulaw > > canreinvite=no > > nat=yes > > insecure=very > > > > > > [broadvoice2] > > type=peer > > username=xxxxxx1492 > > fromuser=xxxxxx1492 > > secret=<sniped pass> > > host=sip.broadvoice.com > > fromdomain=sip.broadvoice.com > > context=broadvoice2 > > dtmfmode=inband > > disallow=all > > allow=ulaw > > canreinvite=no > > nat=yes > > insecure=very > > > > any help is much appreciated > > Thank you, > > John Mfrom Trixter and reposted at bottom( for ease of information flow)> There are a couple ways to do this. Or shoiuld be anyway. One is by > setting the context as you have done. The other is by setting the > extension at the end of the register line and doing a > goto(someplace,s,1) for one line and goto(someplaceelse,s,1) for the > other all from the same context.<snip> Thank you but... this did not help. the problem is that the calls all come in as if from the same account, whichever registers second. called first number and got: -- Executing Answer("SIP/xxxxxx1492-b2c7", "") in new stack which should have been xxxxxx1405 called second number and got: -- Executing Answer("SIP/xxxxxx1492-2f6a", "") in new stack which is correct and is second in register statement Does anyone know if Broadvoice passes the equivalent of DNIS and is there a way to capture that in * from a VoIP call? John M
trixter http://www.0xdecafbad.com
2005-Apr-17 22:16 UTC
[Asterisk-Users] Register two account at Broadvoice with one asterisk box
> Thank you but... this did not help. the problem is that the calls all come in > as if from the same account, whichever registers second. > called first number and got: > -- Executing Answer("SIP/xxxxxx1492-b2c7", "") in new stack > which should have been xxxxxx1405 >now that you mention it I had the same problem with stanaphone. This may not be ideal but for grins change only the sip proxy that you use (lax, chi, dca and there is an older one they used to have dunno if its still up). See if you use different proxies if it works. If it does and that is the only problem I suggest that its a asterisk problem. I had forgotten that with stanaphone I had the same exact problem where 2 accounds to the same sip proxy would result in an inbound call coming into the 2nd account. -- Trixter http://www.0xdecafbad.com UK +44 870 340 4605 Germany +49 801 777 555 3402 US +1 360 207 0479 or +1 516 881 8487 FreeWorldDialup: 635378 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20050418/8b38dbf1/attachment.pgp