Re: [asterisk-users] Call from an extension

2020-01-28 Thread Jerry Geis
> I understood that part, I was hoping to understand why. Agreed. Always in the past I would use a SIP trunk and no issue. This person could not provide a SIP trunk only extensions. Hence the issue. But setting the CID with the extension did the trick. Thanks for your assistance. Jerry --

Re: [asterisk-users] Call from an extension

2020-01-28 Thread Doug Lytle
I understood that part, I was hoping to understand why. In the past, I've used the PSTN lines to connect two Asterisk systems for extension to extension calls and was able to route source and destination extensions via the dial-plan, just by parsing the assigned CID. Was thinking that may be

Re: [asterisk-users] Call from an extension

2020-01-28 Thread Jerry Geis
HI Doug - Your got! Thanks. All I had to do in this case was set the CallerID to 4452. As I mentioned I was just trying to "look" like I was extension 4452 and wants to call a number to an outside line. setting the CallerID made it happen. Jerry --

Re: [asterisk-users] Call from an extension

2020-01-28 Thread Doug Lytle
>>> I desire to make a call from my system looking like it comes from 4452 and >>> call the outside number If you have control over your CID with your provider, you can use Set(CALLERID(number)=4452) Otherwise, you cannot. If you would provide us with what you are trying to accomplish, maybe

Re: [asterisk-users] Call from an extension

2020-01-28 Thread Jerry Geis
>Extension to extension calls would be: >Dial(SIP/${EXTEN]) >My extension to extension dial line is >exten => s,n,Dial(SIP/${ARG1},${timeout},${dial.opts}) >I'm currently still on chan_sip Correct - I can dial SIP extensions. Not a problem SIP/100 etc... This is wanting to make a call to an

Re: [asterisk-users] Call from an extension

2020-01-28 Thread Doug Lytle
>>> I can make calls over a SIP trunk as SIP//number >>> I am trying to make calls over an extension thought using the same format >>> SIP/4452/number - its not working No, Extension to extension calls would be: Dial(SIP/${EXTEN]) My extension to extension dial line is exten =>

[asterisk-users] Call from an extension

2020-01-28 Thread Jerry Geis
I can make calls over a SIP trunk as SIP//number I am trying to make calls over an extension thought using the same format SIP/4452/number - its not working. person says they can connect a software as extension 4452 and it works just fine. I have my register: register => 4452@X.X.X.X/4452

[asterisk-users] How to correctly fork a CDR for billing in a call forwarding scenario?

2020-01-28 Thread Benoit Panizzon
Hi Gang I have not yet managed to find a solution to correctly generate CDRs for this situation: Alice calls Bob. Bob has call forwarding delayed 20s to Charlie. Charlie picks up immediately. exten => bob,1,DBget(cfwdly=CFDLY/${exten}); $cfwdly contains charlie same =>