Bonjour,
Je lance actuellement un site web et mes collaborateurs souhaitent avoir une ligne téléphonique qui sonne chez l'un et l'autre en même temp ( pour le moment nous n'avons pas de bureaux ).
J'ai installé et configuré asterisk sous Debian 6 avec comme ligne de sortie ma ligne perso freephonie (juste pour les tests une ligne sip ovh serra acheté pour la mise en production).
Tout fonctionne bien, mais voilà quand je passe un appel sortant et que le destinataire décroche il se voit raccroché dans la seconde, mais le soft phone qui a émis l'appel continuent la communication dans le vide.
voici mon fichier sip.conf
extensions.confCode:[general] externip=78.**.**.** localnet=192.168.1.0/255.255.255.0 defaultexpirey=1800 dtmfmode=auto qualify=yes register => 09********:****@freephonie.net [freephonie] type=friend host=freephonie.net username=09******** fromuser=09******** secret=**** nat=yes fromdomain=freephonie.net context=fromfree allow=all insecure=port,invite
users.confCode:[general] static=yes writeprotect=no clearglobalvars=no [globals] CONSOLE=Console/dsp IAXINFO=guest TRUNK=DAHDI/G2 TRUNKMSD=1 [work] exten => _ZXX,1,Dial(SIP/${EXTEN}) exten => 101,1,Dial(SIP/401&SIP/501&SIP/601) exten => 102,1,Dial(SIP/402&SIP/502&SIP/602) exten => 103,1,Dial(SIP/403&SIP/503&SIP/603) exten => _0ZXXXXXXXX,1,Dial(SIP/freephonie/${EXTEN}) exten => s,2,Hangup [fromfree] exten => s,1,Dial(SIP/401&SIP/501&SIP/601&SIP/402&SIP/502&SIP/602&SIP/403&SIP/503&SIP/603) exten => s,2,Hangup
Je ne trouve pas de solution sur le net ou alors je n'ais pas les bons mots clé.Code:[general] hasvoicemail = yes hassip = yes hasiax = yes callwaiting = yes threewaycalling = yes callwaitingcallerid = yes transfer = yes canpark = yes cancallforward = yes callreturn = yes callgroup = 1 pickupgroup = 1 nat = yes [401] type=friend host=dynamic dtmfmode=rfc2833 disallow=all allow=ulaw fullname = nom prénom (Softphone) username = 401 secret=**** context = work [402] type=friend host=dynamic dtmfmode=rfc2833 disallow=all allow=ulaw fullname = nom prénom (Softphone) username = 402 secret=**** context = work [403] type=friend host=dynamic dtmfmode=rfc2833 disallow=all allow=ulaw fullname = nom prénom (Softphone) username = 403 secret=**** context = work [501] type=friend host=dynamic dtmfmode=rfc2833 disallow=all allow=ulaw fullname = nom prénom (Portable) username = 501 secret=**** context = work [502] type=friend host=dynamic dtmfmode=rfc2833 disallow=all allow=ulaw fullname = nom prénom (Portable) username = 502 secret=**** context = work [503] type=friend host=dynamic dtmfmode=rfc2833 disallow=all allow=ulaw fullname = nom prénom (Portable) username = 503 secret=**** context = work [601] type=friend host=dynamic dtmfmode=rfc2833 disallow=all allow=ulaw fullname = nom prénom (Fix) username = 601 secret=**** context = work [602] type=friend host=dynamic dtmfmode=rfc2833 disallow=all allow=ulaw fullname = nom prénom (Fix) username = 602 secret=**** context = work [603] type=friend host=dynamic dtmfmode=rfc2833 disallow=all allow=ulaw fullname = nom prénom (Fix) username = 603 secret=**** context = work
serveur : debian 6 asterisk 11.12
softphone : 3cxPhone
Cordialement
PS: si quelqu'un connais une offre sip trunk 2 appels simultané full illimité sur mobile et fix en France seulement je suis preneur (ovh avec leur 99 destinataire différent son un peut juste).




.
).
Répondre avec citation