简体   繁体   中英

how to the callout display number caller with Originate and asterisk?

i have a question. In asterik 11, i callout to a other phone by originate use command:

exten=>s,n,Originate(SIP/voiceNetwork/,exten,callout,s,1,30)

When the call to called, the call display is UNKNOWN, i want to it display number caller. Please help me! Thanks

Try to insert into your callout extension something like:

exten => _X.,1,Set(CALLERID(name)=Name) 

or

exten => _X.,1,Set(CALLERID(num)=12345678910)

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