Is this configuration correct ?

Comment on Asterisk settings for Wengo
bruno972
Joined: Thu 27 of Jul, 2006

Re: Is this configuration correct ?

Posted:Thu 27 of Jul, 2006 (22:37 UTC)
bruno972
Joined: Thu 27 of Jul, 2006

Re: Is this configuration correct ?

Posted:Thu 27 of Jul, 2006 (22:36 UTC)
sip.conf
[general]

register => USERNAME:SIPPASSWORD@voip.wengo.fr/USERNAME ;PHONENUMBER should also work (R1)

[wengo]
type=peer
fromuser=USERNAME
username=USERNAME
secret=SIPPASSWORD
callerid="Firstname Lastname" <PHONENUMBER>
fromdomain=voip.wengo.fr
host=voip.wengo.fr
port=5060
disallow=all
allow=g729 ;if you have license
allow=ulaw
dtmfmode=auto
context=to-wengo
insecure=very

This config is enought, dtmfmode should be rfc2833 except for the voicemail which need info then set it to auto. outbound parameters are not necessary
HyDr0g3n
Joined: Wed 22 of Feb, 2006

Is this configuration correct ?

Posted:Wed 22 of Feb, 2006 (16:27 UTC)
I have tested this configuration with latest (but stable) versions of Asterisk & Wengo. It won't work. Anyway I noticed some things strange in this config :

- where is used the [to-wengo] part of extensions.conf ?
- "if you are behind a NAT, add the following in [wengo-out] in sip.conf " -> there is no [wengo-out] in sip.conf...
- if you don't have any PHONENUMBER (not included in all offers), what should we write instead ?

My problems :
- if I use [wengo] in sip.conf then I get an error : "hostname/auth name mismatch". This error disapears if I use [USERNAME] instead and add "host=dynamic". (I don't know if this is right to do this)
- I get errors : "SUBSCRIBE request to <sip:dchris@voip.wengo.fr>;tag=xxxxxxxxx failed", "SIP/2.0 401 Unauthorised", "SIP/2.0 484 Address Incomplete".
- I get This : Looking for "NUMBER_IM_CALLING" in from-wengo (domain voip.wengo.fr) -> "SIP/2.0 404 Not Found".

If someone could review this configuration, It would be nice. Thanks in advance.