I can make calls over a SIP trunk as SIP/<trunk>/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 at X.X.X.X/4452 [4452] type=friend username=4452 host=X.X.X.X allow=all dtmfmode=inband When I try to make the call I get : [Jan 28 08:05:57] NOTICE[44761]: pbx_spool.c:447 attempt_thread: Call failed to go through, reason (0) Call Failure (not BUSY, and not NO_ANSWER, maybe Circuit busy or down?) [Jan 28 08:05:57] NOTICE[44761]: pbx_spool.c:450 attempt_thread: Queued call to SIP/4452/7XXXXXXXXX expired without completion after 0 attempts (where 7 is the outside line). The exten 4452 is registered fine. How do I make a call as an extension or what might I be missing? Thanks, Jerry -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20200128/0ceab4ae/attachment.html>
>>> I can make calls over a SIP trunk as SIP/<trunk>/number >>> I am trying to make calls over an extension thought using the same format >>> SIP/4452/number - its not workingNo, 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, Doug
>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_sipCorrect - I can dial SIP extensions. Not a problem SIP/100 etc... This is wanting to make a call to an outside number looking like it comes from an extension. How do I do that? 4452 is an extension on my system (end point). I register that extension to the SIP server. I desire to make a call from my system looking like it comes from 4452 and call the outside number. Thanks Jerry -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20200128/7eac43ca/attachment.html>
>>> I desire to make a call from my system looking like it comes from 4452 and call the outside numberIf 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 we can give you some options. Doug
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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20200128/c271247c/attachment.html>