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.



18 posts

Geek
+1 received by user: 2


Topic # 108722 4-Sep-2012 13:11 Send private message

HI
I would appreciate a hand with my settings.

I have no incoming call but outgoing works.

Free pbx distro with asterisk 1.8.13.0

This is behind a pfsense firewall with ports natted through and have another sip trunk with another provider working fine.

trunk settings under peer details:

disallow=all
type=peer
context=from-trunk-dvx
fromuser=995xxxxx
host=pan.wxnz.net
insecure=invite,port
canreinvite=no
nat=yes
secret=Pxxxxxxxxxxx
username=wxxxxxxxxx
fromdomain=as.wxcnz.net
dtmfmode=rfc2833
allow=ulaw&alaw
registertimeout=20
regseconds=180
if i debug the peer i get:

Reliably Transmitting (NAT) to 58.28.20.150:5060:
REGISTER sip:pan.wxnz.net SIP/2.0
Via: SIP/2.0/UDP 58.28.x.x:5060;branch=z9hG4bK7522ae49;rport
Max-Forwards: 70
From: <sip:[email protected]>;tag=as0fabdfa7
To: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 107 REGISTER
User-Agent: FPBX-2.10.0(1.8.13.0)
Authorization: Digest username="wxxxxxxxxxx", realm="xport.co.nz", algorithm=MD5, uri="sip:pan.wxnz.net", nonce="BroadWorksXh6o9r51uTvk5pw6BW", response="axxxxxxxxxxx", qop=auth, cnonce="693a2ff6", nc=00000005
Expires: 120
Contact: <sip:[email protected]:5060>
Content-Length: 0


---


SIP/2.0 200 OK
From: <sip:[email protected]>;tag=as0fabdfa7
To: <sip:[email protected]>;tag=775053191-1346720194728
Call-ID: [email protected]
CSeq: 107 REGISTER
Via: SIP/2.0/UDP 58.28.x.x:5060;received=58.28.131.98;branch=z9hG4bK7522ae49;rport=4269
Contact: <sip:[email protected]:5060>;q=0.5;expires=300
Allow-Events: call-info,line-seize,dialog,message-summary,as-feature-event,x-broadworks-hoteling,x-broadworks-call-center-status
Expires: 300
Content-Length: 0


--- (10 headers 0 lines) ---
Scheduling destruction of SIP dialog '[email protected]' in 32000 ms (Method: REGISTER)
[2012-09-04 12:56:34] NOTICE[3860]: chan_sip.c:20755 handle_response_register: Outbound Registration: Expiry for pan.wxnz.net is 300 sec (Scheduling reregistration in 285 s)
Really destroying SIP dialog '[email protected]' Method: REGISTER

Any help would be greatly appreciated. 
Chrs

Create new topic
172 posts

Master Geek

Trusted

  Reply # 681304 4-Sep-2012 13:19 Send private message

Hi Chris,

PM me your phone number and i'll have a look at what we see from this end.




Nicholas Cuc

Network Support
WorldxChange Communications
www.xnet.co.nz



172 posts

Master Geek

Trusted

  Reply # 681321 4-Sep-2012 13:56 Send private message

Hi Chris,

Looked into this one some more and can see we are getting a timeout on the invite after 8secs. Would appear to be a firewall issue, either you are not getting the invite or we are not getting your response.




Nicholas Cuc

Network Support
WorldxChange Communications
www.xnet.co.nz





18 posts

Geek
+1 received by user: 2


  Reply # 681391 4-Sep-2012 16:47 Send private message

Sorry was out of office for a bit.
Wow thanks that was quick Smile

Thanks will stop trunk for now and check out firewall and iptables and see if i can nut it out.

much appreciated will report back.




18 posts

Geek
+1 received by user: 2


  Reply # 682668 7-Sep-2012 08:58 Send private message

Some feed back for any others that may run into an issue with PFsense 2.01 and multiple sip trunks to different ITSP's
Appears the pfsense was dropping the sessions and could be observed in Diagnostic: Show State.

I changed the following and it appears to be working:

1. ChangedFirewall Optimization Options to conservative - System: Advanced:Firewall and Nat
2. Inbound nat rule for RTP ports
3. No inbound nat rule for 5060
4. Outbound nat rule for the internal ip to our specific wan nat address with static option ticked.

wan 10.x.x.x/31 * * * 58.28.1xx.xx * yes Voice outbound

remember to clear state after changes.

So far so good Smile

Thanks for your help
Chrs


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:




News »

Trending now »
Hot discussions in our forums right now:

Does acupuncture work?
Created by timmmay, last reply by geekiegeek on 30-Jul-2014 13:48 (27 replies)
Pages... 2


Logitech K400r HTPC Cordless Keyboard Half Price
Created by Dynamic, last reply by Blanch on 28-Jul-2014 22:16 (25 replies)
Pages... 2


2010 Honda Jazz, Suzuki Swift - which has higher maintenance cost?
Created by joker97, last reply by joker97 on 30-Jul-2014 17:40 (65 replies)
Pages... 3 4 5


Checking UHF aerial is working
Created by OnceBitten, last reply by B1GGLZ on 28-Jul-2014 21:49 (21 replies)
Pages... 2


2 x PS4s to give away. Geekzone members only.
Created by BigPipeNZ, last reply by dineshnaik on 30-Jul-2014 18:18 (58 replies)
Pages... 2 3 4


VF, why you lie to me?
Created by kenkeniff, last reply by johnr on 30-Jul-2014 12:27 (54 replies)
Pages... 2 3 4


Hierarchy of a mistake: Gerry Brownlee
Created by joker97, last reply by DonGould on 29-Jul-2014 21:57 (93 replies)
Pages... 5 6 7


"keyless" keys - questions
Created by joker97, last reply by joker97 on 30-Jul-2014 10:39 (34 replies)
Pages... 2 3



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.