From 6pm (NZ time) join us in our chat page to listen to the NZTechPodcast live recording.

Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.



6 posts

Wannabe Geek


Topic # 83080 10-May-2011 10:02 Send private message

Hi

I have just switched to OpenVFX and was able to get my Android Nexus S receiving and making calls but when I try to use Asterisk I get a voice message saying "the number you have dialed is not in service"

It appears to be registered correctly (looks the same as my Android) - Tried also with my Linksys WAG54GP2 with no success - I have also now locked myself out of the voice menus :( but managed at least to disable the phone line.


Here is my sip.conf settings:


[general]

;; VFX settings
disallow=all
allow=ulaw
allow=alaw
registertimeout = 20
regseconds = 180
register=4nnnnnn:PPPPPPPPPPPPPP:UUUUUUUUUUUUUU@pan.wxnz.net/4nnnnnn

 
[VFX]

type=peer
fromdomain=as.wxcnz.net
fromuser=4nnnnnnn ; this is your VFX Number without the leading 0 i.e. 9950XXXX
host=pan.wxnz.net
insecure=invite,port
canreinvite=no
nat=yes
secret=PPPPPPPPPPPPPPPPPPPP
defaultuser=UUUUUUUUUUUUUUUUUU




CLI> sip show peers
Name/username Host Dyn Forcerport ACL Port Status
VFX/UUUUUUUUUUUUUUUUUU 58.28.20.150 N 5060 Unmonitored
android/android 192.168.1.12 D A 36322 Unmonitored
CLI> sip show registry
Host dnsmgr Username Refresh State Reg.Time
pan.wxnz.net:5060 N 4nnnnnnn 285 Registered Tue, 10 May 2011 09:56:40
1 SIP registrations.


And on myvfx:

Endpoint Type: Primary
Line/Port: 4nnnnnnn@xport.co.nz
Identity/Device Profile Name: JACOTT1_GENERICSIP ( Group )
URI: sip:4nnnnnnn@10.64.1.50:5060;rinstance=4dc85d4b3a6ad8a3;transport=udp Expiration: Tue May 10 12:34:55 NZST 2011


Any help much appreciated

Geoff


 



Create new topic
3442 posts

Uber Geek

Trusted
WorldxChange

  Reply # 467433 10-May-2011 10:21 Send private message

I only see 2 calls from your number and they are both to our 0800123123 number and where successful, so it looks like you are not send ing the calls, this would indicate a dialplan issue




Yes I am a employee of WxC (My Profile) ... but I do have my own opinions as well Wink

WxC          XNet      



6 posts

Wannabe Geek


  Reply # 467436 10-May-2011 10:26 Send private message

I have only been sending calls to 0800123123 for testing purposes. Outgoing calls work fine it is just incoming calls that don't.

Is that something to do with the dialplan? Here is what I have set up (BTW I am new to Asterisk)


[default]
....
exten=>4nnnnnn,1,Dial(SIP/android,20)


[users]
exten=>_XXXXXX.,1,Dial(SIP/VFX/${EXTEN})

16705 posts

Uber Geek

Moderator
Trusted
Biddle Corp
Subscriber

  Reply # 467437 10-May-2011 10:27 Send private message

Do you have an inbound call route set?

Do inbound calls actually hit your Asterisk box? You cal tell this by looking at the debug traffic.




*Need help configuring your Linksys ATA or IP Phones for New Zealand? Check my blog post



6 posts

Wannabe Geek


  Reply # 467439 10-May-2011 10:31 Send private message

No the calls don't appear to be hitting the asterisk server. I don't know "what an inbound call route" is.

Thanks for your help.



6 posts

Wannabe Geek


  Reply # 467444 10-May-2011 10:46 Send private message

I think I've got it working:


[VFX]
exten=>4nnnnnnn,1,Dial(SIP/python,20)

3442 posts

Uber Geek

Trusted
WorldxChange

  Reply # 467445 10-May-2011 10:47 Send private message

arg okay... looks to be okay now




Yes I am a employee of WxC (My Profile) ... but I do have my own opinions as well Wink

WxC          XNet      



6 posts

Wannabe Geek


  Reply # 467447 10-May-2011 10:49 Send private message

Next Question:

Is there anyway to restore my linksys config so that I can configure the voice settings? Also can I connect the Linksys phone lines to my asterisk server?

Thanks

Geoff

16705 posts

Uber Geek

Moderator
Trusted
Biddle Corp
Subscriber

  Reply # 467704 10-May-2011 18:41 Send private message

Linksys box will register fine to Asterisk as extensions.




*Need help configuring your Linksys ATA or IP Phones for New Zealand? Check my blog post

Create new topic
Twitter »
Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when new jobs are posted to our jobs board:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:




News »

Trending now »
Hot discussions in our forums right now:

$200 Smart Phone!? Ideas..
Created by antaeusa, last reply by Hammerer on 20-May-2013 23:48 (19 replies)
Pages... 2


A new project coming to Geekzone
Created by freitasm, last reply by hamish225 on 20-May-2013 23:08 (211 replies)
Pages... 13 14 15


HTC One (2013) owners' discussion
Created by Dingbatt, last reply by bradstewart on 20-May-2013 22:40 (1471 replies)
Pages... 97 98 99


Vodafone Naked Broadband Speeds (Auckland CBD)
Created by wscalioni, last reply by grkiwi on 20-May-2013 21:13 (14 replies)

Sitting on a boring conference call
Created by SaltyNZ, last reply by SepticSceptic on 17-May-2013 16:52 (14 replies)

A reason not to shop at dick smith
Created by dsnz1, last reply by eXDee on 20-May-2013 20:41 (86 replies)
Pages... 4 5 6


Porting landline number away from Telecom
Created by dasimpsonsrule, last reply by coffeebaron on 20-May-2013 19:41 (12 replies)

Samsung Galaxy SIII Discussion and Owners Thread
Created by networkn, last reply by jeffnz on 20-May-2013 17:54 (5527 replies)
Pages... 367 368 369



Geekzone Jobs »
Most recent NZ jobs in technology:

Proven Automation Test Analyst
Posted 20-May-2013 22:27

Artistic UI Developer
Posted 20-May-2013 22:27

Commercial Automation Tester
Posted 20-May-2013 22:27

Skilled Java Developer
Posted 20-May-2013 22:27

Dedicated Java Developer/ Technical lead
Posted 20-May-2013 22:27

Artistic PHP Developer
Posted 20-May-2013 22:27

Excellent UI/UX Developer
Posted 20-May-2013 22:27


Geekzone Live »
Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.

Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.