Jump to content

Multi outgoing calls to Skype working [inAsterisk]


Recommended Posts

Hi guys!

 

I've spent some time today, managing to do multi outgoing calls from SIP to Skype.

 

The Uplink config option 'When SIP calls - Use dialled number' had to exist for some reason..

 

All I've done was to assume that Uplink SIP account can be SIP peer.

 

I've configured Asterisk in that way:

 

sip.conf:

 

[uplink]

type=peer

username=uplink

secret=uplink

host=dynamic

 

Then in extensions.conf I'm dialing out using uplink account:

 

exten => _skype_.,1,Dial(SIP/{$EXTEN:6}@uplink)

;_skype_. matches anything starting with "skype_"

; {$EXTEN:6} - called number with stripped first 6 characters

 

With this configuration and option 'Use dialled number' checked in Uplink, I simply dial skype_SkypeUser from another SIP account to connect with SkypeUser skype account.

 

I have had some hanging-up problems, but at this moment I have too few computers to test this fully.

 

And it's working!!

 

Please give it a try and post your comments here!

Link to comment
Share on other sites

Hi guys!

 

I've spent some time today, managing to do multi outgoing calls from SIP to Skype.

 

The Uplink config option 'When SIP calls - Use dialled number' had to exist for some reason..

 

All I've done was to assume that Uplink SIP account can be SIP peer.

 

I've configured Asterisk in that way:

 

sip.conf:

 

[uplink]

type=peer

username=uplink

secret=uplink

host=dynamic

 

Then in extensions.conf I'm dialing out using uplink account:

 

exten => _skype_.,1,Dial(SIP/{$EXTEN:6}@uplink)   

;_skype_. matches anything starting with "skype_"

; {$EXTEN:6} - called number with stripped first 6 characters

 

With this configuration and option 'Use dialled number' checked in Uplink, I simply dial skype_SkypeUser from another SIP account to connect with SkypeUser skype account.

 

I have had some hanging-up problems, but at this moment I have too few computers to test this fully.

 

And it's working!!

 

Please give it a try and post your comments here!

 

Sounds great, but how can you do this in axon ?

Link to comment
Share on other sites

Sounds great, but how can you do this in axon ?

 

Well, I haven't tried Axon yet, and probably I won't have time to do this in near future.

 

But try to do the same what I have done - assume the Uplink can be a SIP peer.

Configure Uplink as a SIP provider in Axon. And then dial it, in the same way as you dial out normal numbers through SIP providers.

Link to comment
Share on other sites

Well, I haven't tried Axon yet, and probably I won't have time to do this in near future.

 

But try to do the same what I have done - assume the Uplink can be a SIP peer.

Configure Uplink as a SIP provider in Axon. And then dial it, in the same way as you dial out normal numbers through SIP providers.

 

Have tried to do what you did.

 

In Axon I added an external line called skype.

 

I have to supply a server ip, uplink showed my 10.0.0.200:5071 as sip private ip so I used this.

 

Axon requires to supply username and password. I used uplink in both cases but have tried skype and other names.

 

Using dialing plans i for example used 88 using remove 2 digits and than dial out using skype.

 

When I dial 88 uplink shows an incoming sip call.

When I dial 88echo123 (test service) Axon shows me an error message

 

19:46:16 Call 124 -> sip:88echo123@10.0.0.200

19:46:16 Authorization failed for server

19:46:16 Error message was: Proxy Authentication Required

19:46:16 Check username or password for the proxy server.

19:46:16 Perhaps calls to this number are not allowed by this server.

19:46:16 Call 124 -> sip:88echo123@10.0.0.200 disconnected

 

For test call I am using express talk

Link to comment
Share on other sites

Update it works:

 

First thing to do is go to axon web interface > extensions

 

add an extension

 

extension id: skype

display name: skype

password: (typ your password here) 1234 in this example

outbound dialing plan: default (at the end you can change this into another dialing plan)

 

In uplink under sip you can add the above settings

 

display name: skype

sip account number: skype

server: (the ip address of your axon server)

password (the password you supplied during axon add extension)

 

Also you have to use the dialed number option.

 

Restart uplink.

 

Uplink will now login to the skype account.

Read the SIP PRIVATE IP

 

Go back to the axon webinterface.

Add an external line

 

Line name: Skype

Server: (type the SIP PRIVATE IP supplied by uplink here)

User ID: Skype (the user id should be the same as the user id that you use for uplink to login to axon)

Password (the password should be the same as the one you used for the uplink extension in axon) 1234 in this example

 

In the axon webinterface now go to dialing plans

 

go to default or create a new dialing plan. When creating a new dialing plan don't forget to go back to the skype extension and change the dialing plant into the one you now created.

 

either way dafault of new dialing plan.

 

add dial rule.

 

if the number starts with: 8

remove digits: 1

dial on line: (select your skype line here)

 

Above dailplant is for people using regular touchtochtone phones without display. Whenever you dial 8 and after that the skype speed dial number you will be connected.

 

You can also add the following option:

 

add dial rule.

 

if the number starts with: skype_

remove digits: 6

dial on line: (select your skype line here)

 

this means whenever you type skype_ and after that the skype name or skype speed dial number you will be connected.

Link to comment
Share on other sites

  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...