
Envoyé par
Reaper
Bonjour, ippi refuse l'appel car le numéro presénté était Ujonathan, voyez chez ippi comment il veulent votre numéro, et l'appel va passer.
J'ai ce message la quand j’essaye d'appeler :
Code:
Connected to Asterisk 13.17.2 currently running on SRV-VOIP (pid = 1716)
[Oct 28 19:08:53] ERROR[1794][C-00000001]: netsock2.c:305 ast_sockaddr_resolve: getaddrinfo("ippi", "(null)", ...): Name or service not known
[Oct 28 19:08:53] WARNING[1794][C-00000001]: chan_sip.c:6320 create_addr: No such host: ippi
[Oct 28 19:08:53] WARNING[1794][C-00000001]: app_dial.c:2525 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Subscriber absent
[Oct 28 19:49:32] WARNING[1225][C-00000001]: chan_sip.c:24003 handle_response_invite: Received response: "Forbidden" from '<sip:my_phone@sip.ippi.com>;tag=as5d7e170e'
J'ai un numéro qui commence par 08 etc ... sur certain forum j'ai vue qu'il fallait mettre un 6 devant, bref aucune des méthodes fonctionne et sur le site de ippi.com voilà l'info qu'il mette !
This setup allows you to make and receive calls from a my_phone SIP account created in Asterisk. To be adapted according to your installation.
In the sip.conf file:
Code:
[ general]
…
register => ippi_id:ippi_password@sip.ippi.com
…
[ippi_incoming] ; incoming call setup for ippi
type=peer
host=sip.ippi.com
context=from_ippi
nat=yes
canreinvite=no
[ippi_outgoing] ; configuration for outgoing calls for ippi
type=peer
host=sip.ippi.com
username=ippi_id
secret=ippi_password
fromuser=ippi_id
fromdomain=sip.ippi.com
nat=yes
canreinvite=no
[my_phone] ; configure a SIP account on Asterisk with username my_phone and password my_password
type=friend
secret=my_password
host=dynamic
context=home
nat=yes
In file extension.conf:
…
[from_ippi] ; incoming calls to ring the ippi SIP account my_phone
exten => s,1,Dial(SIP/my_phone)
[ home] ; all outgoing calls from the account my_phone are sent over the ippi network
exten => _X.,1,Dial(SIP/ippi_outgoing/${EXTEN})
Donc autant dire que dalle ...