简体   繁体   中英

Forward sip call to number

I want to forward sip call like this :

----------
1001 User1
1002 User2
2001 User3
3001 User4
----------

When User1 (1001) call 1, I want to forward call to User3 (2001) .

When User2 (1002) call 1, I want to forward call to User4 (3001) .

Anybody know how can I do that in asterisk?

You should do DIFFERENT dialplan for each user.

Something like this

[from-internal]
exten => 1/1001,1,Dial(SIP/2001,,o); extension  1 callerid 1001
exten => 1/1002,1,Dial(SIP/3001,,o);extension 1 callerid 1002

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM