hello everybody,
how can i do call phone 1 and call phone 2 and connect 2 that lines from CLI console
what is the CLI command to do that
Hi,
here’s a quick and dirty example :
[destination]
exten => 1337,1,Dial(SIP/phone2@provider)
exten => 1337,2,Hangup
exten => h,1,Hangup
on asterisk cli console :
originate SIP/phone2@provider extension 1337@default
Regards,
Joao Cohen
Telecom Systems and Audiotext Specialist
linkedin.com/in/joaocohen
thanks for your help,
can i transfer line1 (still connected with line2) with line 3 ( i want to connect line1 connect with line3. —line2 hangup)
is this possible?
[quote=“joaocohen”]Hi,
here’s a quick and dirty example :
[destination]
exten => 1337,1,Dial(SIP/phone2@provider)
exten => 1337,2,Hangup
exten => h,1,Hangup
on asterisk cli console :
originate SIP/phone2@provider extension 1337@default
Regards,
Joao Cohen
Telecom Systems and Audiotext Specialist
linkedin.com/in/joaocohen[/quote]
when i enter cli command
originate sip/1099 application dial sip/1098
softphone ring unknown caller…
i want to change that unknown caller to 1099 or 1098
how can i do that?
thanks
you are very kind
Hi,
Please tell me what is your final goal/objective and I’ll be glad to help you
Usually the cli originate command is used to test the dialplan / context, I’ll need more info on what you want to achieve.
Regards,
Joao Cohen
Telecom Systems and Audiotext Specialist
linkedin.com/in/joaocohen