Hello @juliette,
Code:
[call_in]
exten => s,1,NoOp(${PJSIP_HEADER(read,To)})
exten => s,n,Goto(${CHANNEL:6:3},go)
exten => fre,n(go),Goto(maison,331xxxxxxxx1,1)
exten => ovh,n(go),Goto(maison,331xxxxxxxx2,1)
J'ai le même le souci que toi, je ne sais pas comment récupérer les appels de me second provider Selfone.
Code:
[from-belgium-voip]
exten => s,1,NoOp(### Incoming call from outside to 02 899 20 18 ###)
same => n,NoOp(${PJSIP_HEADER(read,To)})
same => n,Dial(PJSIP/104,20)
same => n,VoiceMail(104)
same => n,Hangup()}
[from-selfone-voip]
exten => s,1,NoOp(### Incoming call from outside to 02 808 54 49 ###)
same => n,NoOp(${PJSIP_HEADER(read,To)})
same => n,Dial(PJSIP/101,20)
same => n,VoiceMail(101)
same => n,Hangup()
Si vous pouvez m'éclairer là dessus...Je suis vraiment perdu...