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.




573 posts

Ultimate Geek
+1 received by user: 3

Trusted

Topic # 12816 7-Apr-2007 15:07
Send private message

Hi all,

I'm after a little assistance, previously (before Asterisk 1.2) my italk config worked fine. However, since installing asterisk 1.2, I can make outgoing calls fine, but incoming calls go straight to the italk voicemail instead of being passed to my asterisk box.

The config I have is:

for sip.conf (and yes, it's on port 5070 not 5060):

[general]
bindport=5070
externip=60.234.145.xxx
localnet=192.168.1.0/255.255.255.0
localnet=192.168.61.0/255.255.255.0
context=internal
useragent=blah
register => 649974XXXX:passowrd@akl.italk.co.nz:5060/140

for extensions.conf:

[internal]
exten => 140,1,Dial(SIP/140,30,r)


Can anyone tell me which parts are wrong?

Thanks in advance :)


Create new topic
27254 posts

Uber Geek
+1 received by user: 6688

Moderator
Trusted
Biddle Corp
Lifetime subscriber

  Reply # 66537 7-Apr-2007 15:29
Send private message

What trunk settings are you using for iTalk in sip.conf?




573 posts

Ultimate Geek
+1 received by user: 3

Trusted

  Reply # 66538 7-Apr-2007 15:31
Send private message

Here's the output from DEBUG when a call comes in, so it looks like the call _IS_ getting to the asterisk box:

Apr  7 15:30:00 DEBUG[12742]: acl.c:211 ast_apply_ha: ##### Testing 203.184.16.2 with 192.168.1.0
Apr  7 15:30:00 DEBUG[12742]: acl.c:211 ast_apply_ha: ##### Testing 203.184.16.2 with 192.168.61.0
Apr  7 15:30:00 DEBUG[12742]: chan_sip.c:1127 ast_sip_ouraddrfor: Target address 203.184.16.2 is not local, substituting externip
Apr  7 15:30:00 DEBUG[12742]: chan_sip.c:7263 check_user_full: Setting NAT on RTP to 524288
Apr  7 15:30:00 DEBUG[12742]: chan_sip.c:10532 handle_request_invite: Checking SIP call limits for device 649974XXXX
Apr  7 15:30:00 DEBUG[12742]: chan_sip.c:1410 __sip_ack: Stopping retransmission on '70224-3384905396-479914@mscak1' of Response 1: Match Found                      

 
 
 
 




573 posts

Ultimate Geek
+1 received by user: 3

Trusted

  Reply # 66539 7-Apr-2007 15:32
Send private message

sbiddle: What trunk settings are you using for iTalk in sip.conf?



[italk-akl]
username=649974XXXX
secret=password
fromuser=649974XXXX
context=incoming
host=akl.italk.co.nz
canreinvite=no
nat=yes
insecure=port,invite
type=peer



573 posts

Ultimate Geek
+1 received by user: 3

Trusted

  Reply # 66540 7-Apr-2007 15:33
Send private message

heh - wrong context. Oops :P working now, thanks sbiddle Embarassed

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 tech item prices are listed in our price comparison site:



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.