Jump to content

Asterisk, Uplink + Skype Nearly Done


Recommended Posts

I have nearly got this working, I can make a call from my Cisco 7970 phone to a landline by dialling the following: 8 00 then the number, what I’m trying to do is assign a short code so I do not have to dial the full number all the time, could you take a look at my settings and let me know what I need to change please

 

I created a Trunk called SIP/uplink with the following settings: -

 

Outgoing Settings:

Trunk Name = uplink

 

Peer Details:

allow=all

caninvite=yes

canreinvite=yes

context=extensions

host=dynamic

insecure=very

nat=yes

secret=uplink

type=peer&friend

username=uplink

 

Incoming Settings:

User Context: 103

 

User Details:

allow=all

callerid="Incoming Skype"

caninvite=yes

canreinvite=yes

context=ext-queues

host=dynamic

insecure=very

nat=yes

secret=uplink

type=friend

username=uplink

 

Registration String

username:password@192.168.3.6/103

 

 

I have created an Incoming Route called skype@192.168.3.6 with the following settings

 

DID Number: skype@192.168.3.6

Set Destination:

Core – Cisco 7970 (103)

 

I have created Outbound Route called uplink with the following settings:

 

Dial Pattern

8|X.

 

Trunk Sequence

SIP/uplink

 

 

I have added the following to my extensions_custom.conf

 

exten => 1977,1,Macro(Uplink,username)

exten => 1977,hint,SIP/1977

exten => 1978,1,Macro(Uplink,landlinenumber)

exten => 1978,hint,SIP/1978

 

and the following to my extensions_additional.conf

 

[outrt-002-uplink]

include => outrt-002-uplink-custom

exten => _8X.,1,Macro(dialout-trunk,2,${EXTEN:1},,)

exten => _8X.,n,Macro(outisbusy,)

 

And to my extensions.conf

 

[macro-Uplink]

exten =>s,1,Dial(SIP/${ARG1}@103,60)

exten =>s,2,Congestion

 

If I dial 81977 or 81978 my phone dials out and I get a ringing tone but the phones at the other end do not ring

 

Hope you can help

 

Martyn

Link to post
Share on other sites

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...