New provider based on asterisk instructions (xnet/worldxchange in New Zealand)
Hi, I'm trying to set up a new provider, based on the instructions they've provided for Asterisk. I'm primarily interested in inbound calls for now. I've set up new providers a couple of times before, but my guesswork isn't working out this time. I'm getting a 404 error. The instructions say: Edit your Sip_additional.conf file and add the following: [VFX] type=peer fromuser=DIDnumber host=pan.wxnz.net insecure=invite,port canreinvite=no nat=yes secret=PASSWORD username=USERID register=DIDnumber:PASSWORD:USERID@pan.wxnz.net/DIDnumber I suspect the problem is to do with the register line, any ideas on how to set that up in FreeSwitch? Or any other suggestions of settings I ought to try changing? Cheers, Fraser
Um... never mind... as usual, you spend a few hours working on something, ask for help and the very next thing you try gets it working :-) (Well partly working, but no point anyone else spending time on this for now.) Cheers, Fraser On Tue, Jun 15, 2010 at 12:20 PM, Fraser Redmond <fraserredmond@gmail.com>wrote:
Hi,
I'm trying to set up a new provider, based on the instructions they've provided for Asterisk. I'm primarily interested in inbound calls for now.
I've set up new providers a couple of times before, but my guesswork isn't working out this time.
I'm getting a 404 error.
The instructions say:
Edit your Sip_additional.conf file and add the following: [VFX] type=peer fromuser=DIDnumber host=pan.wxnz.net insecure=invite,port canreinvite=no nat=yes secret=PASSWORD username=USERID
register=DIDnumber:PASSWORD:USERID@pan.wxnz.net/DIDnumber
I suspect the problem is to do with the register line, any ideas on how to set that up in FreeSwitch? Or any other suggestions of settings I ought to try changing?
Cheers, Fraser
Fraser, in conf/sip_profiles/external/, you would add a foo.xml file including something like this: <include> <gateway name="wxnz"> <param name="username" value="USERID"/> <param name="password" value="PASSWORD"/> <param name="proxy" value="pan.wxnz.net"/> <param name="register" value="true"/> </gateway> </include> then in CLI, do: sofia profile external rescan reloadxml David Ponzone Direction Technique email: david.ponzone@ipeva.fr tel: 01 74 03 18 97 gsm: 06 66 98 76 34 Service Client IPeva tel: 0811 46 26 26 www.ipeva.fr - www.ipeva-studio.com Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur. Le 15/06/2010 à 13:20, Fraser Redmond a écrit :
Hi,
I'm trying to set up a new provider, based on the instructions they've provided for Asterisk. I'm primarily interested in inbound calls for now.
I've set up new providers a couple of times before, but my guesswork isn't working out this time.
I'm getting a 404 error.
The instructions say:
Edit your Sip_additional.conf file and add the following: [VFX] type=peer fromuser=DIDnumber host=pan.wxnz.net insecure=invite,port canreinvite=no nat=yes secret=PASSWORD username=USERID
register=DIDnumber:PASSWORD:USERID@pan.wxnz.net/DIDnumber
I suspect the problem is to do with the register line, any ideas on how to set that up in FreeSwitch? Or any other suggestions of settings I ought to try changing?
Cheers, Fraser _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (2)
-
David Ponzone
-
Fraser Redmond