netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Philip Prindeville <philipp_subx@redfish-solutions.com>
To: Patrick McHardy <kaber@trash.net>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: More nf_conntrack_sip questions
Date: Fri, 05 Dec 2008 10:00:45 -0800	[thread overview]
Message-ID: <49396C4D.7020400@redfish-solutions.com> (raw)
In-Reply-To: <493954ED.9070002@trash.net>

Patrick McHardy wrote:
> Philip Prindeville wrote:
>> I did a little investigation into my one-way voice issue, and noticed 
>> that if I don't do voice-menus (i.e. where the Asterisk box itself 
>> generates the first outbound INVITE, then passes-through the 2nd 
>> INVITE once a handset picks up) then I get two-way voice (i.e. with 
>> sending the call directly to the phone).  (In this topology, my 
>> Asterisk box is also my firewall/NATting router...)
>>
>> If I enable the voice menus in the inbound dialplan, however, it can 
>> hear the voice menus, but not the called-party when they pick up 
>> their phone (extension).
>>
>> So someone (either the SIP conntrack module on the Asterisk border 
>> firewall or else the SBC at the ILEC) is failing to look into the 2nd 
>> INVITE (i.e. we're not rewriting it properly as it goes by, or the 
>> SBC is failing to see it).
>
>
> What module options are you using for the SIP helper and how is call
> setup in asterisk configured (directrtpsetup, canreinvite, ...)?
>

For the PSTN's switch:

pbx*CLI> sip show peer sip_proxy
pbx*CLI> 

  * Name       : sip_proxy
  Secret       : xxxx
  MD5Secret    : <Not set>
  Context      : ctc-incoming
  Subscr.Cont. : <Not set>
  Language     : 
  AMA flags    : Unknown
  Transfer mode: open
  CallingPres  : Presentation Allowed, Not Screened
  Callgroup    : 
  Pickupgroup  : 
  Mailbox      : 
  VM Extension : asterisk
  LastMsgsSent : 32767/65535
  Call limit   : 0
  Dynamic      : No
  Callerid     : "" <>
  MaxCallBR    : 384 kbps
  Expire       : -1
  Insecure     : no
  Nat          : RFC3581
  ACL          : No
  T38 pt UDPTL : No
  CanReinvite  : Yes
  PromiscRedir : No
  User=Phone   : No
  Video Support: No
  Trust RPID   : No
  Send RPID    : No
  Subscriptions: Yes
  Overlap dial : No
  DTMFmode     : rfc2833
  LastMsg      : 0
  ToHost       : 66.232.80.9
  Addr->IP     : 66.232.80.9 Port 5060
  Defaddr->IP  : 0.0.0.0 Port 0
  Def. Username: 
  SIP Options  : (none)
  Codecs       : 0x6 (gsm|ulaw)
  Codec Order  : (ulaw:20,gsm:20)
  Auto-Framing:  No 
  Status       : Unmonitored
  Useragent    : 
  Reg. Contact : 

pbx*CLI> 

For the phone:

pbx*CLI> sip show peer office_1
pbx*CLI> 

  * Name       : office_1
  Secret       : <Set>
  MD5Secret    : <Not set>
  Context      : redfish-internal
  Subscr.Cont. : <Not set>
  Language     : 
  AMA flags    : Unknown
  Transfer mode: open
  CallingPres  : Presentation Allowed, Not Screened
  Callgroup    : 
  Pickupgroup  : 
  Mailbox      : 112@redfish,xxxx
  VM Extension : voicemail
  LastMsgsSent : 0/0
  Call limit   : 0
  Dynamic      : Yes
  Callerid     : "Redfish Solutions" <112>
  MaxCallBR    : 384 kbps
  Expire       : 1780
  Insecure     : no
  Nat          : Always
  ACL          : No
  T38 pt UDPTL : No
  CanReinvite  : Yes
  PromiscRedir : No
  User=Phone   : No
  Video Support: No
  Trust RPID   : No
  Send RPID    : No
  Subscriptions: Yes
  Overlap dial : No
  DTMFmode     : rfc2833
  LastMsg      : 0
  ToHost       : 
  Addr->IP     : 192.168.1.7 Port 5060
  Defaddr->IP  : 0.0.0.0 Port 5060
  Def. Username: office_1
  SIP Options  : (none)
  Codecs       : 0x6 (gsm|ulaw)
  Codec Order  : (ulaw:20,gsm:20)
  Auto-Framing:  No 
  Status       : OK (9 ms)
  Useragent    : Linksys/SPA942-5.1.15(a)
  Reg. Contact : sip:office_1@192.168.1.7:5060

pbx*CLI> 


  reply	other threads:[~2008-12-05 18:00 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-02 22:36 More nf_conntrack_sip questions Philip Prindeville
2008-12-05 16:21 ` Patrick McHardy
2008-12-05 18:00   ` Philip Prindeville [this message]
2008-12-05 18:07     ` Patrick McHardy
2008-12-05 18:08       ` Patrick McHardy
2008-12-05 18:10       ` Philip Prindeville
2008-12-05 18:13         ` Patrick McHardy
2008-12-05 18:16           ` Philip Prindeville
2008-12-05 18:19             ` Patrick McHardy
2008-12-05 18:32               ` Philip Prindeville
2008-12-05 18:39                 ` Patrick McHardy
2008-12-07  0:31                   ` Philip Prindeville
2008-12-07 16:06                     ` Patrick McHardy
2008-12-08  0:28                       ` Philip Prindeville

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49396C4D.7020400@redfish-solutions.com \
    --to=philipp_subx@redfish-solutions.com \
    --cc=kaber@trash.net \
    --cc=netfilter-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).