Hi forum,
I have been fighting days and days configuring FWD and asterisk with NO success
I have the following scenario.
My sister in Spain with FWD dialup client
My question is if she can dial my FWD dialup number, which is registered in
Asterisk and the call being forwarded to ring my IP Phone.
Spain
LAN
FWD dialup account -----> Internet <------ 3COM router/switch --- Asterisk
-- 7960
I have done some research in google with no success.
http://www.m-networks.net/home/asterisk/ast-fwd.htm
http://www.voip-info.org/wiki-Asterisk+How+to+connect+to+FWD
When I connect my FWD client in the LAN i can dial FWD numbers
ANY IDEAS OR CONF FILES WORKING WILL BE APPRECIATED
THANKS!
server*CLI> sip show registry
Host Username Refresh State
69.90.155.70:5060 431044 160 Registered
69.90.155.70:5060 421058 160 Registered
SIP.conf
register => 421058:password@fwd.pulver.com/103 ;Register Free World Dialup
register => 431044:password@fwd.pulver.com/103
[fwd1]
type=friend
username=431044
secret=password
fromuser=431044
fromdomain=fwd.pulver.com
host=fwd.pulver.com
insecure=very
canrenvite=no
nat = yes
dtmfmode=inband
[fwd2]
type=friend
secret=password
username=421058
fromuser=421058
fromdomain=fwd.pulver.com
host=fwd.pulver.com
dtmfmode=inband
nat=yes
canreinvite=no
extensions.conf
FWDUSERID1=421058
FWD1USERNAME=Gonzalo Gasca
FWDUSERID2=431044
FWD2USERNAME=Gonzalo Gasca
FWDPREFIX=*
[fwd1-out]
exten => _8.,1,SetCallerID(${FWDUSERID2})
exten => _8.,2,SetCIDName(${FWD2USERNAME})
exten => _8.,3,Dial(SIP/${EXTEN:1}@fwd1,70)
exten => _8.,4,Macro(fastbusy)
exten => _8.,5,Hangup
[fwd2-out]
exten => _7.,1,SetCallerID(${FWDUSERID1})
exten => _7.,2,SetCIDName(${FWD1USERNAME})
exten => _7.,3,Dial(SIP/${EXTEN:1}@fwd2,70)
exten => _7.,4,Macro(fastbusy)
exten => _7.,5,Hangup
My IP phone include those fwd1-fwd2-out
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20041218/dd6ffc93/attachment.htm
Yes, of course you can do that. I have this very setup working for the office, with * aggregating voip and isdn incoming calls and forwarding them to my laptop wherever I am. just follow the instructions on the FWD website, and run "iax2 debug" from the console to see what's happening in anything goes wrong. l. In data Sat, 18 Dec 2004 20:33:01 -0800 (PST), Gonzalo Gasca Meza <xomeboy@yahoo.com> ha scritto:> Hi forum, > I have been fighting days and days configuring FWD and asterisk with NO > success > I have the following scenario. > My sister in Spain with FWD dialup client > My question is if she can dial my FWD dialup number, which is registered > in Asterisk and the call being forwarded to ring my IP Phone. > > Spain > LAN > FWD dialup account -----> Internet <------ 3COM router/switch --- > Asterisk -- 7960-- Creato con M2, il rivoluzionario client e-mail di Opera: http://www.opera.com/m2/
Inline...> Hi forum, > I have been fighting days and days configuring FWD and asterisk with NO success > I have the following scenario. > > My sister in Spain with FWD dialup client > My question is if she can dial my FWD dialup number, which is registered > in Asterisk and the call being forwarded to ring my IP Phone. > > Spain LAN > FWD dialup account -----> Internet <------ 3COM router/switch --- Asterisk -- 7960 > > I have done some research in google with no success. > http://www.m-networks.net/home/asterisk/ast-fwd.htm > http://www.voip-info.org/wiki-Asterisk+How+to+connect+to+FWD > > > When I connect my FWD client in the LAN i can dial FWD numbers > ANY IDEAS OR CONF FILES WORKING WILL BE APPRECIATED > THANKS! > > > > > > server*CLI> sip show registry > Host Username Refresh State > 69.90.155.70:5060 431044 160 Registered > 69.90.155.70:5060 421058 160 Registered > > SIP.conf > register => 421058:password@fwd.pulver.com/103 ;Register Free World Dialup > register => 431044:password@fwd.pulver.com/103Change the above register statements to include you FWD number. Like: register => 431044:password@fwd.pulver.com/431044 That register statement is telling FWD what extension to ring at _your_ location when FWD attempts to complete a call to your location.> [fwd1] > type=friend > username=431044 > secret=password > fromuser=431044 > fromdomain=fwd.pulver.com > host=fwd.pulver.com > insecure=very > canrenvite=no > nat = yes > dtmfmode=inband > > [fwd2] > type=friend > secret=password > username=421058 > fromuser=421058 > fromdomain=fwd.pulver.com > host=fwd.pulver.com > dtmfmode=inband > nat=yes > canreinvite=no > extensions.conf > FWDUSERID1=421058 > FWD1USERNAME=Gonzalo Gasca > FWDUSERID2=431044 > FWD2USERNAME=Gonzalo Gasca > FWDPREFIX=* > [fwd1-out] > exten => _8.,1,SetCallerID(${FWDUSERID2}) > exten => _8.,2,SetCIDName(${FWD2USERNAME}) > exten => _8.,3,Dial(SIP/${EXTEN:1}@fwd1,70) > exten => _8.,4,Macro(fastbusy) > exten => _8.,5,Hangup > > [fwd2-out] > exten => _7.,1,SetCallerID(${FWDUSERID1}) > exten => _7.,2,SetCIDName(${FWD1USERNAME}) > exten => _7.,3,Dial(SIP/${EXTEN:1}@fwd2,70) > exten => _7.,4,Macro(fastbusy) > exten => _7.,5,Hangup > My IP phone include those fwd1-fwd2-outAfter making the register statement change noted above, add something to your extensions.conf file to handle the incoming FWD call, like: exten => 431044,1,Dial(SIP/103) Or, another approach is something like this: register => 431044:password@fwd.pulver.com without the /431044 at the end, then in extensions.conf use: exten => s,1,Dial(SIP/103) so that all incoming calls from FWD match the "s". The use the "sip debug" to watch calls and debug what is actually happening. Somewhere on the FWD web site is a url that will help diagnose the problem. By clicking on their provided url, FWD will attempt to complete a test call to your FWD number. It eliminates the need to have a second party calling you for test purposes.
Gonzalo, Have you tried IAX, I see yo are behind NAT, and my experiences with IAX behind NAT are much less painful :-) I've FWD via IAX, receiveing calls (in fact, last time was a nearby person in Portugal :-) that tested it). One last thing, you mention dialup client, I guess she is not in dialup, correct? From what I recall, FWD would do only G.711, would not exactly work in dialup (maybe ISDN with 2 b-channels ?) PS: I don't see the dialplan for the "inbound" calls, where a call from FWD would land in your * ? Gonzalo Gasca Meza wrote:> Hi forum, > I have been fighting days and days configuring FWD and asterisk with NO success > I have the following scenario. > > My sister in Spain with FWD dialup client > My question is if she can dial my FWD dialup number, which is registered in Asterisk and the call being forwarded to ring my IP Phone. > > > Spain LAN > FWD dialup account -----> Internet <------ 3COM router/switch --- Asterisk -- 7960 > > I have done some research in google with no success. > http://www.m-networks.net/home/asterisk/ast-fwd.htm > http://www.voip-info.org/wiki-Asterisk+How+to+connect+to+FWD > > > When I connect my FWD client in the LAN i can dial FWD numbers > ANY IDEAS OR CONF FILES WORKING WILL BE APPRECIATED > THANKS! > > > > > > server*CLI> sip show registry > Host Username Refresh State > 69.90.155.70:5060 431044 160 Registered > 69.90.155.70:5060 421058 160 Registered > > > SIP.conf > register => 421058:password@fwd.pulver.com/103 ;Register Free World Dialup > register => 431044:password@fwd.pulver.com/103 > [fwd1] > type=friend > username=431044 > secret=password > fromuser=431044 > fromdomain=fwd.pulver.com > host=fwd.pulver.com > insecure=very > canrenvite=no > nat = yes > dtmfmode=inband > > [fwd2] > type=friend > secret=password > username=421058 > fromuser=421058 > fromdomain=fwd.pulver.com > host=fwd.pulver.com > dtmfmode=inband > nat=yes > canreinvite=no > > extensions.conf > FWDUSERID1=421058 > FWD1USERNAME=Gonzalo Gasca > FWDUSERID2=431044 > FWD2USERNAME=Gonzalo Gasca > FWDPREFIX=* > > [fwd1-out] > exten => _8.,1,SetCallerID(${FWDUSERID2}) > exten => _8.,2,SetCIDName(${FWD2USERNAME}) > exten => _8.,3,Dial(SIP/${EXTEN:1}@fwd1,70) > exten => _8.,4,Macro(fastbusy) > exten => _8.,5,Hangup > > [fwd2-out] > exten => _7.,1,SetCallerID(${FWDUSERID1}) > exten => _7.,2,SetCIDName(${FWD1USERNAME}) > exten => _7.,3,Dial(SIP/${EXTEN:1}@fwd2,70) > exten => _7.,4,Macro(fastbusy) > exten => _7.,5,Hangup > > My IP phone include those fwd1-fwd2-out
Hi, Julio, thanks for the tip, IAX and the incoming calls confi did the trick! FWD is up and running! THANKS! and happy holidays! --------------------------------- Do you Yahoo!? Yahoo! Mail - now with 250MB free storage. Learn more. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20041219/3ad4e265/attachment.htm