dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

20159 Commits

Author SHA1 Message Date
twilson b730dd07d2 Don't try to ref authpeer when it isn't set
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@275816 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-12 23:27:42 +00:00
rmudgett fb9f65d2ff Add which ITU spec specifies the numbering plan.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@275725 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-12 17:54:46 +00:00
jpeeler 28092cb5d2 Merged revisions 275665 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r275665 | jpeeler | 2010-07-12 11:58:39 -0500 (Mon, 12 Jul 2010) | 11 lines
  
  Change ast_write to not stop generator when called from ast_prod.
  
  For SIP channels configured with the progressinband option on, the ringback was
  being immediately stopped. This problem was due to ast_prod being moved for a
  deadlock fix in 259858. Prodding the channel after setting up the generator
  triggered the check in ast_write to stop the generator. The fix here should
  write the frame the same as was done before the call to ast_prod was moved.
  
  (closes issue #17372)
  Reported by: tech_admin
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@275682 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-12 17:21:01 +00:00
lmadsen fe292142cb cdr_pgsql does not detect when a table is found.
This change adds an ERROR message to let you know when a failure exists to
get the columns from the pgsql database, which typically means that the
table does not exist.

(closes issue #17478)
Reported by: kobaz
Patches:
      cdr_pgsql.patch uploaded by kobaz (license 834)
Tested by: kobaz, russell, lmadsen

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@275626 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-12 15:37:01 +00:00
mmichelson 360d75f8ea Allow netsock2.c to compile on systems that do not define AI_NUMERICSERV.
(closes issue #17617)
Reported by: pprindeville
Patches: 
      asterisk-trunk-bugid17617.patch uploaded by pprindeville (license 347)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@275587 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-12 14:55:23 +00:00
transnexus 656fa9ad75 Added support for indirect work mode.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@275551 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-12 04:16:18 +00:00
eliel 74360b0fee When creating a conference for a unit test, it is not mandatory to open a
dahdi pseudo channel, so if we fail doing it, continue creating the conference.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@275509 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-10 20:49:30 +00:00
russell f9574fef71 Make indentation consistent, move some queue features to the queue section.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@275467 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-10 14:48:03 +00:00
russell 58b2e382ac Add support for devices with less than 3 lines on the LCD.
(closes issue #17600)
Reported by: minaguib
Patches:
      ast_unistim_height_v2.patch uploaded by minaguib (license 1078)
Tested by: minaguib


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@275466 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-10 14:44:18 +00:00
russell 0e4fb31934 Fix some issues related to dynamic feature groups in features.conf.
The bridge handling code did not properly consider feature groups when setting
parameters that would affect whether or not a native bridge would be attempted.
If DYNAMIC_FEATURES only include a feature group, a native bridge would occur
that may prevent features from working.

Fix a bug in verbose output that would show the key mapping as empty if it was
using the default mapping and not a custom mapping in the feature group.

Add feature groups to the output of "features show".

Adjust the feature execution logic to match that of the logic when executing
a feature that was not configured through a feature group.

Update features.conf.sample to show that an '=' is still required if using
the default key mapping from [applicationmap].

Finally, clean up a little bit of formatting to better coform to coding
guidelines while in the area.

(closes issue #17589)
Reported by: lmadsen
Patches:
      issue_17589.rev4.txt uploaded by russell (license 2)
Tested by: russell, lmadsen


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@275424 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-09 21:57:21 +00:00
mmichelson e8220c1f87 Fix error in parsing SIP registry strings from ASTdb.
It was essentially an off-by-one error. The easiest way
to fix this was to use the handy-dandy AST_NONSTANDARD_RAW_ARGS
macro to parse the pieces of the registration string out. Tested
and it works wonderfully.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@275385 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-09 20:58:52 +00:00
tilghman af4ffb86d0 Get more information about the Bamboo test failures
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@275312 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-09 20:01:01 +00:00
russell 43dbac8065 Add missing ao2_iterator_destroy().
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@275310 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-09 19:58:06 +00:00
russell e3b0b4d526 Fix compile error.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@275309 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-09 19:56:41 +00:00
mmichelson 37a3a2b16c Fix port parsing in check_via.
If a Via header contained an IPv6 address, we would not properly parse
the port. We would instead get the information after the first colon in
the address.

(closes issue #17614)
Reported by: oej
Patches: 
      diff uploaded by sperreault (license 252)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@275308 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-09 19:46:20 +00:00
pabelanger 55883ed37f Include rdnis in msgXXXX.txt file.
(closes issue #17566)
Reported by: outcast
Patches:
      voicemail-rdnis.patch uploaded by outcast (license 1071)
Tested by: outcast


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@275307 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-09 19:32:47 +00:00
mmichelson d9f8bc811a Fix an issue where the port for p->ourip was being set to 0.
This should fix all the CDR tests that were not passing. When they would
originate a call, all fields in the INVITE that contained the source port would
have the port set to 0. Most troubling of these was the Contact header. Tests
are passing locally now and should also pass on the bamboo build agents.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@275294 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-09 19:29:30 +00:00
pabelanger 9f5f8c4af1 Merged revisions 275241 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r275241 | pabelanger | 2010-07-09 15:20:00 -0400 (Fri, 09 Jul 2010) | 8 lines
  
  Fix logging message for stale nonce.
  
  (closes issue #17582)
  Reported by: kenner
  Patches:
        chan_sip.c.diff uploaded by kenner (license 1040)
  Tested by: lmadsen
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@275249 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-09 19:21:27 +00:00
tilghman d42a4ac704 Weird, no output and Bamboo still fails...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@275227 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-09 18:55:02 +00:00
mnicholson 14c37061ed Merged revisions 275182 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r275182 | mnicholson | 2010-07-09 13:23:23 -0500 (Fri, 09 Jul 2010) | 2 lines
  
  give a better error message when attempting to unload a module that is not loaded
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@275186 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-09 18:24:03 +00:00
tilghman 801b8efe65 Add some diagnostic feedback to our data tests
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@275172 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-09 18:21:39 +00:00
russell 31e5c38651 Move parking lot sample config out from the middle of dynamic features sample config.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@275147 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-09 18:11:13 +00:00
mnicholson 1ba99dfa99 Merged revisions 275143 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r275143 | mnicholson | 2010-07-09 12:50:05 -0500 (Fri, 09 Jul 2010) | 2 lines
  
  don't unload modules that returned AST_MODULE_LOAD_DECLINE when they were loaded
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@275144 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-09 17:50:45 +00:00
tilghman cc07f75cb0 Kill some startup warnings and errors and make some messages more helpful in tracking down the source.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@275105 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-09 17:00:22 +00:00
mmichelson 1c8d9745b8 Return logic of sip_debug_test_addr() to its original functionality.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@275104 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-09 16:39:16 +00:00
mnicholson 0509932d41 Merged revisions 275027 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r275027 | mnicholson | 2010-07-09 11:04:21 -0500 (Fri, 09 Jul 2010) | 8 lines
  
  Clear the AST_CDR_FLAG_DIALED flag for channels going into the pbx via the G option in app_dial
  
  (closes issue #17592)
  Reported by: jamicque
  Patches:
        G-flag-cdr-fix1.diff uploaded by mnicholson (license 96)
  Tested by: jamicque, mnicholson
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@275028 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-09 16:05:58 +00:00
russell 0489f825d4 Merged revisions 275021 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r275021 | russell | 2010-07-09 10:33:08 -0500 (Fri, 09 Jul 2010) | 4 lines
  
  Document that a leading and trailing slash is expected for test categories.
  
  Also, emit a warning if a test is registered without one of these.
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@275022 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-09 15:35:53 +00:00
mmichelson 6798462428 Fix sip_uri_parse test comparison.
Part of the change with the IPv6 changes is to treat a host:port as
a single 'domain' entity. This test was not updated to have the correct
expectation after calling parse_uri().



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@274984 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-09 14:27:07 +00:00
simon.perreault 61bb681575 Copy the address into the peer structure after we set the default port
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@274947 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-09 13:30:37 +00:00
simon.perreault e0a1ff82c6 Sadly we can't dereference a pointer cast and use it as an lvalue without getting this
warning (at least with gcc 4.4.4):

netsock2.c:492: warning: dereferencing pointer ‘({anonymous})’ does break strict-aliasing rules

So we're back to using memcpy()...


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@274909 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-09 12:56:18 +00:00
russell 2178f23376 Extend length limit on country name in indications.conf.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@274907 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-09 12:48:25 +00:00
oej 668fe85731 Make it possible to disable individual cdr files per accountcode in cdr_csv
Review: https://reviewboard.asterisk.org/r/678/


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@274866 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-09 11:06:19 +00:00
rmudgett b502005acd Fix calls of ast_sockaddr_from_sin() from IPv6 integration.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@274828 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-08 23:46:20 +00:00
rmudgett 90a1e4acd5 Fix compile of chan_ooh323.c from IPv6 integration.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@274827 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-08 23:23:17 +00:00
mmichelson d67528d156 And the automerge property.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@274786 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-08 22:16:16 +00:00
mmichelson 26bba5f605 Delete properties I merged during v6-new merge.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@274785 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-08 22:15:25 +00:00
mmichelson c3c2e5edfd Add IPv6 to Asterisk.
This adds a generic API for accommodating IPv6 and IPv4 addresses
within Asterisk. While many files have been updated to make use of the
API, chan_sip and the RTP code are the files which actually support
IPv6 addresses at the time of this commit. The way has been paved for
easier upgrading for other files in the near future, though.

Big thanks go to Simon Perrault, Marc Blanchet, and Jean-Philippe Dionne
for their hard work on this.

(closes issue #17565)
Reported by: russell
Patches: 
      asteriskv6-test-report.pdf uploaded by russell (license 2)

Review: https://reviewboard.asterisk.org/r/743



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@274783 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-08 22:08:07 +00:00
rmudgett af344f1a5b Generate a correct AstData string for ast_callerid.cid_ton
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@274782 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-08 22:05:40 +00:00
rmudgett dcbe1117e6 Fix trunk compile.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@274773 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-08 19:12:55 +00:00
eliel 7a61a43adb Implement AstData API data providers as part of the GSOC 2010 project,
midterm evaluation.

Review: https://reviewboard.asterisk.org/r/757/



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@274727 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-08 14:48:42 +00:00
dvossel f28601a4b0 Fixes some ref count issues introduced by r274539
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@274686 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-07 20:09:00 +00:00
rmudgett 8ac1bfd0eb Add missing conditional around chan_dahdi mfcr2_skip_category config parameter.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@274639 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-07 18:32:35 +00:00
rmudgett adb9ff9648 Merged revisions 274579 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r274579 | rmudgett | 2010-07-07 13:12:41 -0500 (Wed, 07 Jul 2010) | 1 line
  
  Close the DAHDI FD on error when processing chan_dahdi toneduration config parameter.
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@274595 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-07 18:20:00 +00:00
mnicholson dc4e599ca9 Set proper FAXOPT(status), FAXOPT(statusstr), and FAXOPT(error) values where possible. Previously some failure cases did not result in proper FAXOPT values.
FAX-203


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@274540 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-07 16:40:19 +00:00
mmichelson 4b5d5d4cae Use the relatedpeer field of a sip_pvt during INVITE processing.
Review: https://reviewboard.asterisk.org/r/629



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@274539 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-07 16:21:53 +00:00
transnexus c0c88c524e Changed OSP TCP port from 1080 to 5045.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@274492 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-07 07:07:08 +00:00
tilghman 8f4a9c0573 Also run the externnotify script when the pollmailboxes thread notices a change.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@274491 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-07 06:32:39 +00:00
tilghman 40f8c640e6 Merged revisions 274417 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r274417 | tilghman | 2010-07-07 01:13:54 -0500 (Wed, 07 Jul 2010) | 8 lines
  
  Correct how 100, 200, 300, etc. is said.  Also add the crazy British numbers.
  
  (closes issue #16102)
   Reported by: Delvar
   Patches: 
         say.conf.fix.patch uploaded by Delvar (license 908)
         (plus a few additional fixes and simplifications by me)
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@274418 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-07 06:15:43 +00:00
jpeeler 4d488cc472 Merged revisions 274283 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r274283 | jpeeler | 2010-07-06 17:15:21 -0500 (Tue, 06 Jul 2010) | 7 lines
  
  Correct sip.conf.sample comments for prematuremedia option.
  
  (closes issue #17513)
  Reported by: festr
  Patches: 
        patch uploaded by festr (license 443)
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@274316 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-06 22:23:35 +00:00
twilson b14830b301 Merged revisions 274280 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r274280 | twilson | 2010-07-06 17:08:20 -0500 (Tue, 06 Jul 2010) | 9 lines
  
  Add option to not do a call forward on 482 Loop Detected
  
  Asterisk has always set up a forwarded call when receiving a 482 Loop Detected.
  This prevents handling the call failure by just continuing on in the dialplan.
  Since this would be a change in behavior, the new option to disable this
  behavior is forwardloopdetected which defaults to 'yes'.
  
  Review: https://reviewboard.asterisk.org/r/764/
........

(no option for trunk, just changing the behavior)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@274284 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-06 22:15:27 +00:00