Calling regular cell phones

Hi everyone, I’m new to Asterisk.

In extensions.conf, if I’d like to dial a regular cellphone(e.g. 405-123-4567), what do I put in as a parameter (channel) in Dial()? Please someone explain the different channels syntax inside the Dial application. Thanks much!

Hi pwes24,

Have you read the O’Reilly Asterisk book? The “Using the Dial() Application” section starting on p. 130 looks like it might have the answer: Something like exten => 501,1,Dial(Zap/4/18005551212)

Thanks, I’ll try that. I’ve read the book but skipped some parts like configuring zap because I’m looking to use a soft phone. But I’ll check it out.

Here’s my extensions.conf. I’d like it to call my cell phone. I know its very basic, but again I just want to test it. Please let me know where I’m making a mistake. Thanks in advance.

[globals]

[general]

[default]
exten => s,1,Verbose(1|Unrouted call handler)
exten => s,n,Answer()
exten => s,n,Wait(1)
exten => s,n,Playback(tt-weasels)
exten => s,n,Hangup()

[incoming_calls]

[internal]
exten => 101,1,Dial(IAX/14054089316,15)
exten => 101,2,Playback(vm-nobodyavail)
exten => 101,3,Hangup()
exten => 101,102,Playback(vm-allbusy)
exten => 101,103,Hangup()


[phones]
include => internal

I suggest you go back to the book and follow it step by step - skipping around wont get you anywhere.

The other option is to install a GUI like FreePBX and let it help guide you along.

I have been able to set up a call to another asterisk phone via iax channel. To connect to regular phones, will I need to connect to PSTN and if so, will I need some equipment (box)? I’m running asterisk on a virtual dedicated server.

I have been able to set up a call to another asterisk phone via iax channel. To connect to regular phones, will I need to connect to PSTN and if so, will I need some equipment (box)? I’m running asterisk on a virtual dedicated server.