Jump to content

Uplink to sip


Recommended Posts

  • 2 weeks later...
Asterisk is giving this error message:

 

Mar 16 10:24:37 WARNING[557]: chan_sip.c:5284 check_via: '' is not a valid host

Mar 16 10:24:37 WARNING[557]: chan_sip.c:4511 parse_contact: Invalid host ''

 

Not sure how you have setup your skype2sip Uplink or asterisk but below is an example of what works for me:

 

Skype 2.0, Windows XP Pro/SP2

Uplink downloaded 4/21/2006

Asterisk 1.2.6 (Running on a mac-mini with OS X Tiger 10.4.5 )

 

On Uplink sip setup:

username: 5506, passwd: xxxxxxx

Send to username: GROUP (main [incoming] call group on asterisk)

 

;Asterisk configuration for Uplink skype2sip

;sip.conf

 

[5506]

username=5506

host=dynamic

nat=yes

secret=xxxxxxx

allow=all

type=friend

insecure=very

context=extensions

canreinvite=yes

caninvite=yes

callerid="Incoming Skype"<206-555-1212>

 

;extensions.conf

 

[incoming]

 

exten => GROUP,1,NoOp(Call from: ${CALLERIDNAME} => ${CALLERIDNUM}))

exten => GROUP,2,Dial(${DIALIN1},20,r) ; DIALIN1 is a list of extensions to ring

exten => GROUP,3,Voicemail(u101) ; main voicemain for office

exten => GROUP,4,Hangup

 

 

[dialout]

exten => _001XXXXXXXXXX,1,Macro(UpLink,${EXTEN}) ;for skype-out numbers from pbx

 

[macro-UpLink]

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

exten => s,2,Congestion

 

[extensions]

 

;friends on skype that I can call from regular old phone on the pbx

exten => 1977,1,Macro(UpLink,myskypebuddy)

exten => 1976,1,Macro(UpLink,mymomskyer)

Link to comment
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...