Freepbx ovh : Différence entre versions
De SME Server Wiki
Ligne 46 : | Ligne 46 : | ||
restrictcid=no | restrictcid=no | ||
amaflags=default | amaflags=default | ||
+ | dtmfmode=inband | ||
fromuser=0033XXXXXXXXX | fromuser=0033XXXXXXXXX | ||
Register string | Register string | ||
0033XXXXXXXXXX: password@sip.ovh.net | 0033XXXXXXXXXX: password@sip.ovh.net | ||
+ | |||
+ | === une autre === | ||
+ | |||
+ | source http://forum.ovh.com/showthread.php?t=41715 | ||
+ | |||
+ | Outgoing Settings : | ||
+ | Trunk Name : ovh | ||
+ | PEER Details : | ||
+ | host=sip.ovh.net | ||
+ | username=003397211xxxx | ||
+ | secret=mot_de_passe | ||
+ | type=peer | ||
+ | qualify=300 | ||
+ | insecure=very | ||
+ | canreinvite=no | ||
+ | fromuser=003397211xxxx | ||
+ | |||
+ | Incoming Settings : | ||
+ | USER Context : 003397211xxxx | ||
+ | USER Details : | ||
+ | secret=mot_de_passe | ||
+ | type=user | ||
+ | context=from-trunk | ||
+ | qualify=no | ||
+ | host=dynamic | ||
+ | |||
+ | Register String : | ||
+ | 003397211xxxx:mot_de_passe@sip.ovh.net/003397211xxxx |
Version actuelle en date du 15 mars 2011 à 23:18
ma configuration actuelle
PEERS DETAILS
host=sip.ovh.net username=00334xxxxxxx secret=xxxxx type=peer qualify=300 insecure=very canreinvite=no fromuser=00334xxxxxxx
USER Context
USER Details
Register string
00334xxxxxxx:xxxxx@sip.ovh.net/00334xxxxxxx
une configuration semblant au point
Source http://forum.ovh.com/showthread.php?t=59752&page=2
Ajout dans le fichier de la syntaxe suivante dans etc/asterisk/extensions_custom.conf:
[custom-get-did-ovh] exten => s,1,Goto(from-trunk,${CUT(CUT(SIP_HEADER(To),@,1),:,2)},1)
Puis voici mon trunk dans lequel je laisse le champ USER Details vide.
PEERS DETAILS
type=peer host=sip.ovh.net context=custom-get-did-ovh language=fr insecure=very username=0033XXXXXXXX secret=password disallow=all allow=alaw&ulaw nat=yes canreinvite=no dtmfmode=inband restrictcid=no amaflags=default dtmfmode=inband fromuser=0033XXXXXXXXX
Register string
0033XXXXXXXXXX: password@sip.ovh.net
une autre
source http://forum.ovh.com/showthread.php?t=41715
Outgoing Settings : Trunk Name : ovh PEER Details :
host=sip.ovh.net username=003397211xxxx secret=mot_de_passe type=peer qualify=300 insecure=very canreinvite=no fromuser=003397211xxxx
Incoming Settings : USER Context : 003397211xxxx USER Details :
secret=mot_de_passe type=user context=from-trunk qualify=no host=dynamic
Register String :
003397211xxxx:mot_de_passe@sip.ovh.net/003397211xxxx