PDA

Voir la version complète : Lier numeros externe => numeros interne



PiX666
13/10/2011, 11h23
Bonjour,

Je vous explique mon besoin :

J’ai pris une ligne et un numéros chez OVH.

Externe (OVH)
Ligne SIP = 0911111111
Numéros = 0922222222
Interne :
6000, 6001

Les appels sortant OK
Les appels entrant Ok

Quand on appelle les N° 0911111111 ou 0922222222, les deux Téléphone IP sonne (6000 et 6001)

Pourriez-vous me faire un exemple de conf

Quand une personne extérieure appelle le 0922222222 ça ne sonne que sur le 6001

En vous remerciant par avance
Eric

salaheddine
14/10/2011, 16h09
Bonjour,

Vous avez besoin de rediriger la ligne vers le compte sip

exten => 0922222222,1,Dial(SIP/6001, 30)

Cdt

PiX666
15/10/2011, 15h41
MERCI pour votre reponse,

Comment peux ton voir quel numéros l'appelant a t'il appelé ?

quand le fais un asterisk -rvvvvv
je vois bien l'appel arriver, mais comment puis-je voir quel numéros a été appelé ?

car j'ai l'impression que tous les appels arrivent, comme si on avait appelé le numéros principal de la ligne ?

Log:

n° 1

== Using SIP RTP CoS mark 5
-- Executing [s@DID_0033972125558:1] Goto("SIP/0033972125558-00000000", "ringroups-custom-1,s,1") in new stack
-- Goto (ringroups-custom-1,s,1)
-- Executing [s@ringroups-custom-1:1] NoOp("SIP/0033972125558-00000000", "All_Formarama") in new stack
-- Executing [s@ringroups-custom-1:2] Dial("SIP/0033972125558-00000000", "SIP/6001&SIP/6000,20,i") in new stack
== Using SIP RTP CoS mark 5
-- Called SIP/6001
== Using SIP RTP CoS mark 5
-- Called SIP/6000
-- SIP/6001-00000001 connected line has changed. Saving it until answer for SIP/0033972125558-00000000
-- SIP/6000-00000002 connected line has changed. Saving it until answer for SIP/0033972125558-00000000
-- SIP/6001-00000001 is ringing
-- SIP/6000-00000002 is ringing

N° 2


-- Executing [s@DID_0033972125558:1] Goto("SIP/0033972125558-00000006", "ringroups-custom-1,s,1") in new stack
-- Goto (ringroups-custom-1,s,1)
-- Executing [s@ringroups-custom-1:1] NoOp("SIP/0033972125558-00000006", "All_Formarama") in new stack
-- Executing [s@ringroups-custom-1:2] Dial("SIP/0033972125558-00000006", "SIP/6001&SIP/6000,20,i") in new stack
== Using SIP RTP CoS mark 5
-- Called SIP/6001
== Using SIP RTP CoS mark 5
-- Called SIP/6000
-- SIP/6001-00000007 connected line has changed. Saving it until answer for SIP/0033972125558-00000006
-- SIP/6000-00000008 connected line has changed. Saving it until answer for SIP/0033972125558-00000006
-- SIP/6001-00000007 is ringing
-- SIP/6000-00000008 is ringing

:pt1cable: