Hello all, I Want to Got a Result.
But I don’t know how to describe the keyword.
Example:
[Jack]
Extension 123
Mobile 987654321
I want call to Jack,then Dial 123,
The Jack Extension(123) and Mobile(987654321) Ring.
If Jack OnHook Mobile, then Extension Stop Ring.
Have somebody can answer me ? thanks.
hi,
Try
[Jack]
exten => _123,1,Dial(SIP/123&DAHDI/g0/987654321);
exten => _123,n,Hangup();
Above dialplan should work for you.
Should work, but only if you have used an insecure device name for the SIP device. Replace 123 by the non-guessable device name for that device (not extension).
Thanks for your help.
Because I don’t know what keyword can help me search this features.
[quote=“dhanapathy”]hi,
Try
[Jack]
exten => _123,1,Dial(SIP/123&DAHDI/g0/987654321);
exten => _123,n,Hangup();
Above dialplan should work for you.[/quote]
Thanks for your Answer,
Because My DialPlan like this:
exten => _XXX,1,Dial(SIP/${EXTEN})
I want to got it like below:
exten => _XXX,1,Dial(SIP/${EXTEN}&DAHDI/[color=#FF0000]${EXTEN’s Mobile}[/color])
Any some methods can do it ?
thanks